3
Dates and Calendars
In just the first two chapters, you are already familiar with the majority of the functions that you will find useful when writing DAX. You will use those basic DAX functions as we explore more complex scenarios and calculations. However, an additional core area remains to be explored, and that subject is dates and calendars.
Dates and calendars are fundamental to nearly all Power BI semantic models. Being so fundamental, it should be no surprise that DAX has over 30 so called “time intelligence” functions designed to make complex date calculations “easy”. Unfortunately, DAX’s “time intelligence” functions are fundamentally flawed for a variety of reasons that will be made clear in this chapter. Instead, the No CALCULATE ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access