TODAY DAX Function in Power BI

The TODAY dax function returns the current date in a datetime format.

DAX Syntax TODAY()

Example: Let’s get the today’s date using the DAX function.

DAX

TODAY Measure = TODAY()

The card visual can be used to show the output of the above measure, as shown in the image below:

TODAY dax function in Power BI

Example: Let’s get the year component from the today’s date.

DAX

YEAR component = Year(TODAY())

The card visual can be used to show the output of the above measure, as shown in the image below:

TODAY dax function in Power BI