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