Forum Discussion
kala2
Helper III
5 years agoHow to create a matrix grouped by categories based on multiple columns
I want to create a matrix like the following example:
I have the following table with dummy data:
| Projekt ID | Projektname | Status Gesamt | Probleme Gesamt | Status Zeit | Probleme Zeit | Status Budget | Probleme Budget | Status Personal | Probleme Personal |
| PR-01 | Projekt 1 | grün | probleme gesamt 1 | grün | probleme zeit 1 | rot | probleme budget 1 | grün | probleme personal 1 |
| PR-02 | Projekt 2 | gelb | probleme gesamt 2 | rot | probleme zeit 2 | gelb | probleme budget 2 | grün | probleme personal 2 |
| PR-03 | Projekt 3 | grün | probleme gesamt 3 | grün | probleme zeit 3 | grün | probleme budget 3 | gelb | probleme personal 3 |
I want to create four categories: Gesamt, Zeit, Budget, Personal
In power bi i have unpivoted correctly the Statuses columns and the result is:
The matrix now, shows correctly the first column.
Any ideas how to make the Second Problem column? I tried to unpivot this aswell but i dont know how to implement into the matrix
2 Replies
- PaulDBrown
Community Champion
what values are you expecting for the second column?
- kala2
Helper III
If in my filters i have selected all the projeckts then the matrix will show probleme budget 1, probleme budget 2, probleme budget 3
If in the filters i have selected i.e Projekt 1 then in the matrix will show probleme budget 1 e.t.c