Reply
SBULL
New Member

Date displaying differently after publication

Hello

 

I have built a visual that uses a slicer. I want the date to be dd mmm yyyy as below, which it is in desktop when I have built the report.

 

SBULL_0-1742903994406.png

For an unknown reason the slicer displays with the day in PBI browser, which is not desirable as it means the user can't actually see the date they are selecting.

 

SBULL_1-1742904132364.png

 

Does anyone know why this is happening and how I can fix so that it displays the same as in the desktop?

 

Thanks in advance

 

 

1 REPLY 1
AmiraBedh
Super User
Super User

This is a known behavior in Power BI Service: date slicers (especially dropdown ones) render differently than in Power BI Desktop. Specifically:

- In Power BI Desktop, the date format honors your model format or your system locale (dd mmm yyyy like 26 Mar 2025).
- In Power BI Service, dropdown slicers sometimes override that and display a long date format, like Wednesday, March 26, 2025, especially if the column is a DateTime or uses system locale defaults.


You need to force the desired format (dd mmm yyyy) across both Desktop and Service:

In Power BI Desktop, go to PQ editor, select your date column (Alt Fuel Bill date) and add a new column:

Alt Fuel Bill date (Formatted) = Date.ToText([Alt Fuel Bill date], "dd MMM yyyy")

Then use the new column in your slicer instead of the original date.

If you want to use DAX, you can create a new calculated column:

Formatted Date = FORMAT('YourTable'[Alt Fuel Bill date], "dd MMM yyyy")

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
avatar user

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)