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.
I have two related tables about customers called Tree and Order. A Tree Table contains hierarchy of customers which have four levels. So the columns in this table are four: level1, level2, level3 and four(all values are the customer ids on that level). As you can see in the table , in some cases customer of level1 and level2 can be the same(C100). The second table total amount of order of each customer(if they order).
Now I want to create matrix of the four level with "family total order"
Level1 - (level1 + level2 + level3 + level4) of its family under it
Level2 - (level2 + level3 + level4) of its family under it
Level3 - (level3 + level4) of its family under it
Level4 - (level4) - as it’s the last level
Hi @Addis ,
Believe that this could be achieve using the Parent-child hierarchies.
Check the article below with an explanation on how to achieve it.
https://www.daxpatterns.com/parent-child-hierarchies/
Comparing to your data I believe you need to change the format of the tree table but have a look and if you have any doubts please reach out.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |