Which version of Excel do you have? What is the issue exactly? Did you look at this?
https://www.myexcelonline.com/blog/i...t-transform-2/
Data > Get Data > From File > From XML - at what point is this not working for you?
Hi,
I have been trying to find information on importing XML files into Power Query. I can't find anything reliable online. Does anybody have any experience with this and if so could they please recommend some resources on it.
thanks,
Seán
Which version of Excel do you have? What is the issue exactly? Did you look at this?
https://www.myexcelonline.com/blog/i...t-transform-2/
Data > Get Data > From File > From XML - at what point is this not working for you?
Ali
Enthusiastic self-taught user of MS Excel!
Hi Ali,
thanks for your reply. Apologies, my question was a bit vague. I am able to get the XML file imported but there are many levels in the XML file I am importing. Is there any way to automatically expand all the levels/tables or do I need to set this up manually the first time around?
thanks,
Seán
You are right - your question was very vague! I do not have enough experience to help, but others will. I will add some detail to the title of your opening post.![]()
Ali
Enthusiastic self-taught user of MS Excel!
Hi Seanhod,
Do you by any chance have a sample file you can upload? While XML is structured, it would be helpful to see the structure you're looking at. Doesn't need to be real, just a representation of what you're looking at.
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
Hi Ken,
thanks so much for getting back to me and apologies for the delay on my side.
It's not letting me upload the XML file - keeps saying invalid file. I have attached the file.
I am actually trying to import data from multiple XML files to Power Query. All XML files are in the exact same format in the same folder.
Is there something similar tofor XML files.Code:each Excel.Workbook([Content]
Thanks,
Seán
Bookmarks