Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
metricsman
Helper I
Helper I

Date format changing desktop to web

I have a dashboard that when publishing to web the format of the date in the slider changes. 

 

Example on desktop:

 

Screen Shot 2017-01-23 at 1.19.59 PM.png

The date is in "uk' format, DD/MM/YYYY

 

but when published the same slider shows in USA format when acessing it on the web:

 

Screen Shot 2017-01-23 at 1.25.16 PM.png

 

Strangely on both other formats such as list show "uk" format:

 

Screen Shot 2017-01-23 at 1.30.53 PM.png

 

The original date is of the format YYYY-MM-DD, ie 2017-01-31 which is "transformed" on input using locale (uk).  Modelling setting then used to get the required display format.

 

Seems strange that on the web, list is UK format, select between/before/after is USA format, any ideas ?

 

Thanks!

 

1 ACCEPTED SOLUTION
JonBaylis
Advocate III
Advocate III

CC: @WillT 

 

Hi all,

 

Fixed it!!!! - Well my DBA colleague found the solution.

 

The reason it was working for some users and not others is the following:

 

When a user had their default language set to English UK then their language setting in Power BI would remain unset.
When a user had their default language set to English US then their language setting in Power BI would get set to English.


(This is why we had some users working properly)

 

There appears to have been an update on the Power BI Service recently that allows you to set the language setting to respect the browser settings again.


(This was not the case earlier this year http://community.powerbi.com/t5/Service/Language-Settings-Power-BI-Cannot-set-to-British-English/td-... )


This means, you can now correct your language in your browser and then setting the Power BI Service language to default and the issue should be fixed.

 

To do this:

 

Change your browser language to English (UK) (or relevant language).

 

IE: Set IE Default Language (same for IE 11)

 

Chrome: Set Chrome Default Language


Then, in the Power BI Service, under Settings > Language, set it to Default (browser language).

 

Choosing this means the dates in my reports are now in the correct format, DD/MM/YYYY. Smiley Happy

 

Thanks,
Jon

 

Twitter: @JonBaylis

View solution in original post

36 REPLIES 36
paul_hancock
Frequent Visitor

Excellent Work, ive been looking for a solution to this for ages 👍

skanord
Advocate II
Advocate II

I know this is an old post, but in case others are still struggling with this, i found a very simple solution!

 

When you select the date format in the ribbon, do not select the two first options called "short date" and "long date". These date formats changes when the report is published.

Instead choose one of the other options, where it explicitly states the format of the date, for example: (dd-mm-yyyy)

 

Skærmbillede 2022-09-09 154934.png

Excellent!!! I was struggling with this issue for ages!!! Now - so simple!!! - worked like a cham!!! Thanks a lot for sharing!!!

@skanord 

Fantastic

Thank you

thank you @skanord , this post was helpful

Thanks 

Thank you! This resolved the issue for me. Very informative. 

dan_duluard
Regular Visitor

This issue hasn't affected us until last week - early June 2021. Anyone else having trouble with date slider on Power Bi Server showing US-formatted mm/dd/yyyy dates instead of the UK-formatted dd/mm/yyyy ones I have formatted in Desktop?
I've double-checked data/date formats, toggling between types. Also tried browser language settings and Power Bi Region settings, all to no avail.
   To be clear it only affects the slider/'Between' view of a date filter. Other views (eg Dropdown, List, etc) are OK and retain UK dd/mm/yyyy formatting from desktop to server.
   This feels like a reoccurence of the old problems shown in this chat from 2018/2017 and wondering if a recent update has caused it? Any clues, ideas, similar recent experiences all gratefully received.
Thanks

This is happening to me now, I thought it was just the browser had reverted back to US but ran through the steps changed language settings in Chrome to English UK then in Power Bi to browser default, this did not work so reset my browser to original settings and did the steps again. Still no joy some pages are UK but some are still US. Please help!

Anonymous
Not applicable

THIS IS ABSURD!!! How can the browser language define the date format being loaded via gateway??? Smiley Mad

My project is pt-BR, DD/MM/YYYY, but I share with a branch in China, thus the Power BI Service must be in English, which is MM/DD/YYYY. I cannot lock my browser and PBI Service in pt-BR, but my data must stay DD/MM/YYYY as it is in my pbix! Smiley MadSmiley MadSmiley MadSmiley MadSmiley MadSmiley MadSmiley Mad

Hi , I'm sorry I don't find a solution despite any of your messages.

On my Desktop the date format is correct (ddmmyyyy) but on the webservice it becomes mmddyyyy, independantly from my regional settings, language etc.

On my computer regional language is French, on google chrome it is french as well, on PBI webservice it is set as default browser settings.

If I insert the ?language in the url it translates the interface but does not interfere with my date format.

 

 

Anonymous
Not applicable

Yes, I'm still having the issue in both IE and Chrome. I've set the browser language to UK, set the language in the Power BI portal to Default(Browser) but it is still showing US format rather than UK.

 

Help please 😞

zivhimmel
Resolver I
Resolver I

I've written an article summarizing how to deal with the date format in date slicers. Here it is:

https://superfarb.com/power-bi-customising-date-format/

 

JonBaylis
Advocate III
Advocate III

CC: @WillT 

 

Hi all,

 

Fixed it!!!! - Well my DBA colleague found the solution.

 

The reason it was working for some users and not others is the following:

 

When a user had their default language set to English UK then their language setting in Power BI would remain unset.
When a user had their default language set to English US then their language setting in Power BI would get set to English.


(This is why we had some users working properly)

 

There appears to have been an update on the Power BI Service recently that allows you to set the language setting to respect the browser settings again.


(This was not the case earlier this year http://community.powerbi.com/t5/Service/Language-Settings-Power-BI-Cannot-set-to-British-English/td-... )


This means, you can now correct your language in your browser and then setting the Power BI Service language to default and the issue should be fixed.

 

To do this:

 

Change your browser language to English (UK) (or relevant language).

 

IE: Set IE Default Language (same for IE 11)

 

Chrome: Set Chrome Default Language


Then, in the Power BI Service, under Settings > Language, set it to Default (browser language).

 

Choosing this means the dates in my reports are now in the correct format, DD/MM/YYYY. Smiley Happy

 

Thanks,
Jon

 

Twitter: @JonBaylis

It worked !! Thanks a lot

But changing browser language is not a solution and only the result of lack of understanding of international needs. Date formats do not follow traditional national languages. In business you often operate in American English but need your own time and date formats - especially the ISO date and time format, which any serious international organization should use.
You should always be able to chose that - also in the browser.

Thanks for this - I only just noticed this formatting issue and you already had a solution for me.  Cheers!

Hi what about powerbi embedded how we can make sure what regional settings are being used?  I am dealing with a problem that my computer settings are different to what my customers expect and at the same time, I want to avoid having to change settings in my pc. What happened is that all date pickers in the embedded application were showing my (polish) date formatting I tried to solve it in data model by changing the data type with locale set to danish but it didn't help.  

Thank you. It fixed the problem!

Worked for me. Thanks a lot!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.