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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Query on differing XML-BLOB values

Dear Power-BI-Forum

 

I'm trying to excerpt descriptive metadata from an Enterprise Media Asset Management System stored as binary (blob) within an Oracle-DB. The data itself is an XML.

So far so easy, I proceeded this way:

  1. Selected the affected Oracle-table as PowerBI-Import
  2. Removed all unneeded columns
  3. XML-Parsed the blob-column and removed errors (former blob's with null-values)
  4. Transformed one particular item by expanding and pivoting

metadata_01.PNGmetadata_02.PNG

 

In order to execute this for all items I just edited the responsible "row filtering" M-Code to "each true". That gives me the following error:  

Expression.Error: We cannot convert the value "xxx" to type Table.
Details:
    Value=xxx
    Type=Type

 

The reason for that behavior:

descriptive metadata can differ in their amount of values and so in the amount of columns after the BI-query/transformation. That is because the vendor on facilitates some kind of flexibility handling descriptive metadata within the relational database of the Media Asset Management system.

My procedure even works fine with items keeping the same amount of values.

 

So I'm coming up to you - is there any way reducing the values within the blob/XML (eg. to asset.siteIdentity, sports.sport, asset.materialType, asset.title) as a kind of a defined record/value-subset pivoting to?

I also tried "Combine Files". But transforming the receiving CSV (Sample File) the way Parsed-XML does by using delimiters is quite impossible.

 

THX in advance

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You'll need to do research into The Advanced Editor.

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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
Top Kudoed Authors