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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CarlosOlmos29
Helper I
Helper I

How to align the vertical axis in the combined stacked-column and inline chart

Hello Power Bi Community!

 

I would like to show a Stacked column and line charts where the y axis and the secundary y axis have the same scale when I apply a filter. I already applied a trick, setting the same data at both axis, but it doesn't work perfectly in some cases, as it can see in the picture below.

I hope I have made myself clear. Thanks in advance for your help.

 

CarlosOlmos29_2-1681919261716.png

 

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @CarlosOlmos29 

 

I simulated some data, hoping to match your situation, and you mainly look at the Y-axis setting range.

vzhangti_0-1682045608423.png

MeasureA = CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Date]),[Type]="A"))
MeasureB = CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Date]),[Type]="B"))

vzhangti_1-1682045656453.png     vzhangti_2-1682045669826.png

Result:

vzhangti_3-1682045707105.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @CarlosOlmos29 

 

I simulated some data, hoping to match your situation, and you mainly look at the Y-axis setting range.

vzhangti_0-1682045608423.png

MeasureA = CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Date]),[Type]="A"))
MeasureB = CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Date]),[Type]="B"))

vzhangti_1-1682045656453.png     vzhangti_2-1682045669826.png

Result:

vzhangti_3-1682045707105.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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