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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
visheshjain
Impactful Individual
Impactful Individual

Query folding using AWS Athena

Hello everyone,

 

I am using AWS Athena as a data source with an ODBC connector.

I tried using the Athena connector in PBI Desktop but it was not working and I'm not sure if query folding will work with Athena.

 

I want to enable incremental refresh but for the you need query folding to be working.

 

For some reason, query folding is not working once the table is loaded in PQ.

 

Please share if you have any information on how to enable query folding?

 

Thank you,
Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



2 REPLIES 2
Anonymous
Not applicable

Hi @visheshjain 

 

Based on your description, You are using the ODBC connector to connect to AWS Athena. Are you now trying to switch to the Amazon Athena connector?

 

Query folding supports SQL Server, Oracle, and data sources that support ODBC connectivity. Data sources without any query mechanism are not supported.

 

You can use View Native Query or Query Diagnostics to see if query folding has occurred.

vxuxinyimsft_0-1715754331790.png

 

The View Native Query option is only available for certain relational DB/SQL generation connectors. For example, it does not apply to OData-based connectors, even if there is folding happening on the backend. The Query Diagnostics feature is the best way to see if folding has occurred for non-SQL connectors.

 

Best Regards,
Yulia Xu

 

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

Hi @Anonymous,

 

I wasn't trying to switch to the Athena connector, but if anyone can show me that how/if query folding is working with Athena as a source, I would not mind switching.

 

If anyone has any other option, apart from the one that I have mentioned, in which I can connect PBI Desktop and Service to AWS Athena, I am all ears.

 

Please let me know if you have a solution for this.

 

Thank you for responding!

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors