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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ajay_gupta_ga
New Member

I am trying to convert the HH:mm value to decimal

I am trying to convert one of the mysql table value which is in HH:MM to decimal , can anyone can help with DAX way..becuase i tried to convert the data type of this column from text to time but it was not gets convert.

 

ajay_gupta_ga_0-1677498493662.png

 

1 REPLY 1
croberts21
Responsive Resident
Responsive Resident

Is TIMEVALUE() what you want? https://learn.microsoft.com/en-us/dax/timevalue-function-dax 

Remark: "

  • Time values are a portion of a date value and represented by a decimal number. For example, 12:00 PM is represented as 0.5 because it is half of a day."

DAX function reference is here. It's very handy. https://learn.microsoft.com/en-us/dax/dax-function-reference 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.