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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ryand009
Frequent Visitor

Measure v Calculated Column

Hello

I’ve got a date time field in a table. I’m extracting the hour value into a calculated column. How I can do this in a measure,

 

SendDate                    SendHour

01/01/2020 01:45:23          1

01/01/2020 16:23:25          16

02/02/2020 10:03:09          10

 

Thanks in advance  

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @ryand009 ,

 

try this measure

 

HOUR(MAX(Facts12[SendDate]))
 
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

1 REPLY 1
mangaus1111
Solution Sage
Solution Sage

Hi @ryand009 ,

 

try this measure

 

HOUR(MAX(Facts12[SendDate]))
 
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.