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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 221 Super User 2026 Season 2
WarrenBelz 188 Most Valuable Professional
Mohsin Ali 120