The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I wanna display the latest rating given to an employee. In my data, I have columns 'rating' and '' in the 'doc' table, and a ''. I want to return the latest record rating giv en o an employee based only if the termination date is greater than the and wanna exclude old given rating.
the table data look like this:
the result should look like this:
how should I do ?
could you pls provide some sample data?
Proud to be a Super User!
you can do this in PQ
pls see the attachment below
Proud to be a Super User!
Thanks but if i gonna show it as table view why it does show dublicate values once I add more column for example terminationdate? how can I fix it ? because I think then the logic stop work like it gonna show latest reviewEndDate but that are earlier than terminationDate but also not older than the previous years reviewEndDate.
i think it's because some people rated twic on the same day.
Since you only have the date value, it return different rating since both are on the max date.
Proud to be a Super User!
yes but that's a particular emplpyee, my issue is that it does so with all regardless if some people rated twic on the same day
how can we deal with that scenario? Remove those ratings?
Proud to be a Super User!
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
61 | |
54 | |
42 |