Forum Discussion
How to format % and text
- 3 years ago
Hi , AnaAlbano
According to your description, you want to custom your dara label in your visual.
For your need , you can use the new feature in Power BI Desktop, you can open it in the "Options->Preview features", if you do not have it , you need to update your Desktop version:
Then here are the steps you can refer to :
(1)This is my test data:I create a measure to show the percentage in the visual:
Percentage Measure = SUM('Table'[Value])(2)Then we can open the dynamic format for this measure:
Then we can put this in the dax box:IF([Percentage Measure]<0.01,"<1%","0%")Then we can meet your need , the result is as follows:For more information, you can refer to :
Create dynamic format strings for measures in Power BI Desktop - Power BI | Microsoft LearnThank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
My apologies I did not reply before! It did work 🙂 Thak you so much!