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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply

Time Intelligence - Date format changing every time the report refreshes

Hi All,

The format of fct table in my report changes from - dd/mm/yyyy to mm/dd/yyyy when the report is refreshed on server.
But this format change happens only where dates are less than 12.
Eg - 11-Jun-24 & 24-Jun-24

format in PBI Desktop & Before refreshing on serverAfter
11/06/202406/11/2024
24/06/202424/06/2024


The date formats have been maintained as dd/mm/yyyy from query level and in pbi column formatting as well.

1 ACCEPTED SOLUTION
v-xuxinyi-msft
Community Support
Community Support

Hi @SahityaYeruband 

 

Thanks for the reply from uzuntasgokberk .

 

SahityaYeruband, did you create the report in Power BI Desktop RS and then upload it to Power BI Report Server? If so, you can also try the following:

 

Do the following in Power Query.

vxuxinyimsft_0-1731907449343.png

 

vxuxinyimsft_1-1731908679555.png

 

In the Locale option select a locale that displays dates in day/month/year format.

vxuxinyimsft_2-1731908776377.png

 

Power BI reads dates according to the date format of the region. Since the month will not exceed 12, Power BI will recognize that 24 is date rather than month. However, for 11, Power BI will automatically read the data according to the date format of your region. If the format of your region is month, day, and year, Power BI will read the date according to the month, day, and year, and then display it according to the "dd/mm/yyyy" you set.

 

The above method forces Power BI to read the date in a day/month/year format.

 

Output in Report Server after refresh:

vxuxinyimsft_3-1731909286336.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-xuxinyi-msft
Community Support
Community Support

Hi @SahityaYeruband 

 

Thanks for the reply from uzuntasgokberk .

 

SahityaYeruband, did you create the report in Power BI Desktop RS and then upload it to Power BI Report Server? If so, you can also try the following:

 

Do the following in Power Query.

vxuxinyimsft_0-1731907449343.png

 

vxuxinyimsft_1-1731908679555.png

 

In the Locale option select a locale that displays dates in day/month/year format.

vxuxinyimsft_2-1731908776377.png

 

Power BI reads dates according to the date format of the region. Since the month will not exceed 12, Power BI will recognize that 24 is date rather than month. However, for 11, Power BI will automatically read the data according to the date format of your region. If the format of your region is month, day, and year, Power BI will read the date according to the month, day, and year, and then display it according to the "dd/mm/yyyy" you set.

 

The above method forces Power BI to read the date in a day/month/year format.

 

Output in Report Server after refresh:

vxuxinyimsft_3-1731909286336.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-xuxinyi-msft , thank you for the solution, i just implemented it, willhave to test it out for a few days. Hopefully it works out 🙂

Hi @SahityaYeruband 

 

Thanks for your feedback. Hope it works!😊

 

Best Regards,
Yulia Xu

Hi @v-xuxinyi-msft,
It worked.
The issue I think was the data type of the column used in the DB Table. For testing I had also added a new column to my sql, which was to_date conversion of this text column. That worked too.

uzuntasgokberk
Solution Sage
Solution Sage

Hello @SahityaYeruband ,

From Chrome or Edge it formats automatically of your language. You can choose the correct language from the web browser.

Best Regards,
Gökberk Uzuntaş

LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/

Medium: https://medium.com/@uzuntasgokberk

 

İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.

Hi @uzuntasgokberk , 
I have made the language change in the browser and in the pbix set to default browser language. Still the same issue.

What confuses me is that for dates <12 the format changes to mm/dd where as for the other dates it remains dd/mm. all of this in the same visual .. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.