cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Card Value formatted to display as a percent format

Good morning all,

 

New to PowerApps and the community.

 

I have an app linked to an Excel table. The excel tbl is formatting as a percent, but when I view the data point in my app (specifically in the card associated with it) the value displays as a decimal without the Percent (%) formatting.

 

Upon reviewing the help files and some post here I have tried the Value() and Text() formulas but no luck.

 

Anyone know how to display the value as it appears in excel?

 

Thanks Skip

4 REPLIES 4
Memorable Member
Memorable Member


@Anonymous wrote:

Good morning all,

 

New to PowerApps and the community.

 

I have an app linked to an Excel table. The excel tbl is formatting as a percent, but when I view the data point in my app (specifically in the card associated with it) the value displays as a decimal without the Percent (%) formatting.

 

Upon reviewing the help files and some post here I have tried the Value() and Text() formulas but no luck.

 

Anyone know how to display the value as it appears in excel?

 

Thanks Skip


 

I think your Excel is only viewing the percentage with the % sign and is actually stored as the decimal value. 

 

PowerApps doesn't mimic the formatting of an Excel cell that I'm aware of, you can always force the field to show up with a leading % symbol and then multiply your decimal by 100 to get the value correct.

 

Something like:

 

"%" & YourExcelValueHere * 100

There might be a better way to pull it off but that's my 2p.

Anonymous
Not applicable

JRaasumaa

 

I will try the formula.

 

Thanks Skip

Anonymous
Not applicable

Did it work? Could you show te exact formula you aplied to the card/table, to show de value as a percent


@Anonymous wrote:

JRaasumaa

 

I will try the formula.

 

Thanks Skip



?

This worked for me:

Text((numberField)*100,"#%")

 

but it puts the percentage there all the time, so I added

 

If(IsBlank(numberField),"",Text((numberField)*100,"#%"))

 

 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (10,813)