DAX Function Guide
FIRSTDATE
Sam McKay
CEO & Founder
How does the FIRSTDATE work?
FIRSTDATE Formula Syntax
FIRSTDATE(
<dates>
)
How do you use the FIRSTDATE?
The FIRSTDATE function can be used as a parameter to any DAX function that requires a table in its parameters. Further, the returned value can be used wherever a date value is required.
Related Blog Posts
Loading
Considerations when using the FIRSTDATE?
The dates argument can be any of the following:
- A reference to a date/time column.
- A table expression that returns a single column of date/time values,.
- A Boolean expression that defines a single-column table of date/time values.
When the current context is a single date, the date returned by the FIRSTDATE and LASTDATE functions will be equal.
Related Video Tutorials
Loading
Formula examples using the FIRSTDATE
=FIRSTDATE(‘InternetSales_USD'[SaleDateKey])
= FIRSTDATE (Sales [Date])
=FIRSTDATE(Calc_Date_T[CRASH_DATE])
Related Courses
Loading