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

Related Support Forum Posts

Dax Calculation question
Dax not working

Q&A feature – removing DAX or will DAX stay?

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

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