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

View all the Fabric Data Days sessions on demand. View schedule

Reply
kafka82
New Member

Tree visualisation from taxonomy file

 

 

I am have a file with a taxonomy built in it - using tax and parent_taxon IDs - however I am not quite sure how I can built a tree structure in Power BI so I can filter through the different items of the tree ? Ideally  I would like to use a decomposition tree but even if it was a simple matrix where I can filter down through the tree would be great -

 

What's the best way to do this in Power BI? Breakdown the table in different table and build a relationship ? Shall Import in a mySQL database and built the tree there ? How? Sorry for silly questions but am bit newbie to this!

 

I guess what I am asking is how to "unflatten" the file into a dataset I can filter in some sort of table or visual.

 

Here is the file with the taxonomy

 

https://drive.google.com/file/d/1vF_pEcP5-Og99oFmBP8fLRIzl3-_HdSz/view?usp=sharing

1 REPLY 1
lbendlin
Super User
Super User

Normally you would use the PATH functions for this.  However your sample data has holes.

 

lbendlin_0-1682881689905.png

 

Basically each parent MUST be present as a child as well.

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.

Top Solution Authors
Top Kudoed Authors