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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
mf2499pbi
Frequent Visitor

Query folding with ODBC Redshift Connection?

Hi all,

 

I am connecting to AWS Redshift using an ODBC connection. It seems as if Query Folding should be available while connecting this way, but it is not working for me. 

 

When I filter the top 100 rows and load the data, it goes through millions of rows before finishing the load. Is there anything I can do to enable query folding? I have tried the Value.NativeQuery function, but this does not work with ODBC. 

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @mf2499pbi 

 

According to article Import data from a database using native database query - Power Query, query folding while using a native database query is limited to only a certain number of Power Query connectors. Below are the supported data connectors. ODBC is not listed among them. For more information, go to Query folding on native queries.

vjingzhang_0-1677639989934.png

As Amazon Redshift connector is available and supports query folding using a native query, you may use this connector instead to have a try. 

Power Query Amazon Redshift connector - Power Query

 

In addition, the following thread and discussions may be helpful:

Power Query Folding not occuring with ODBC - Microsoft Community

ODBC and Large Data Sets (microsoft.com)

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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