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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (62,714)