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 |
---|---|
50 | |
23 | |
18 | |
18 | |
13 |
User | Count |
---|---|
91 | |
86 | |
46 | |
28 | |
21 |