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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Aligning both lines - Line Y axis in a Line and Clustered bar chart

Hello everyone!

Is it possible to align both lines of the line Y axis?

In the following example I need to align both lines (the orange one and the green one (which is barely seen at the bottom of each column)). The problem is: the green one is in a scale from 1 to 20 and the orange one is in tens of thousands. They're both a single value per date. I've tried overlaying another visual containing only the line I need but it doesn't align with the bar columns, I also tried upscaling the values but it didn't work out very well due to formatting. I kinda ran out of ideas, does anyone have an idea or tutorial that can solve this problem?
dkb941007_0-1714075115283.png
Thanks in advance!

 

1 REPLY 1
vicky_
Super User
Super User

You can try manually setting the range for the lines - go into Format Visual > Y-Axis / Secondary Y-Axis and then set min and max numbers there (you can click fx and use a measure so that it is somewhat dynamic)

vicky__0-1714085541807.png

 

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.