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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.