Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |