How to Manage Date Formats in the Power BI Service

By:   |   Updated: 2021-04-22   |   Comments (1)   |   Related: > Power BI


Problem

According to this Wikipedia article, the legal and cultural expectations for date and time representation vary between countries, and it is important to be aware of the forms of all-numeric calendar dates used in a particular country to know what date is intended.

The above point is true when we talk about date formats in Power BI. Usually, when we create reports with date on slicers in Power BI Desktop the format of the date can be easily set to how business users would like it to be like. However, what I have noticed among business users is that they tend to connect to Power BI Service using different browsers like Edge, Chrome, or Internet Explorer. This is where the issues might come in, where the default date formats on these browsers are not in the format required by the business users, thus leading to some challenges in understanding the dates.

To resolve this issue and configure your Power BI Service to display the right date formats in each browser kind you use, I have outlined in this article how to manage this.

Solution

To demonstrate this, I have created a date slicer in Power BI Desktop as seen in the diagram below and configured it to display in "dd/mm/yyyy" datetime general date. This might be different in your case, but the point here is that this date format might be different from what you would see once the report is published to Power BI Service.

Slicer Visual showing date slicer in Power BI Desktop

The diagram below shows the same slicer visual after being published to Power BI service. In this case I am using Microsoft Edge as my browser, in your case it might be other browsers.

Slicer Visual showing date slicer in Power BI Service

As can be seen in the diagram above, the date format is changed after publishing, this might confuse business users as they might prefer a different date format to the above.

First thing to do is we need to verify what language our Power BI Service currently use. To do this, follow the following steps below:

  1. Go to settings page at the top right-hand corner of Power BI Service and select "Settings"
Diagram showing navigation to Settings page in Power BI Service
  1. Select Language and check if your language setting is on "Default (browser language)" as seen in the diagram below.
Diagram showing Settings page in Power BI Service

So, if this is set on default, then we need to manage the date format on our preferred browsers. In this article I will describe how to do this on Chrome, Edge, and Internet Explorer.

Managing date format in Chrome Browser

To do this in Chrome browser do follow the following steps:

  1. Go to the top right-hand corner of your Chrome page and click on the ellipsis and then navigate to "Settings" as seen in the diagram below
Diagram showing navigation to Settings page in in Chrome browser
  1. Next, at the top of the page, on the search bar search for "Language" as seen in the diagram below
Searching for Language section of Chrome Settings page

If your date format was not accurate as mine earlier, you should see here that the order of your language lists in the diagram above might have been in another language (most usually "English (United States"). So, to change this you need do step 3 below or if you don't have your language option there at all check the method used in adding your preferred language in Step 3 of Edge browser demonstration further below.

  1. Move your preferred language to top of the list as seen in the diagram below. The topmost language determines the date format of your reports opened in Power BI Service via Chrome browser. Just click on the ellipses at the front of your preferred language and select "Move to the top".
Diagram showing how to change default language in Settings page of Chrome browser
  1. Refresh your browser and you should now be able to see the language page as below.
Diagram showing United Kingdom as default language in Chrome browser

After these steps, just go back to Power BI Service as opened in Chrome and refresh the page, and the magic is done as seen in the diagram below.

Diagram showing new date format in Date Slicer in Power BI Service

Managing date format in Edge Browser

To manage this in Edge browser follow the following steps:

  1. Go to the to right-hand corner of the Edge browser and click on the ellipses and navigate to "Settings" as seen in the diagram below
Diagram showing navigation to Settings page in in Edge browser
  1. Next, select "Languages" on the left-hand pane on the settings page as seen in the diagram below.
Selecting Language section of Edge browser Settings page
  1. Then, if you do not have your preferred language listed as can be seen in mine in the diagram below, you would need to add it as described.
Diagram showing how to change default language in Settings page of Edge browser 1

In the diagram above, I don't have "English United Kingdom" listed, so I would need to add it to the list by clicking on the "Add languages" tab as shown in the diagram below, then on the search bar enter "English" and choose "English (United Kingdom) as seen in the diagram below. Please note that I have used English United Kingdom in this example, your language or date format requirement might be different, but all you need is just follow the steps and apply your own requirements accordingly.

Then click "Add".

Diagram showing how to change default language in Settings page of Edge browser 2
  1. Next, move the new language to the top of the list as seen in the diagram below. Just click on the ellipses at the front of the new preferred language and select "Move to the top".
Diagram showing how to change default language in Settings page of Edge browser 3
  1. Refresh page once the language has been moved up the list as seen in the diagram below. Then as before, go refresh the Power BI Service page in Edge browser and the magic is done as before.
Diagram showing United Kingdom as default language in Edge browser

Managing date format in Internet Explorer Browser

Managing date formats in Internet Explorer is a little bit different from the other two we have looked at initially. To do this you need to follow the following steps:

  1. Click on the settings Icon at the top right-hand corner of the Internet Explorer browser and then navigate to "Internet options" as shown in the diagram below.
Diagram showing navigation to Settings page in in Internet Explorer browser
  1. On the new window opened, on the "General" tab, click on "Languages" at the bottom of the window as seen in the diagram below.
Selecting Language section of Internet Explorer browser Settings page
  1. On the new Language preference window opened click on "Set Language Preferences" as seen in the diagram below. This should navigate you to the Languages Settings Home page.
Selecting Language section of Internet Explorer browser Settings page 2
  1. Within the languages home page ensure your preferred language is listed in the "Preferred Languages" section as seen in the diagram below. Otherwise, you should add your language by clicking on "Add a language".
Diagram showing how to change default language in Settings page of Internet Explorer browser
  1. If you have more than one languages listed in the "Preferred Languages" section, then you would need to ensure the language you prefer is listed at the top as this would determine what date format you would get in Power BI Service.

To do this in Internet Explorer click on your preferred language after creating it or if it exists in the list but not at the top (note your preferred language in Internet explorer would appear on the section "Windows display language"), then click on the upward facing arrows to move it to the top as seen in the diagram below.

Diagram showing how to change default language in Settings page of Internet Explorer browser 2

Once this is done, as usual refresh your page and the magic is done.

In summary, we have learnt how to configure three different browsers to adapt to date formats we created in Power BI Desktop so end users can see their preferred dates in the way they require it. If you are using any other browser apart from the ones discussed in this article, I would advise you open your Power BI Service in these described browsers if possible.

Next Steps
  • See this article from Superfab.com for some more reading.
  • You can see some more ideas from nForm.com.au here.
  • Checkout this blog article from foumoo.com here.

Learn more about Power BI in this 3 hour training course.


Click here to start the Power BI course






sql server categories

sql server webinars

subscribe to mssqltips

sql server tutorials

sql server white papers

next tip



About the author
MSSQLTips author Kenneth A. Omorodion Kenneth A. Omorodion is a Business Intelligence Developer with over eight years of experience. He holds both a bachelor’s and master’s degree (Middlesex University in London). Kenneth has the MCSA, Microsoft Data Analyst - Power BI and Azure Fundamentals certifications. Kenneth is a Microsoft Certified Trainer and has delivered corporate training on Power BI, SQL Server, Excel and SSRS.

This author pledges the content of this article is based on professional experience and not AI generated.

View all my tips


Article Last Updated: 2021-04-22

Comments For This Article




Monday, January 24, 2022 - 7:12:25 PM - Eddie Back To Top (89692)
Hi Kenneth,

I've follow-up your steps for Chrome but cannot get this to work for me. Can you think of any 'gotcha's' that might affect your solution?














get free sql tips
agree to terms