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
vickychill
Frequent Visitor

Creating Stacked column chart with more than one X-axis

Hello community,

 

I have a table something like below and want to show the data as below for each year in one column chart. I read people suggesting to unpivot the table but the table is huge (with more than 10K rows) and will make this complex. Is there an easier way to do this?

  

Product IDSales 2021Sales 2022Sales 2023
1100102104
2200200210
3300350360
4400401420

vickychill_0-1685657401017.png

 

 

Thank you in advance.

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Unpivoting is the only and therefore the best way.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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