Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31104

XML with XSD schema

$
0
0

Dear Community members,

 

I run into the following problem.
I have a XML with a XSD schema (same like XBRL instances), when configuring the upload with a sample file all available columns are available and uploaded to Power BI.
However the problem occurs if a XML tag is not available, which is fine as the XSD says it is an optional field.

I use the following function to get the columns:

 

Table.ExpandTableColumn(#"Removed Other Columns", "header", {"fiscalYear", "startDate", "endDate", "curCode", "dateCreated", "softwareDesc", "softwareVersion"})

 

So in my specific case softwareVersion is missing, but it could also be another column

 

Can anybody tell me how to solve this issue, or idealy test against the XSD in importing the XML?

 

Many thanks in advance,

Olaf


Viewing all articles
Browse latest Browse all 31104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>