cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors