NEXTQUARTER Function (DAX)

How does the NEXTQUARTER function (DAX) 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 function?

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

Related Support Forum Posts

Dax Calculation question
Dax not working
DAX Buffer Calculation Query

Considerations when using the NEXTQUARTER 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 NEXTQUARTER function

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

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

Related DAX Functions

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


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
Membership