DAX Function Guide

DATESQTD
Empty image or helper icon

Sam McKay

CEO & Founder

How does the DATESQTD 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?

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

Related Blog Posts

Loading

Considerations when using the DATESQTD?

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 DATESQTD

=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 Courses

Loading