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.



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 ( ‘Date'[date] )


Related DAX Functions


Related Course Modules



Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.

Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide