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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
PBI__User
Frequent Visitor

Unable to capture details using "Value.Metadata" function

Hi all,

 

I was trying to check if "query folding" is hapening using "value.metadata" function. But I did not get any result  (Expression.Error: The field 'QueryFolding' of the record wasn't found) when I tried this in original pbix file. But when I tried to recreate the same transformations in a new file, I could see the query folding details as shown in second screenshot. Could anyone help me understand why "value.metadata" does not return any value in some scenarioes?

 

PBI__User_1-1663672654544.png

 

PBI__User_0-1663672423391.png

 

Thanks in advance,

 

1 REPLY 1
artemus
Microsoft Employee
Microsoft Employee

QueryFolding metadata is something the preview UI adds to a query to give it an indicator of when folding fails. In some cases this gets skipped as it isn't a step as far as the UI sees it.

 

Relying on this metadata is not supported, along with the undocumented function that it uses to determine this, Value.ResourceExpression, and doing so at your own risk.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors