Forum Discussion
Changing Data Type problem
I load the data from SQL Sever by using Direct Query. The data type of Date column is Text, so I am trying to change the Text format to Date format, by going to Modeling tab and select the data column from the Fields pane, since this cannot be done in Edit Query due to the Direct Query mode. But it didn't work well. Can someboday help me with this problem? Thank you!
Basically that's saying that the column you're trying to convert to Date isn't all (valid) dates... Can't help without seeing your data but check for some weird/garbage values and try to filter them out.
6 Replies
- jahidaImpactful Individual
Basically that's saying that the column you're trying to convert to Date isn't all (valid) dates... Can't help without seeing your data but check for some weird/garbage values and try to filter them out.
- sunjin122Helper I
Thank you for your advice! It works!
- asriniva33Frequent Visitor
Hi,
Could you please let me know of the solution to this issue.
Regards,
Srinivas
- gvgPost Prodigy
Yes. But it always should be possible to set type to Text, right? But sometimes Text type selection is greyed out - don't know why ...