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
Anonymous
Not applicable

Combo line & clustered chart does not work

My dataset looks like the following and I am trying to build a chart like the first picture below. I tried using the line & clustered column chart (2nd picture), but the issue is that the columns for the same month this year & last year are not together, and the prices of SKU 1 and SKU 2 are not on top of each other. It there a different chart I can use, or can I manipulate the data in a way that makes it possible? I tried duplicating the table, but I can't seem to make some columns/lines refer to one SKU and the others refer to another SKU. Thanks a lot!

 

SKUYearMonthVolumePriceDate
SKU 120201200451/1/2020
SKU 120202210462/1/2020
SKU 120203189453/1/2020
SKU 120204120454/1/2020
SKU 220201300451/1/2020
SKU 220202250462/1/2020
SKU 220203204433/1/2020
SKU 220204350454/1/2020
SKU 120191120441/1/2019
SKU 120192126442/1/2019
SKU 120193200433/1/2019
SKU 12019472434/1/2019
SKU 220191360441/1/2019
SKU 220192300422/1/2019
SKU 220193200433/1/2019
SKU 220194420444/1/2019

 

Capture.PNG

Capture 1.PNG

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

In you scenario, we should create measures to work on it.

sk1 = CALCULATE(SUM('Table'[Volume]),FILTER('Table','Table'[Year]=2020 && 'Table'[SKU] = "SKU 1"))
SK1 LY = CALCULATE(SUM('Table'[Volume]),FILTER('Table','Table'[Year]=2019 && 'Table'[SKU] = "SKU 1"))
Sk2 = CALCULATE(SUM('Table'[Volume]),FILTER('Table','Table'[Year] = 2020 && 'Table'[SKU] = "SKU 2"))
Sk2 ly = CALCULATE(SUM('Table'[Volume]),FILTER('Table','Table'[Year] = 2019 && 'Table'[SKU] = "SKU 2"))

 Capture.PNG

 

Pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

@ 

Thanks for your response. The issue is that I'd like to use slicers for the two SKUs, so they shouldn't be hard-coded into the measures. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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