Notifications
Announcements
Hi All,I am pulling data from excel into powerapps gallery. I have one decimal colum with values like 0.2 , 0.02 etcMy user wants to see the decimal data in % in the gallery.I applied below formatting on the label. Only issue is that it is showing 0.0% even when data is blank in excel. How can I fix this?
Hi @dims12,
We can check whether the column is blank - if not we display the percentage value:
If( ThisItem.'colname' <> Blank(), Text(Value(ThisItem.'colname')*100,"#0.0%") )
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!
I tested this but it is still returning 0.0% for blank values
@LaurensM
@dims12
Did an additional test and you will have to check for literal empty string values:
If( ThisItem.'colname' <> "", Text(Value(ThisItem.'colname')*100,"#0.0%") )
Could you give the code above a try?
Thank you it worked.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268