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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
maneschr2022
Helper II
Helper II

DAX to change datetime format without mins and seconds

Hi I would like to use a dax to change the datetime format from ex: 11/03/2023 11.36.27AM to 11/03/2023 11.00 AM.

I just would like to convert the datetime values to show dates and hours but not the mins and seconds associated to it.

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @maneschr2022 
You can use

= TIME ( HOUR ( [TimeMeasure or TimeColumn] ), 0, 0 )

View solution in original post

4 REPLIES 4
tamerj1
Super User
Super User

Hi @maneschr2022 
You can use

= TIME ( HOUR ( [TimeMeasure or TimeColumn] ), 0, 0 )
maneschr2022
Helper II
Helper II

@FreemanZ Hi, I want to be able to transform the mins to show them as 00, instead of value, example if time is 11.38AM I want to show it as 11.00AM, if that make sense?

FreemanZ
Super User
Super User

you may also change it with some mouse click:

FreemanZ_0-1675838240427.png

 

FreemanZ
Super User
Super User

hi @maneschr2022 

try like:

Column = FORMAT([datetime], "m/d/yyyy hh.mm AM/PM")

it worked like:

FreemanZ_1-1675837927218.png

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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