Quarter-to-date measures rely on this DAX time intelligence function, which yields each date between the quarter's first day and whatever latest date the current context holds.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains DATESQTD in context, with comparison tables and the common traps.
Terms in this definition
- RELY
Tells the optimiser it can depend on a primary key or unique constraint when rewriting queries, perhaps dropping a join or a
DISTINCT. The keys remain unenforced, and this works only on serverless compute or on pro or serverless SQL warehouses. - DAX
Short for Data Analysis Expressions, the formula language you write measures, calculated columns and row-level security rules in, within tabular semantic models in Power BI, Excel Power Pivot or Analysis Services.
- Time intelligence
Covers DAX functions (TOTALYTD, DATEADD, SAMEPERIODLASTYEAR and others) that shift or accumulate filtered dates. Classic versions require a contiguous, marked date table; calendar-based versions, still in preview, rely on defined calendars.
- FUNCTION
Registered models count as functions in Unity Catalog, so this securable type governs them too: access is given through
GRANT ... ON FUNCTION, and REST calls passFUNCTIONassecurable_type. - DATE
A calendar date in SQL: just the year, month and day, and no time zone is attached.
- FIRST
A DAX function available only inside visual calculations. It fetches the value at the start of one axis of the visual's matrix, which makes it handy for comparing each point with the first; its opposite is LAST.