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]) )