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
@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.
JRaasumaa
I will try the formula.
Thanks Skip
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,"#%"))
User | Count |
---|---|
196 | |
124 | |
88 | |
48 | |
42 |
User | Count |
---|---|
280 | |
163 | |
138 | |
81 | |
76 |