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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.