DATEVALUE DAX Function
The DATEVALUE DAX Function converts a date in text format to a date in datetime format.
DAX Syntax DATEVALUE(date_text)
The date_text parameter specifies the text that represents a date.
Example: Let’s create the measure.
DAX
DATEVALUE Measure = DATEVALUE("14/03/2025")
The output of the above code can be shown in a card visual as shown in the image below:
