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

bar Chart label formatting

We are facing some issue in controlling auto formatting for bar chart in our report created in power bi.

Please look at the screenshots to follow

 

Screen1.png

PBI is showing values as 0.75, 0.56M instead of showing them as 750k, 560k.screen2.png

 

PBI is showing values as expected.

 screen3.png

PBI showing values as 0.19bn instead of showing them as 191M

 

 

Please consider that values could range from thousands to billions so we cannot restrict them to have formatting as thousands always. Is there any way to restrict PBI from show these values as 0.75 (instead show them as 750k)?

OR To dynamically change chart level formatting option dynamically through API requests or some kind of parametrization to thousands when values are lesser than millions or to  millions when values are lesser than billion?

I have tried to create measure level formatting to conditionally select formatting which is showing my chart as blank since PBI convert the measure values into text format because of K or M in the format code.

 

Any suggestion would help!

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi shobhitgupta,

 

Please refer to this similar case: https://community.powerbi.com/t5/Service/How-do-you-change-the-data-label-number-format-in-Power-BI/....

 

Regards,

Jimmy Tao

Anonymous
Not applicable

@v-yuta-msft Hi I don't think the link you have mentioned is referring to the same problem.

In my scenario, i do not have a problem in automatically formatting values but with the results of automatic formatting which is changing my values of 500M to 0.5b.

Anonymous
Not applicable

Please let me know if this is possible to do in power bi at this point in time. Or if it is possible to achieve in some other way.

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.