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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors