Forum Discussion
Cymbolz
Helper III
7 years agoUnderstanding DATESYTD, DATESBETWEEN and similar functions
I am trying to understand what is happening beneath the surface with functions like DATESYTD and DATESBETWEEN. The scenario: A measure [Total] A calendar table Calendar with columns Date, Year...
- 7 years ago
The reason is explained in this article: https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/
Cymbolz
Helper III
7 years agoGiving this a slight bump. Anyone?
Cymbolz
Helper III
7 years agomarcorusso time for the super heros of DAX to have an input? :)
- marcorusso7 years ago
Most Valuable Professional
The reason is explained in this article: https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/
- Cymbolz7 years ago
Helper III
Thank you marcorusso, hit the nail on the head (again!).
Mid-way through the article I was saying to myself "but it works irrespective of Mark as Date table" as that was part of my testing. Only a couple of paragraphs later did I read about when the Date column is the key in the relationship.
My life feels much more complete now :smileyvery-happy: