STARTOFQUARTER Function (DAX)
How does the STARTOFQUARTER function (DAX) work?
The STARTOFQUARTER function (DAX) returns the first date of the quarter in the current context for the specified column of dates.
STARTOFQUARTER Formula Syntax
STARTOFQUARTER(
<dates>
)
How do you use the STARTOFQUARTER function?
This function filters <Dates> into a 1-row, 1-column table that shows only the earliest date, in the entire <Dates> column devoid of all filters, that is in the same year and quarter as the earliest visible date in <Dates>.
Related Blog Posts
Related Support Forum Posts
Custom quarter ending on 3rd Friday of quarter’s last month
Comparing New vs Lost vs Steady Customers over Multiple Years – Customer Churn Examples – Advanced DAX
Using current trend to forecast sales
Considerations when using the STARTOFQUARTER function
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.
Related Video Tutorials
Formula examples using the STARTOFQUARTER function
=STARTOFQUARTER(DateTime[DateKey])
STARTOFQUARTER ( ‘Date'[date] )