Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Format a New Measure into Percentage with 2 decimal places on a Line and Stacked Column Chart

See screenshot below. I created a new measure called NP% = (count('Scheduled and Arrived Appts'[New Patient Appts]) / count('Scheduled and Arrived Appts'[Appt Scheduled])) * 100. When that measure is put into a Line and Stacked Column chart, the data label shows too many decimal points. How can I get the data label to show only 2 decimal points?

 

Thanks in advance!

 

1 ACCEPTED SOLUTION

Instead of multiplying by 100, go to the data view, select your measure, then select the Modeling tab, then in the Formatting section, select the % icon, then select the # of digits,

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Screenshot went missing from my last post

 

formatting percentage in a a New Measure.jpg

 

 

 

 

 

 

Instead of multiplying by 100, go to the data view, select your measure, then select the Modeling tab, then in the Formatting section, select the % icon, then select the # of digits,

Thanks for this note -- Yep, in my case, the Format options were not available from Report View.

 

From Data View however, you just select the measure from the Fields Pane and -- viola -- the Format options are active 🙂

Anonymous
Not applicable

I think when you use visual e.g stack bar chart and choose format -> data label -> on

The % will show as well as actual figure.

Hope this works for you.

Anonymous
Not applicable

Is there any way to add a % sign to the data label?

 

Can I add % to the data label in Power BI?Can I add % to the data label in Power BI?

 

format data label in power bi.png

 

 

If you change the formatting as I specified above, the % sign will show up

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.