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
jayasurya_prud
Helper II
Helper II

Dynamic and default value for Y axis in Lice chart

I am trying to create a Line chart visual in a power bi dashboard. For Y axis value, I am creating a measure in order to make it dynamic. The measure works fine. 

 

But for the default view, the Y axis is spreaded too large. For example, my highlight value - Y constant value in chart is 150. but the Y axis distributed from 0 to 1000. This makes the highlighted value close to 0, which misleads the users. 

 

Is there any way to make the y axis distributed less for the default value and when we slice and dice it shoul be changing dynamically.

 

please guide with a solution.

1 REPLY 1
amitchandak
Super User
Super User

@jayasurya_prud , You have an option for min and max value on Yaxis, you can use measure using fx there

 

example

min = Minx(Values(Table[X-axis Colum]), [Measure]) *. 95

 

max= maxx(Values(Table[X-axis Colum]), [Measure]) *. 1.05

 

amitchandak_0-1661333657483.png

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Users online (4,664)