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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
wynhodgkiss
Helper III
Helper III

Constant lines on dual axis charts

Hi,

I have a dual axis chart:

1.png

and I'm able to add a constant line against the Y axis but not the secondary Y axis, am I missing something?

2.png

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @wynhodgkiss 
You don't miss anything.
We don't have it as a functionality of a constant,
But you can create another measure for a second constant and put it on the second Y-axis directly 

Ritaf1983_0-1701363501476.png

PBIX is attached

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
wynhodgkiss
Helper III
Helper III

I know, I just prefer the format of the constant line. It doesn't add an entry to the legend and you have more control over the format of the label etc

Any idea if there is an existing idea to vote for to have this added? If not, I'll start one myself

@wynhodgkiss 
I didn't find any idea about the issue, you can suggest here :

https://ideas.fabric.microsoft.com/

According to the legend, you can switch it off and use series labels instead

Ritaf1983_0-1701365681160.png

or generate the legend according to your needs manually like in my suggestion in the linked post :

https://community.fabric.microsoft.com/t5/Desktop/Can-t-change-column-legend-to-gradient-for-line-an...


From the perspective of efficient data visualization, using a graph with 2 y-axes is not considered a best practice. Introducing constant lines further complicates the interpretation for the graph's reader. I recommend creating two separate graphs and arranging them vertically, one below the other.

like in the picture :

Ritaf1983_1-1701366344758.png

more information about the troubles of 2 axes graphs is in the link:

https://blog.datawrapper.de/dualaxis/

 

 

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @wynhodgkiss 
You don't miss anything.
We don't have it as a functionality of a constant,
But you can create another measure for a second constant and put it on the second Y-axis directly 

Ritaf1983_0-1701363501476.png

PBIX is attached

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.