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