Reply
AmitTailor27
Regular Visitor

Report sells date datetime format automatically changes from 24hr format to 12Hr format

Hi All ,

 

I need help to check issue !!

 

I have created dashboard in which on desktop addition its time format in 24H example (26-01-2024 13:33:00) but when I am publishng it on services , it is automatically changes to (26-01-2024 01:33 PM ).

 

According to my requirement I need it 24 hr format on both dektop and services .

 

Thanks

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @AmitTailor27 ,

 

Try to force the change of the date/time to a timezone:

MFelix_0-1730975177433.png

The default ones used by Power BI usually revert to the ones on the service because you are not setting it has a fixed value.

 

Also try to for the format on the column in the desktop instead of using the default one that may match your computer but changing location also change that format:

MFelix_1-1730975284145.png

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
AmitTailor27
Regular Visitor

hi @MFelix ,

 

Thank you issue resolved!!

AmitTailor27
Regular Visitor

Hi @MFelix ,

 

I have tried Solution suggested by you .

 

on Transformation data I have fixed date format .

 

AmitTailor27_0-1730975950175.png

 

after that data looks fine on PowerBi desktop .

 

AmitTailor27_1-1730976004092.png

 

 

but after publishing it again changed to 12h format .

AmitTailor27_3-1730976058054.png

 

Please help !!

 

Hi @AmitTailor27 

 

You also need to force the format of the column, on the images below you can see two values one with the default value and the other (2) with the force date check the image on Desktop and on service:

 

MFelix_1-1730977035461.png

 

MFelix_0-1730977021430.png

MFelix_3-1730977061115.png

 

 

You can see that on the service date 2 is having the correct value use the following code for the format:

 

dd/mm/yyyy hh:mm:ss

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @AmitTailor27 ,

 

Try to force the change of the date/time to a timezone:

MFelix_0-1730975177433.png

The default ones used by Power BI usually revert to the ones on the service because you are not setting it has a fixed value.

 

Also try to for the format on the column in the desktop instead of using the default one that may match your computer but changing location also change that format:

MFelix_1-1730975284145.png

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 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)