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
alpha-san
Frequent Visitor

How to change display order of secondary y-axis line on a line chart?

Hello,

 

I have a line chart with multiple (two) y-axis lines, and one secondary y-axis line. In the example below the secondary y-axis line (Sum of Petal_width, the orange line) is in front of all the other y-axis lines. I want to be able to bring the secondary y-axis line behind all the other y-axis lines (the Sum of Sepal_length and Sum of Sepal_width, the light and dark blue lines). But I want to also keep the y-axis constant line as is unchanged (the 60 cm dashed line).

alphasan_0-1707083193822.png

How can I do this? 

 

Thank you

 

 

 

2 REPLIES 2
Manojb97
New Member

Hi Alpha-san,

For changing your display order try these steps:

1. Ensure that you add the fields to the values well in the order you want them to appear.

2. If the secondary y-axis line is not displaying as expected, try rearranging the fields in the values.

(or)

3. Instead of using a single line chart with a secondary y-axis, consider using a combination chart where you have one line chart for the primary axis and another for the secondary axis.

4. To do this, create a line chart with the primary field, and then duplicate it. For the duplicated chart, change the field and set it to use the secondary axis.

(or)

5. Check the data types of the fields. Sometimes, changing the data type of a field can impact the display order.

6. Ensure that you are using the latest version of Power BI. 

Please let me know if this helps? Do let me know if I am wrong as well!! 
If it works, please accept this as a solution. As this helps other members too. 

Thanks,
Manoj.

Hi, thanks for the response. This didn't work unfortunately, and I wanted to use a single line chart still (instead of a combination chart). Thanks.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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