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
drewdev
New Member

Help with Child/Parent Hierarchy from SharePoint

I'm trying to visualize child/parent heirarchy in Power BI visuals and not the most efficient way to set this up. Any guidance would be much appreciated as I'm a newbie to this type of stuff in PBI.

 

I have ID#52 marked as a Parent item (true)

drewdev_0-1699902522171.png

And all child records marked with 52 in the "ParentID" field

drewdev_1-1699902609173.png

 

Essentially - I want to display 52 as the main line item in PBI, and then have the below records show underneath so that I can expand/minimize to save space.

 

Is there an easy way to set this up? Is there a certain visual that works better? 


Again - thanks everyone for any assistance you can provide!!

-Andrew

2 REPLIES 2
j_ocean
Helper V
Helper V

If it's just one one possible level a matrix visual will work. 

 

Otoh if you have an undefined number of levels e.g. 250 may be a parent of something else, or you want to bring the parent's info into the same row, then you can try flattening the table in PQ by progressvely merging copies of itself. It's inelegant and you're effectively hard coding a maximum that isn't enforced in your source system but it does get the job done.

chonchar
Helper V
Helper V

@drewdev 

Use a matrix rather than a table. Then the matrix will create those hierarchies for you with little plus signs. 

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.

Top Solution Authors
Top Kudoed Authors