The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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