Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi!
I have a table that looks like that:
where each name has a father (except for the ones at the first level) and only the names in the highest level has a total (the highest level doesn't habe to be 4).
I'm trying o sum up each name by it's sons total, so the final table should look like that:
in addition I want to show this table in the power bi in this format:
with an option to drill down and up.
Please if anyone can help, Im still new to power bi and learning on the way.
Solved! Go to Solution.
Hi @shakedb70 ,
in Power BI you can do this by using the PATH functions and displaying the hierarchy in a matrix.
First you determine all parent elements per level with PATH.
hierarchy path = PATH('Table'[Name],'Table'[father name])
Then you decompose the path with PATHITEM
hl1 = PATHITEM('Table'[hierarchy path],1)
For more info check out the attached sample file.
There is also a DAX Pattern post on the topic:
https://www.daxpatterns.com/parent-child-hierarchies/
Hi @shakedb70 ,
in Power BI you can do this by using the PATH functions and displaying the hierarchy in a matrix.
First you determine all parent elements per level with PATH.
hierarchy path = PATH('Table'[Name],'Table'[father name])
Then you decompose the path with PATHITEM
hl1 = PATHITEM('Table'[hierarchy path],1)
For more info check out the attached sample file.
There is also a DAX Pattern post on the topic:
https://www.daxpatterns.com/parent-child-hierarchies/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |