Forum Discussion
Tgilchrist
6 years agoFrequent Visitor
SQL column as Date type format converting to Date/Time during Query Editor Import
Hello all, As stated in the subject I'm having an issue with a SQL column formated as a Date type being recognized by the Query editor as Date/Time. I have already disabled both "Auto date/...
- 6 years ago
Hi Tgilchrist ,
I found the following answer.
Date format is DateTime only set to midnight.
https://community.powerbi.com/t5/Desktop/Change-datetime-format-to-date-in-SQL/td-p/441602
az38
6 years agoCommunity Champion
Hi Tgilchrist
Just curious, why is this such a problem?
anyway, try to play with CAST or CONVERT
I think
CAST(Timestamp as nvarchar(10))
could help you
SusieN
5 years agoRegular Visitor
This does cause a problem when you want to use the date field with slicers or as values in tables - having the redundant time element is just messy and looks as though you can't be bothered to format properly. Where in reality I can't find a way to format to just date.