Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
olimilo
Responsive Resident
Responsive Resident

How to get the most recent evaluation (with context)?

I have 2 tables, an Employee table with a list of employees, and the other a list of their Evaluations. I would like to know how can I get the most recent of evaluation of each employee? Sample tables below:

 

Employee table

EIDName
1Jane
2Jen
3Jin
4John
5June

 

Evaluations table

EIDEvalIDDate
111-Jan-22
121-Feb-22
211-Jan-22
221-Feb-22
231-Mar-22
311-Apr-22
411-Apr-22
421-May-22
511-Apr-22
521-May-22
531-Jun-22

 

I am combining both tables into one table visual.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

HI @olimilo 
This is a sample file with the solution https://www.dropbox.com/t/R7hQZY8UPeD2n6x9

1.png2.png

Last Evaluation = 
CALCULATE ( MAX ( Evaluations[EvalID] ), Evaluations[Date] = MAX ( Evaluations[Date] ) )

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

HI @olimilo 
This is a sample file with the solution https://www.dropbox.com/t/R7hQZY8UPeD2n6x9

1.png2.png

Last Evaluation = 
CALCULATE ( MAX ( Evaluations[EvalID] ), Evaluations[Date] = MAX ( Evaluations[Date] ) )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.