Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have Customer table with id, name, rating, date where rating (ie, A, b,c) are different in different date. I would like to have a calculated column of latest rating. or measure total customer of latest rating value (ignoring previous rating).
Thanks
Solved! Go to Solution.
Hi @mmh
please try
Latest Rating =
MAXX (
TOPN (
1,
CALCULATETABLE ( Customer, ALLEXCEPT ( Customer, Customer[ID] ) ),
Customer[Date]
),
Customer[Rating]
)
Hi @mmh
please try
Latest Rating =
MAXX (
TOPN (
1,
CALCULATETABLE ( Customer, ALLEXCEPT ( Customer, Customer[ID] ) ),
Customer[Date]
),
Customer[Rating]
)
User | Count |
---|---|
57 | |
21 | |
19 | |
17 | |
16 |
User | Count |
---|---|
85 | |
80 | |
52 | |
37 | |
22 |