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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nazishm
Regular Visitor

Fix y axis scale in Clustered column chart

I want to plot the average of all values on the Y-axis in the Clustered column chart. The average value is in Negative. 
But I want my chart to show even the positive axis, even though positive values aren't present.

This is how my chart is now. I need even positive axis to it.
Can anyone help me out with this.

nazishm_0-1669717635582.png

 

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @nazishm 

According to your requirement description, you want to realize that even if there are no positive values in the column chart, you want to display the range of positive values corresponding to negative values in the y axis, right?

If that's the case, you can try my method:

You can create a new measure to find the maximum value of the absolute value corresponding to the value field in your column chart:

Measure = ABS(MAXX(ALL('Table'),'Table'[Value]))

You can then place this newly created measure in the FX of the Y-axis Maximum of the Column Chart:

vyueyunzhmsft_0-1669773513553.pngvyueyunzhmsft_1-1669773521619.png

 

Then we can meet your need:

vyueyunzhmsft_2-1669773537165.png

Thank 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

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @nazishm 

According to your requirement description, you want to realize that even if there are no positive values in the column chart, you want to display the range of positive values corresponding to negative values in the y axis, right?

If that's the case, you can try my method:

You can create a new measure to find the maximum value of the absolute value corresponding to the value field in your column chart:

Measure = ABS(MAXX(ALL('Table'),'Table'[Value]))

You can then place this newly created measure in the FX of the Y-axis Maximum of the Column Chart:

vyueyunzhmsft_0-1669773513553.pngvyueyunzhmsft_1-1669773521619.png

 

Then we can meet your need:

vyueyunzhmsft_2-1669773537165.png

Thank 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

sudhav
Helper V
Helper V

You can cfreate a Calculate column, from negative to positive and keep positive as positive.

= each if [COLUMN] < 0 then [COLUMN] *-1 else [COLUMN] *1)

 

you can also use ABS dax function for measures to convert them into positive number for showcase purpose

sudhav_0-1669719120500.png

sudhav_1-1669719221384.png

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.