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