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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
zubair242
Frequent Visitor

Traverse parent-child relationship in power query

Hi everyone,

I have a scenario where I have parent-child relationship. In the picture below, you can see that Account is the parent of Client and Account is the Child of Advisor. So, if we change anything in the Advisor, Client will be impacted. However, in the current setup, if I filter on Advisor, it will show only impact of Account and not on client. How can I do this in power query so that I get all the nodes in the hierarchy?

 

zubair242_0-1696515854563.png

 

Sample file is attached. I have given it a try but it is not working as intended.

 

https://drive.google.com/file/d/1WOUz-M8UN_ubCOPgkkv7p2dNJL9GqMs6/view?usp=sharing

 

 

 

 

1 REPLY 1
pradeep_kare12
Resolver I
Resolver I

@zubair242  Power query alone may not be sufficient for this, its about how you structure your data and your data model in power bi. Ensure that your data source includes a column that establishes the parent-child relationship. Create hierarchies to define relationship between Avisor, Account and Client, in model view for each relationship make sure that cross filtering is enabled in both direction.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors