Forum Discussion

mhanne's avatar
mhanne
Frequent Visitor
5 years ago
Solved

Create a "Project Completion Date" Column Based on Most Recent Activity Completion Date in Project

  Good Morning! I am trying to create a "Project Completion Date" column to calculate the completion date for a completed project based off of the latest Activity Completion Date. Our syst...
  • Anonymous's avatar
    Anonymous
    5 years ago

    mhanne The reverse date is due to condition with "Earlier". Fixed the DAX as following:

    ProjectCompletionDate = CALCULATE(MAX(Sheet5[Activity Completion Date]),
    FILTER(Sheet5, Sheet5[Project Status]="Complete"
    && Sheet5[Project ID]=EARLIER(Sheet5[Project ID])))
     
     
    Did I solve your problem?
    If yes, please give kudos and mark my reply Accepted!