DAX Function Guide

NEXTQUARTER
Empty image or helper icon

Sam McKay

CEO & Founder

How does the NEXTQUARTER work?
The NEXTQUARTER function (DAX) returns a table that contains a column of all dates in the next quarter, based on the first date specified in the dates column, in the current context.
NEXTQUARTER Formula Syntax

NEXTQUARTER(
     <dates>
)

How do you use the NEXTQUARTER?

This function returns all dates in the next quarter, based on the first date in the input parameter. For example, if the first date in the dates column refers to June 10, 2009, this function returns all dates for the quarter July to September, 2009.

Related Blog Posts

Loading

Considerations when using the NEXTQUARTER?

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 NEXTQUARTER

=CALCULATE(SUM(InternetSales_USD[SalesAmount_USD]), NEXTQUARTER(‘DateTime'[DateKey]))

= CALCULATE ( SUM (Sales [Sales Amount]), NEXTQUARTER (Sales [Date]) )

Related Courses

Loading