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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Query Folding through ODBC Snowflake

Hi,

 

I use ODBC connection in PBI to import data from Snowflake DB. To be clear I do not use the Snowflake connector. I use Get Data --> ODBC (which connects to my snowflake DSN).

 

When I'm importing one customer table, which is over 1k rows, and then filter on that data in power query, I noticed the Native query is greyed out. I'm not sure why it gets greyed out when it's just a simple filter. So this tells me the query is not folding. I'm simply testing this on a small dataset but I hope to bring in a fact table (around 30 million rows) and filter data on it using power query. The objective here is to enable incremental refresh but I know I won't be able to if query folding is not happening when I filter on rows.

 

Any help? Advice? This is my first time posing here so let me know if I need to add screenshots and/or additional details.

 

Thanks!

2 REPLIES 2
Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

Query folding is definitely supported if Snowflake connector is used. Since you are using ODBC connector, whether query folding is working or not can be checked in 2 places as far as Snowflake is concerned as View native query is greyed out

1. Go to Tools in Power Query invoked through Power BI - Start Diagnostics, refresh your preview and then Stop Diagnostics and check logs. Logs are simple to read and will tell you if Query folding is happening or not.

2. Query history in Snowflake

Anonymous
Not applicable

Thanks for the quick response.

 

It indeed does look like query folding is not supported while trying to go through ODBC to connect to snowflake. Tried both of your ways and I'm not seeing anything which can support query folding. Was looking for confirmation and seems that this will do. Appreciate it.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.