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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.