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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
tobny76
Helper II
Helper II

Check queryfolding Snowflake

Hi!
I'm trying to see if my query is folding but, I don't get this to work.
https://www.brunner.bi/post/new-ways-to-check-if-queries-fold-in-power-query-1

What am I doing wrong?

let
     Source = Snowflake.Databases(SF_URL,SF_Warehouse,[Role=SF_Role]),
    EDW_Database = Source{[Name=SF_Database,Kind="Database"]}[Data],
    Schema = EDW_Database{[Name="PROCUREMENT",Kind="Schema"]}[Data],    
    View = Schema{[Name="SUPPLIER_INVOICE_DETAILED",Kind="Table"]}[Data],
    Date_From_Filter = Table.SelectRows(View, each [Accounting Date] >= #date(Date.Year( DateTime.FixedLocalNow())-P_Years_Back_Calendar, 1, 1)),
    GetMetadata = Value.Metadata(Date_From_Filter),
    QueryFolding = GetMetadata[QueryFolding]
in
    QueryFolding

 

tobny76_0-1743507644086.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There are simpler and more efficient ways.  Use the Query Diagnostics to see what is actually going down the wire (ie if your Power Query filters are handed over to Snowflake or not)

View solution in original post

3 REPLIES 3
v-achippa
Community Support
Community Support

Hi @tobny76,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @lbendlin for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user's resolved your issue? or let us know if you need any further assistance.
If our super user's response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @tobny76,

 

We wanted to kindly follow up to check if the solution provided by the super user's resolved your issue.
If our super user's response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

lbendlin
Super User
Super User

There are simpler and more efficient ways.  Use the Query Diagnostics to see what is actually going down the wire (ie if your Power Query filters are handed over to Snowflake or not)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.