Forum Discussion
AlexHolmeset
Helper III
8 years agoChange 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
MattAllington
Community Champion
8 years agoYou should be able to set this in the modelling ribbon, date format
- AlexHolmeset8 years ago
Helper III
like this? It still reads as mm-dd-yyyy.
- Anonymous8 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
- AlexHolmeset8 years ago
Helper III
Thanks for the replies. Change region to english(united states) but still the same.
Il take a look at converting in SQL.