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! Request now

Reply
marciomendonca
Frequent Visitor

Importing XML file into POWER QUERY

Hi community, good afternoon.

I'm facing this issue: I've been trying to import a XML File into Power Query, but, unfortunately it's not being straight forward as I expected and here is the problem:
It's being imported as a huge single column, where the first 32 rows correspond to the actual headers from the table that I was initially expecting to get

marciomendonca_0-1669744837913.png

 

So, instead of having o single column with over 20k rows I want to get a table with 32 columns and its respective amount of rows.

Is it doable using Power Query? I mean to split a larger column into multiple columns using a counter (a split each 32 rows) as a delimeter.

Best regards.

1 ACCEPTED SOLUTION
Bifinity_75
Solution Sage
Solution Sage

Hi @marciomendonca , you can transpose the table in Power Query:

Bifinity_75_0-1669759027204.png

But to work with XML files I always create a star data model, like the image:

Bifinity_75_1-1669759113555.png

model compression will improve and result in a smaller Pbix file, and better performing.

 

Best regards

 

View solution in original post

1 REPLY 1
Bifinity_75
Solution Sage
Solution Sage

Hi @marciomendonca , you can transpose the table in Power Query:

Bifinity_75_0-1669759027204.png

But to work with XML files I always create a star data model, like the image:

Bifinity_75_1-1669759113555.png

model compression will improve and result in a smaller Pbix file, and better performing.

 

Best regards

 

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