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
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (39,132)