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
- shelbsassy8 years agoResolver I
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!
- JConnol47 years agoFrequent VisitorHi guys
I am having this issue and can’t figure out why. Do you have any ideas at all please?
I have appended two queries (new data for additional periods) but I am getting mismatch error when I refresh.
Was the solution to save dates as texts? When you say this what do you mean please?
Thanks again
James