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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.