Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello everyone,
I have a AWS Athena as my source for the data and I am getting the following error in PBI Desktop.
Everything works alright until I change the data type to whole number on one of my text columns.
If anyone has an idea about how to resolve this, please respond to this message.
Thank you,
Proud to be a Super User!
Solved! Go to Solution.
The suggested solutions did not work and also look like they were copied from generative AI models.
At the moment the ODBC connection is quite slow and even after updating the connector to v2 it only slowed down the refresh time.
I am going to try to move the data source to a Fabric Lakehouse or Azure SQL to see if the refreshes take lesser time.
Thank you,
Proud to be a Super User!
Hi visheshjain,
We wanted to see if the information we gave helped fix your problem. If you need more help, please feel free to contact the Microsoft Fabric community.
Thank you.
The suggested solutions did not work and also look like they were copied from generative AI models.
At the moment the ODBC connection is quite slow and even after updating the connector to v2 it only slowed down the refresh time.
I am going to try to move the data source to a Fabric Lakehouse or Azure SQL to see if the refreshes take lesser time.
Thank you,
Proud to be a Super User!
Hi visheshjain,
We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.
Thank you.
Thankyou, @jaineshp, for your response.
Hi visheshjain,
We appreciate your inquiry through the Microsoft Fabric Community Forum.
We would like to inquire whether have you got the chance to check the solution provided by @jaineshp to resolve the issue. We hope the information provided helps to clear the query.
Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.
Thank you.
Hey @visheshjain
You're absolutely right about query folding being crucial for performance! Let me suggest some approaches that maintain query folding while fixing the Athena data type conversion issue:
Query Folding-Friendly Solutions:
The key is letting Athena do the heavy lifting rather than Power BI. These approaches maintain query folding because the type conversion becomes part of the SQL that gets pushed down to Athena, rather than being processed locally in Power BI.
Try the direct CAST approach in your source query first - it should give you both the performance you need and resolve the conversion error.
Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Hey @visheshjain,
Looking at your Athena connection error, this typically happens when Power BI tries to push data type conversions to the source database. Here are some quick solutions:
Try these steps:
The root cause is usually Power BI trying to execute the type conversion on Athena's side, which fails due to query translation issues. Processing it locally in Power BI typically resolves this.
Try the custom column approach first - it's usually the most reliable fix for Athena connections.
Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Best Regards,
Jainesh Poojara | Power BI Developer
Hello @jaineshp,
Adding new columns or calculated columns will slow down and the query.
I want the query to fold to work as it will only make the refreshes faster.
Thank you,
Proud to be a Super User!