Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |