Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi
I have data at different category granularity and I am wondering how I should wrangle with it to produce a simple ar chart that shows total 2019 and total 2020. The 2019 data is a total of the subcategories. The data has been aggregated to one table named DATA.
Any suggestions via dax or model design? Sample data and chart below.
Any assistance greatly appreciated.
John
Solved! Go to Solution.
@johnmelbourne , In power Query.
Add new column Table Y
Category = "All"
And unpivot the table z
https://radacad.com/pivot-and-unpivot-with-power-bi
After that append two tables
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
@johnmelbourne , In power Query.
Add new column Table Y
Category = "All"
And unpivot the table z
https://radacad.com/pivot-and-unpivot-with-power-bi
After that append two tables
https://radacad.com/append-vs-merge-in-power-bi-and-power-query