Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sowmyar
Frequent Visitor

Employee supervisor hierchy

I've attched a screenshot of sample data,where I've supervisor and employee.I want to get the list of employee under a supervisor, the next level of subordinates and so on.

For instance 12(superviosr)->1,2,3,4,5 and under 1->6,7 under 7->9,10 this to a specific date range

sowmyar_0-1633011387879.png

 

Thanks in advance

 

 

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @sowmyar 

you can use matrix visual, 

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

jaideepnema
Solution Sage
Solution Sage

Hi @sowmyar ,
Create a calculated column like this:

Hierarchy Check = CALCULATE(CONCATENATEX('Table','Table'[Employee],"-"),ALLEXCEPT('Table','Table'[Supervisor]))
 
which will give you the desired results:
jaideepnema_0-1633011976016.png

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

@jaideepnema If I have a result column like this how can i make use of it in a matrix visual to show an hierachy?

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.