Forum Discussion
Type mismatch when refreshing date column
- 8 years ago
Thanks for responding Anonymous
I did some more research and was able to do an alter table alter column in sql to change the value to date and then power bi brought it in perfectly. Thanks!
HI shelbsassy,
What is the format you stored date value, can you share some example?
In my opinion, I'd like to suggest you use text format to stored these date, then use Date.FromText to convert format.
BTW, I don't think power bi will support analysis timestamps as date, if you use any specific timestamps to store date value, you need to convert timestamps to normal datetime before you change column type.
Regards,
XiIaoxin Sheng
Thanks for responding Anonymous
I did some more research and was able to do an alter table alter column in sql to change the value to date and then power bi brought it in perfectly. Thanks!