Date intelligence measures are often at the center of the most visible Power BI reports and dashboards as well as more complex business analyses. Therefore, given the unique requirements of each organization and BI project, it's important to understand how to go beyond the standard patterns described in the previous recipe to efficiently embed custom logic. Additionally, the ability to answer the business question "When did X occur (or not occur)?" is a powerful supplement to data models that can be supported via DAX measure logic.
In this recipe, an example is provided of a measure that identifies the dates in which sales were not recorded for a specific region and product category. In the second example, a custom Prior Year-to-Date measure is described with default (no filter) behavior and the exclusion of incomplete...