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
Anonymous
6 years agoNot applicable
Tgilchrist: I would actually import those fields directly from SQL as DateTime, and then format the fields to show either or date or time. You will have to do this anyway to get the right format to show when you build the report.
az38
6 years agoCommunity Champion
Anonymous as I understand Tgilchrist the problem appears already in Power Query.