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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Klasovic7
New Member

y-axis

My problem is that on the y-axis only whole numbers should be displayed. If I set the decimal places to zero, a grid line with the value 1 is still displayed at 0.5.Bildschirmfoto 2023-07-05 um 10.49.19.png

4 REPLIES 4
Klasovic7
New Member

Hello @v-yanjiang-msft,

thank you for your answer.
However, I do not want decimal places to be displayed.
My chart is about the number of tickets and there are no 0.5 or 1.5 tickets. I want horizontal lines to be displayed only for integers.

Hi @Klasovic7 ,

Do you set the option "value decimal places" to 0? If so, the value 0.5 will be displayed as 1, it's by design.

If you don't want to display the dicimals, a workaroud is to increase the Maximum number of Y-axis range.

vyanjiangmsft_0-1688712064808.png

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-yanjiang-msft;

thank you also for this suggestion, however this does not work either because I cannot set a maximum because the number of tickets is different for each customer. The chart is filtered so that each customer can only see the number of tickets they have.
For example, one customer has 470 tickets, another only 2.

v-yanjiang-msft
Community Support
Community Support

Hi @Klasovic7 ,

I reproduced your problem, please check the visual format>Y-axis>Values>Value decimal places.

vyanjiangmsft_0-1688708578324.png

If the value is 0, replace it to 1 can solve the problem:

vyanjiangmsft_1-1688708876719.png

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors