Forum Discussion
AlexHolmeset
8 years agoHelper III
Change date format?
SQL store the dates as yyyy-dd-mm(collumn is string and not datetime): Power BI shows the date as mm-dd-yyyy(i have for testing coppied the data to excell and set the collumn as date format): ...
- 8 years ago
I set this on top in my insert sql query:
SET DATEFORMAT dmy;now its working as it should :-D
AlexHolmeset
8 years agoHelper III
like this? It still reads as mm-dd-yyyy.
Anonymous
8 years agoNot applicable
You could change the locale in option.
Go to options and regional settings and select your choice.
If it still doesnt work after you have changed the format in modelling tab, do an explict conversion in SQL e.g (CONVERT(Varchar, Date, 102).
Regards
Yomi