Hello,
I am encountering difficulties using ALLEXCEPT. Have also tried ALL and ALLSELECTED but none seem to work.
We have the following dataset:
Security | Date | Amount |
XYZ | 12/31/2020 | 468 |
XYZ | 3/31/2021 | 657 |
XYZ | 6/30/2021 | 389 |
The date column of this field joins to the date field in our date table - not sure if that impacts this.
What we need to do is get the MAX(Date) which is LESS THAN the given filters/context dates.
So, if filtered (and context) date range is 1/1/2021-3/31/2022 - we need to return date 12/31/2020 - which is 'outside' of the filtered date dataset. So, need to remove any filters related to that date column.
Currently have this:
Solved! Go to Solution.
A measure with the code below shall work:
Simple enough
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
A measure with the code below shall work:
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!