Forum Discussion
chengo555
7 years agoNew Member
Retrieve last entry by group
Hi there, I hope that you are able to help me with my problem. In the example table below, I am trying to calculate Column D where I’d like to display the latest “Process Date” (Column C) for...
- 7 years ago
No worries. You can just add the filter on Category back in after the ALLEXCEPT
Final Date = CALCULATE ( MAX ( Project[Process Date] ), ALLEXCEPT ( Project, Project[Project ID] ), //Removes all contexts/filters except for Project ID Project[Category] = "Rock" //Adds back in a filter on category )
dedelman_clng
7 years agoCommunity Champion
No worries. You can just add the filter on Category back in after the ALLEXCEPT
Final Date =
CALCULATE (
MAX ( Project[Process Date] ),
ALLEXCEPT ( Project, Project[Project ID] ), //Removes all contexts/filters except for Project ID
Project[Category] = "Rock" //Adds back in a filter on category
)chengo555
7 years agoNew Member
Hi David,
Thank you very much for the solution! It works exactly as required.