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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
DebbieE
Community Champion
Community Champion

XML with lots of hierarchies - How best to model

I have quite a lot of XML files and they all contain lots of hierarchies.

 

My Question is, in Power BI what is the best way to deal with this. Where you can keep everything in the same table 

OR

Create duplicate tables keeping just 1 hierarchy with the primary key. Then you can join the tables together afterwards.

 

I dont want to go down the first route and then be told that the best way is to put everything into seperate tables

 

Any help would be greatly appreciated

2 REPLIES 2
LivioLanzo
Solution Sage
Solution Sage

@DebbieE

 

This depends on the contents of the XML Files so there's no general answer. Of course if you have with one big flat table which can benefit from normalization then you should normalize

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

That does make sense.

 

The only thing that worries me. I upload all my XML files and they contain a lot of data and it takes just over half an hour to load into Power BI

 

If I have to Duplicate the table to create all the linked tables, would that be creating a lot of work for Power BI?

Helpful resources

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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