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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ashamsuzzoha
Advocate II
Advocate II

How do I set the axis mininum to 0?

This is a just a bunch of zero values for this date range. Product manager doesn't want the axis to show negative values (no prediction should be negative). I've already set the  y-axis start value to 0 in the Format pane, but still getting the visual appearance below. Any way to fix this?

 

line chart.png

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @ashamsuzzoha ,

 

I reproduced your problem. I did a test: you need to set start and and for the y-axis. Then you can set the axis mininum to 0. 

vhenrykmstf_0-1626684221710.png

vhenrykmstf_1-1626684338513.png

 


Best Regards,
Henry


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

7 REPLIES 7
v-henryk-mstf
Community Support
Community Support

Hi @ashamsuzzoha ,

 

I reproduced your problem. I did a test: you need to set start and and for the y-axis. Then you can set the axis mininum to 0. 

vhenrykmstf_0-1626684221710.png

vhenrykmstf_1-1626684338513.png

 


Best Regards,
Henry


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

@v-henryk-mstf Problem is I have more data that is greater than 1. This problem is only for when I have filtered down to a subset of only 0s.

Greg_Deckler
Community Champion
Community Champion

@ashamsuzzoha Have you tried configuring the Filter pane to exclude negative values?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Good idea. Did not work, unfortunately.

@ashamsuzzoha Hmm, trick seems to be to set your Start to 0 and your End to 1. See attached PBIX.

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler So I do have more forecast data where it's the data is not all 0s, so setting the y-axis stop to 1 wouldn't really work unfortunately, but good idea!


How do you attach a pbix file to a message?

@ashamsuzzoha It's a thing Super Users can do. Here's a thought. Create a measure like:

 

Measure = 1

 

Add it to your Values field well. Set the line color to match your background.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors