Power Query Resources for XML Parsing

stvexcel

New Member
Joined
Mar 30, 2015
Messages
2
Hello,

I am trying to bring in some Green Button (Green Button) XML files into Excel using Power Query, however I am having a heck of a time getting a usable table from the nested XML in the spec.

Are there any good in-depth resources about parsing XML with Power Query? Can I leverage an XSLT file on import? I just can't manage to denormalize the files into a usable table. Any help would be greatly appreciated.

Steve
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
It's a good question. I don't know of one -- if you come across one, i would love to see it. I tried playing w/ some sample data off Green Button, and ... I too got confused. When do I click the "Table" link vs "expand columns", and how do I deal w/ nodes like <content> that have wildly different shape under them?

I sorta suspect you end up pulling it in multiple times and building multiple tables -- for different parts of the xml. But even if you told me ... I only care about /feed/entry/content/ReadingType nodes... I would be futzing for a long time trying to get what I wanted.

Good luck, sorry I'm not super useful on this one.
 
Upvote 0
It's a good question. I don't know of one -- if you come across one, i would love to see it. I tried playing w/ some sample data off Green Button, and ... I too got confused. When do I click the "Table" link vs "expand columns", and how do I deal w/ nodes like <content> that have wildly different shape under them?

I sorta suspect you end up pulling it in multiple times and building multiple tables -- for different parts of the xml. But even if you told me ... I only care about /feed/entry/content/ReadingType nodes... I would be futzing for a long time trying to get what I wanted.

Good luck, sorry I'm not super useful on this one.

Yes, that is exactly my issue. The XML spec for Green Button is pretty big and the structure can vary tremendously.
 
Upvote 0

Forum statistics

Threads
1,224,084
Messages
6,176,270
Members
452,718
Latest member
Nyxs_Inquisitor

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top