Forum Discussion
fiorela
6 years agoHelper I
how to summarize data, count category variable
Hi all, I have this type of table in my powerbi Desktop: Type1 Type2 Type3 type4 intermediate Intermediate Advanced Awareness N...
- 6 years ago
Hi,
In the Query Editor, add an Index column. Click on the Index heading and select "Unpivot Other olumns". Build a matrix visual and drag Attribute to the row labels. Drag the 3rd column to the column labels. Write this measure
=COUNTROWS(Data)
Hope this helps.
Ashish_Mathur
6 years agoSuper User
Hi,
In the Query Editor, add an Index column. Click on the Index heading and select "Unpivot Other olumns". Build a matrix visual and drag Attribute to the row labels. Drag the 3rd column to the column labels. Write this measure
=COUNTROWS(Data)
Hope this helps.
fiorela
6 years agoHelper I
appreciate your help. many thanks !