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

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.

Reply
afaro
Helper III
Helper III

How to get the hierarchy data to filter the original table?

I organized my data into a hierarchy and I got the identifier for each level. I can see the data in a hierarchy now but I want to be able to see the corresponding details as well of that without having to create multiple columns using LOOKUP. Is this possible? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @afaro ,

Please check if the following methods can help you get the expected result:

1. Use DAX function PATHITEM:

How to Create an Organizational Hierarchy in Power BI? 

vyiruanmsft_0-1721196039399.png

2. Create hierarchy slicer to filter the data:

Add multiple fields to a hierarchy slicer - Power BI | Microsoft Learn

vyiruanmsft_1-1721196093206.png

If the above ones can't help you, please provide some raw data in the table with hierachies (exclude sensitive data) with Text format and your expected result with backend logic base on your shared sample data? It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @afaro ,

Please check if the following methods can help you get the expected result:

1. Use DAX function PATHITEM:

How to Create an Organizational Hierarchy in Power BI? 

vyiruanmsft_0-1721196039399.png

2. Create hierarchy slicer to filter the data:

Add multiple fields to a hierarchy slicer - Power BI | Microsoft Learn

vyiruanmsft_1-1721196093206.png

If the above ones can't help you, please provide some raw data in the table with hierachies (exclude sensitive data) with Text format and your expected result with backend logic base on your shared sample data? It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

some_bih
Super User
Super User

Hi @afaro could you be more precise what is your request.

In general, hierarchy creation could be check on link and related label on second link. Hope this help,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.