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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.