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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

3 REPLIES 3
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors