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

Show a percentage from Sharepoint list

Hi, I have a calculated column (CompletionScore) in a sharepoint list that is formated as a number, to zero decimal places, and as a percentage.

 

I want to show it in Powerapp. I have tried:

Text=ThisItem.CompletionScore

 

but i just get 1.0000000000000 or 0.8666666666666

 

I have also tried:

Text=text(ThisItem.CompletionScore,"0%")

and have played around with the calculated column, changing it to a text formart, and also using Round, but i'm going in circles. I have control over the Sharepoint list and the calculatoin, so can change it if necessary.

 

Any help?

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Show a percentage from Sharepoint list

I revisted this problem this morning, and have found a solution:

 

Concatenate(Text(Round(Value(ThisItem.CompletionScore)*100,0),"[$-en-US]0"),"%")

 

It seems rather clunky, but it works. 

 

Thought I'd post in case someone else gets stuck like me.

3 REPLIES 3
Anonymous
Not applicable

Re: Show a percentage from Sharepoint list

I revisted this problem this morning, and have found a solution:

 

Concatenate(Text(Round(Value(ThisItem.CompletionScore)*100,0),"[$-en-US]0"),"%")

 

It seems rather clunky, but it works. 

 

Thought I'd post in case someone else gets stuck like me.

Highlighted
ShowMeTheAnswer
Level: Powered On

Re: Show a percentage from Sharepoint list

Where did you put that formula - it doesn't seem to work in my "Format" field?

Diogo
Level: Powered On

Re: Show a percentage from Sharepoint list

I didn´t understand where to insert the code. I have the same problem (see pic). I uploaded data from an excel table, and one of my columns have a percentage.

 

In the excel document the column is formated as percentage. But when i upload to the Powerapp, that specific column shows only decimals.Capturar.PNGFull tableImagem1.pngLeft (powerapp) is the value in decimal, uploaded from the right (excel) in percentage.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 4 members 4,782 guests
Recent signins:
Please welcome our newest community members: