ExcelWhizzDotCom
New Member
- Joined
- Dec 31, 2015
- Messages
- 11
Hi guys,
I'm really struggling to get this to filter as I wish using CALCULATE. Can anyone help with correct DAX, or offer any alternative methods of achieving this in Power Pivot?
The relevant fields in my dataset are: SiteID, AssessmentDate, Grade. I only want my model to to filter for the last graded assessment at each site.
Therefore I'm trying to create a column flagging the max AssessmentDate for each SiteID but only where [Grade]<>"Ungraded".
Any advice would be gratefully received!
Regards
EW
I'm really struggling to get this to filter as I wish using CALCULATE. Can anyone help with correct DAX, or offer any alternative methods of achieving this in Power Pivot?
The relevant fields in my dataset are: SiteID, AssessmentDate, Grade. I only want my model to to filter for the last graded assessment at each site.
Therefore I'm trying to create a column flagging the max AssessmentDate for each SiteID but only where [Grade]<>"Ungraded".
Any advice would be gratefully received!
Regards
EW