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
AlexHolmeset
Helper III
8 years agolike 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
- 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.- alexbalazsalex8 years ago
Helper IV
Could you try to re add the slicer or date column to your visualisation after changing your local settings :)
Alex.
- AlexHolmeset8 years ago
Helper III
I set this on top in my insert sql query:
SET DATEFORMAT dmy;now its working as it should :-D