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 September 15. Request your voucher.
I have the data in matrix table it contains the each month of the data of particular variables, like below
TYPE jan feb march april
a 1 2 3 5
b 1 2 3 8
c 5 2 3 10
how can i display the total of each row like,
TYPE jan feb march april total
a 1 2 3 5 11
b 1 2 3 8 14
c 5 2 3 10 20
I tried using measure, but no luck
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
1.Go to query editor>select column jan,feb,march,april >unpivot columns:
2.Put "type" in Rows,"Attribute" in Columns,"value" in values:
And you will see:
For the related .pbix file,pls click here.
Hi @Anonymous ,
1.Go to query editor>select column jan,feb,march,april >unpivot columns:
2.Put "type" in Rows,"Attribute" in Columns,"value" in values:
And you will see:
For the related .pbix file,pls click here.
@Anonymous ,
Better you unpivot the data
https://radacad.com/pivot-and-unpivot-with-power-bi
And then use it matrix visual
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
48 | |
44 |