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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nathangriffiths
Regular Visitor

Power BI refresh failing with ODBC "Invalid date, time or timestamp value" error on Snowflake

Hi,

One of our Power BI datasets often (but not always) fails to refresh from a Snowflake connection and throws an error of:

 

ODBC: ERROR [22007] [Microsoft][Support] (40490) Invalid date, time or timestamp value.

 

We thought it may be related to an issue with the Snowflake driver version Power BI is using (also discussed in this thread https://community.powerbi.com/t5/Service/ODBC-ERROR-22007-Microsoft-Support-40490-Invalid-date-time-...

 

However if we run SELECT CURRENT_CLIENT() in Power BI it returns version 2.24.3 for the Snowflake driver which is a newer version of the Snowflake ODBC driver than the one where the issue discussed in that thread was supposedly resolved (2.24.2) .

 

Can anyone suggest another reason why we would intermittently see this error when refreshing from Snowflake?

 

From the Snowflake ODBC driver change log:

nathangriffiths_0-1649116643296.png

 

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi @nathangriffiths ,

 

It’s a new known issue in our internal team and they have declared the part of the fix will be available in product environment before middle April. Currently, please retrigger the refresh as the workaround.

 

Issue description:

Power BI customers using Snowflake data source may see following refreshes issues intermittently. • Long refresh times and failures with an Access Violation error in the driver • ODBC: ERROR [22007] [Microsoft][Support] (40490) Invalid date, time or timestamp

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

4 REPLIES 4
julsr
Resolver III
Resolver III

This error is happening again. Is there a workaround, or what should I do?

v-cazheng-msft
Community Support
Community Support

Hi @nathangriffiths ,

 

It’s a new known issue in our internal team and they have declared the part of the fix will be available in product environment before middle April. Currently, please retrigger the refresh as the workaround.

 

Issue description:

Power BI customers using Snowflake data source may see following refreshes issues intermittently. • Long refresh times and failures with an Access Violation error in the driver • ODBC: ERROR [22007] [Microsoft][Support] (40490) Invalid date, time or timestamp

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

Hi, it's now 26th May and we have not received any update on this, was a fix deployed?

Hi, it's now 20th April - is there any further update on this issue? Was the fix deployed?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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