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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
BenNorris
Frequent Visitor

Possible bug with chart y axis custom number formatting

Hi,

 

I think there might be a bug with the way custom number formatting is applied to chart y axes. I have some simple data ranging from -5000000 to 5000000 and I have applied the following number format to that column:

 

#,##0,,.0;(#,##0,,.0);-

 

When I put that data in a chart and set the y axis display units to 'none' (instead of auto) then I get the following chart - note the correct number formatting on the positive part of the axis but the incorrect format on the negative side:

 

ChartNumberFormatBug_1.JPGThe table below the chart shows the same data with the same number formatting just in a table (to illustrate that it works just fine there).

 

If I change the number format to the following then everything works ok, so it looks like it's something to do with the parenthesis in the number format:

 

#,##0,,.0;-#,##0,,.0;-

 

ChartNumberFormatBug_2.JPG

 

Is this expected behaviour? If so, what do I need to do to get my negative number format to work correctly in the chart (I need to use brackets for the negative values)? I don't want to use the display units setting as we don't want the 'M' next to the millions.

 

Thanks,

 

Ben

4 REPLIES 4
Anonymous
Not applicable

HI @BenNorris,

I test both two custom formats with simple data but I can't reproduce this on my side. What version for power bi desktop are you test? Can you please share the sample pbix file to test?

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Hi @Anonymous 

 

I'm using Version: 2.85.985.0 64-bit (September 2020)

 

Here's a link to an example file showing the issue:

 

https://drive.google.com/file/d/1uvygzsq33jwUkLG3hUp64n5-9GHZT9es/view?usp=sharing

 

Thanks for any help!

 

Ben.

Anonymous
Not applicable

HI @BenNorris,

This issue seems fixed on the version: 2.88.721.0 64-bit (December 2020)

10.png

Please update your desktop to the last version to confirm if this also works on your side.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @BenNorris,

Ok, I will report this scenario to power bi team and update here if I received any feedback or ETA.

Update:

This issue has been submitted at CRI 209504343.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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