DATESQTD Function (DAX)

How does the DATESQTD function (DAX) work?

The DATESQTD function (DAX) returns a table that contains a column of the dates for the quarter to date, in the current context.

DATESQTD Formula Syntax

DATESQTD(
     <dates>
)

How do you use the DATESQTD function?

The DATESQTD function can be used to calculate the Week to Date Summations.

Related Blog Posts

 

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

=CALCULATE(SUM(InternetSales_USD[SalesAmount_USD]), DATESQTD(DateTime[DateKey]))

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

= CALCULATE( SUM(FactInternetSales[SalesAmount]), DATESQTD( FactInternetSales[OrderDate].[Date] ) )

Related DAX Functions

DATESQTD
DATESMTD
 

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI