TIMEVALUE DAX Function in Power BI
The TIMEVALUE DAX function in Power BI converts a time in text format to a time in datetime format.
DAX Syntax TIMEVALUE(time_text)
The parameter of the function is time_text, which specifies th text string that that represents a certain time of the day. Any date information included in the time_text argument is ignored.
Example: Convert the text into a time value.
DAX
TIMEVALUE Measure = TIMEVALUE("20:30:15")
The output of the above code is shown below:
