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.
Hi,
I created the following measure to show top 2 and bottom 2 salesmen (example "bottom 2";
Bottom 2 names =
VAR Sales = RANKX(ALL(Ark1[Name]);[Sale];;ASC)
RETURN
IF( Sales <= 3;[Sale];BLANK())
It works fine but when I slice on department "a" and "b" only the measure for top 2 works and bottom 2 doesnt show anything unless I "fix" the measure; "...IF( Sales <= 5;[Sale];BLANK())"
Thanks
regards,
Mikkel
It seems that you may use ALLSELECTED Function instead of ALL Function.
Doesnt seem to work either.
I found the predeifned TopN filter in "fields" which seems to do the exact same thing "TopN bottom and top".
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 |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |