557 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owls only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
How to use DAX date-based functions in Analysis Services tabular model Part one of a six-part series of blogs |
---|
There are some wonderful date functions in DAX, with evocative names like TotalYtd, SamePeriodLastYear and ParallelPeriod. This blog shows how to use DAX date functions to summarise data, assuming that you have already created a calendar table.
This blog is part of our online SSAS Tabular tutorial; we also offer lots of other Analysis Services training resources. |
This blog introduces some of the main useful date functions in DAX:
The main date functions which you can use in SSAS Tabular.
The functions that we'll meet are:
Blog | Functions |
---|---|
Cumulative totals |
TotalYTD, TotalQTD, TotalMTD DatesYTD, DatesQTD, DatesMTD |
Comparison with previous periods | SamePeriodLastYear, DateAdd |
Parallel periods | ParallelPeriod |
Moving averages | DatesBetween, NextDay, LastDate |
Semi-additive measures | FirstDate, LastDate, FirstNonBlank, LastNonBlank |
We'll begin with one of the simplest things you can do with date functions: show cumulative totals to date.
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2023. All Rights Reserved.