Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I'm having trouble with my rankx formula in the third column from the right. It is counting blanks as 1 rank and I'd like the formula to ignore them. I'd like it to be like the ranking on the right. Below is the formula I'm using.
Hi,
ALL function remove all incoming filters.
So, Row context works on all [Athletes Name] as no filter.
as you asked tie with dense. maybe the first 6 athletes names are tied together (They are all considered 0 or null for Test_vale). IT will start rank 2 for the 7th one.
try to wrap ALL function with the FILTER function and remove null values such as
RANKX(FILTER(ALL(TESTS), TESTS[Test Value Copy] >0),
SUMX(<your calculation>),ASC,Dense),
ALLSELECTED(DEMOGRAPHICS2[Team]),ALLSELECTED(TESTS[Test Name]),ALLSELECTED(TESTS[test_value]))
I believe DEMOGRAPHICS2 is the Dim table and TESTS is the fact table.
hope this will help you to figure out where it went wrong.
Regards
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
User | Count |
---|---|
54 | |
22 | |
19 | |
16 | |
11 |
User | Count |
---|---|
81 | |
55 | |
40 | |
19 | |
12 |