The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
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.
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.