Forum Discussion
DataSource.Error: ERROR [22007] [Microsoft][Support] (40490) Invalid date, time or timestamp value.
Hi, julsr
Based on your description, you can try the following method to solve the problem.
1. Check and Adjust Date/Time Formats, ensure that the date, time, or timestamp columns in your Snowflake database are in a format that the ODBC connector can correctly interpret. You may need to adjust the query you're using in Power BI to cast these columns to the appropriate format.
2. Update ODBC Driver, make sure you are using the latest version of the ODBC driver for Snowflake. An outdated driver might not handle date, time, or timestamp values correctly.
Snowflake ODBC Driver 32/64-bit: Download connector for integration and sync (devart.com)
Best Regards,
Yang
Community Support Team
If there is any 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 us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum