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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hokiefan1113
Advocate I
Advocate I

XML document data in a column

 I'm working with a transaction log on PBI that only shows the failures, and one column, "FAILEDXML" shows the details of each fail in an XML document format (see below). My goal is to take this data and convert it to a better/neater presentation on Power BI. Is this possible and how would I go about it?

 

failxml.PNG

Thank you very much!

 

 

1 ACCEPTED SOLUTION

Hi @hokiefan1113,

 

You could click the icon highlight in red and expand the table.

 

expand.PNG

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
hokiefan1113
Advocate I
Advocate I

Hi @v-piga-msft thanks for your response. I parsed the data and now it looks like this. Any idea of how to extract the data in the "table" link?

 

parsexml.PNG

Please use below M Code. This has worked for me. Just change the path and rest it will handle;

let
Path = "C:\test\Outstanding Report BI\AutoRefresh\Current\",
Source = Folder.Files(Path),
XMLImport= Xml.Tables(Source{[#"Folder Path"= Path,Name="TALLY.xml"]}[Content],null,1252),
#"Added Custom" = Table.AddColumn(XMLImport, "Custom", each Table.ToList([Table])),
Transform = #table(#"Added Custom"[Name],List.Zip(#"Added Custom"[Custom]))
in
Transform

Hi @hokiefan1113,

 

You could click the icon highlight in red and expand the table.

 

expand.PNG

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @hokiefan1113,

 

You could have a try with clicking Parse to xml.

 

 parse.PNG

 

If you still need help, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.