Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Query folding for Redshift

Please help, I though as mentioned in Query folding with Amazon Web Services  that query folding is supported for Redshift, but when I'm trying to check the steps that apply query folding in the query editor by right mouse-clicking the steps, 'View Native Query' is greyed out at each and every steps, even the first initial steps of remove columns. 

Am I mistaken in thinking query folding is supported for Redshift?



Not applicable


Query folding is supported when using the Microsoft Redshift ODBC driver. Please review the Diagnostics Tool. This video will help:




Community Support
Community Support

Hi Anske, 

In the link, it didn't mention that the Redshit supoort query foldering. Most data sources that have the concept of a query language support query folding. These data sources can include relational databases, OData feeds (including SharePoint lists), Exchange, and Active Directory. However, data sources like flat files, blobs, and web typically do not.

In addition, in the Power Query Editor window, it is possible to determine when a Power Query query can be folded. In the Query Settings pane, when you right-click the last applied step, if the View Native Query option is enabled (not greyed out), then the query can be folded. You siad that the option is greyed out, so I think Redshift doesn't support it.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Frequent Visitor

For all the other people trying to find out, the answer is, Redshift does not support query folding, unfortunately. 

The other thing is, when using power BI service, the range of IP adresses is too long to whitelist for your Redshift cluster. 

My advice would be, consider using another front-end tool when your data is in Redshift :-).



Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors