DAX Function Guide

STARTOFQUARTER
Empty image or helper icon

Sam McKay

CEO & Founder

How does the STARTOFQUARTER 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?

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

Loading

Considerations when using the STARTOFQUARTER?

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

Loading

Formula examples using the STARTOFQUARTER

=STARTOFQUARTER(DateTime[DateKey])

=STARTOFQUARTER(DateTime[DateKey])

Related Courses

Loading