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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jaryszek
Power Participant
Power Participant

How to change scale for X-axis in line chart?

Hello,

jaryszek_0-1758182122151.png


I have a big gap between lines, can i change a scale on line chart? 
If not, what are the alternatives?

Best,
Jacek

 

1 ACCEPTED SOLUTION
alish_b
Resolver III
Resolver III

Hi @jaryszek ,

I believe the gaps between the lines is due to the high variance of data for that variable assigned to sky blue color. You could try either using the secondary axis in the line visual (put all the smaller value fields/measures in Y-axis and put the large one in secondary Y-axis).

alish_b_0-1758187761826.png

Or, you could put them all in Y-axis and turn on the logarithmic scale in Y-axis properties to leverage log scaling (might need user training as most business users are not accustomed to log scales).

alish_b_1-1758187981719.png

Hope it helps!


   

View solution in original post

3 REPLIES 3
alish_b
Resolver III
Resolver III

Hi @jaryszek ,

I believe the gaps between the lines is due to the high variance of data for that variable assigned to sky blue color. You could try either using the secondary axis in the line visual (put all the smaller value fields/measures in Y-axis and put the large one in secondary Y-axis).

alish_b_0-1758187761826.png

Or, you could put them all in Y-axis and turn on the logarithmic scale in Y-axis properties to leverage log scaling (might need user training as most business users are not accustomed to log scales).

alish_b_1-1758187981719.png

Hope it helps!


   

Hi @jaryszek ,
Thanks for reaching out to the Microsoft fabric community forum. 

 

I would also take a moment to thank  @alish_b  for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

Best Regards, 
Community Support Team  

Ahmed-Elfeel
Resolver II
Resolver II

Hi @jaryszek,
I hope you are doing well...
I am sorry to say that but you cannot change the X-axis scale (its based on categories or time)
But you can:
1-Aggregate [Month-Quarter-Year]
2-Filtering...you can restrict which values appers on the X-axis (Slicer or using zoom slider).
3-Improving readability.....drag your category into small multiple to split lines into separate charts.


But in short: You cannot change the X-Axis cause it is not numerical just showing categories.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors