Forum Discussion
CALCULATETABLE
- 9 years ago
Hi Michael1
You could create a column that checks wheter the current row of the student is his last assessment (you might have to replace semicolons with commas):
IsLastAssessment = IF(Assessments[AssNr] = MAXX( FILTER( Assessments; Assessments[StudentID]= EARLIER(Assessments[StudentID]) ); Assessments[AssNr]); TRUE(); FALSE() )Then you can use this column to filter you visual
I hope this helps!
JJ
BTW, I didn't know Goofy Last Name :-)
Hi Michael1
You could create a column that checks wheter the current row of the student is his last assessment (you might have to replace semicolons with commas):
IsLastAssessment =
IF(Assessments[AssNr] = MAXX(
FILTER(
Assessments;
Assessments[StudentID]= EARLIER(Assessments[StudentID])
);
Assessments[AssNr]);
TRUE();
FALSE()
)
Then you can use this column to filter you visual
I hope this helps!
JJ
BTW, I didn't know Goofy Last Name :-)
Perfect! Thank you so much.
Is there a way to do this by date as well? So--if I have the assessment date and need it to select the most recent?
I really appreciate your help!
Michael
- DoubleJ9 years agoSolution Supplier
Sure!
Just compare on the date instead of the Nr
IsLastAssessmentDate = IF(Assessments[AssDate] = MAXX( FILTER( Assessments; Assessments[StudentID]= EARLIER(Assessments[StudentID]) ); Assessments[AssDate]); TRUE(); FALSE() )Cheers!
JJ