Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I would like to have sorted data in Matrix visual where I will have hierarchy - Director -> Regional Manager -> Unit Manager ->Agent.
Now every data is in one table.
Example:
How to do this???
Thank you for your help. I think I managged this in Power Query.
Hi @Anonymous ,
From what I know, combined with the data you provided, it doesn't seem possible to accomplish the goal of displaying the hierarchy in a matrix, but if you want to do an accumulation calculation on the data, you can do it using this measure:
Column =
CALCULATE(
SUM('Table'[ITEM SOLD]),
FILTER(
ALL('Table'),
'Table'[ID] <= EARLIER('Table'[ID])
)
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.