Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am facing a difficult challenge this time. I got two table from which I want to construct a matrix.
Table 1 (called "Entity") contains a parent-child hierachy and looks like this:
Table 2 (called "Values") has already been unpivoted and contains values for one entity:
The key both tables have in common is the column "EntityKey".
The aim is to create a matrix. "level1", "level2" and "level3" from table 1 should be placed in the rows, "attribute" from table 2 in the columns and "values" from table 2 should be taken as values. The result should look like this:
When displayed in PowerBI, the result looks like this at the moment (see arrows for the problems):
I uploaded a PowerBI file, where you can see the current status: PowerBI file
As you can see, there are multiple problems, which I am not able to fix:
Any ideas, how I can achieve this? Happy for any advice!
If you add Table format of your data in stead of screen shots it's easier to copy paste into Power Bi and find a soloution for you 🙂
Hi @MrSujay
thanks for your solution. The only thing which is missing is the hirachy which allows to expand or extent items. The expected output should look like this:
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
75 | |
72 | |
39 | |
29 | |
27 |
User | Count |
---|---|
97 | |
96 | |
58 | |
44 | |
40 |