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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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