Forum Discussion

Casey_Alderson's avatar
2 years ago
Solved

Calculate Column for Learning Program Completion Date based on list of Course Completions

Hi All,    I'm trying to figure out how I can calculate a Learning Program completion date when my primary table is a list of courses taken by multiple employees. Below are sample tables. In the sc...
  • Casey_Alderson's avatar
    2 years ago

    Hi All, 

    I was able to find a solution via hours of google and rinse and repeat tests. 

    = IF(

    NOT(ISBLANK(LOOKUPVALUE([Completion Date], Table1[EmployeeID], Table2[EmpoyeeID],Table1[EnrolledContent], "A"))) ** NOT...repeat the above for all required courses),
    MAXX(
    {
    MAX(LOOKUPVALUE([Completion Date], Table1[EmployeeID], Table2[EmpoyeeID],Table1[EnrolledContent], "A"), LOOKUPVALUE([Completion Date], Table1[EmployeeID], Table2[EmpoyeeID],Table1[EnrolledContent], "B")),
    MAX(LOOKUPVALUE([Completion Date], Table1[EmployeeID], Table2[EmpoyeeID],Table1[EnrolledContent], "C"), LOOKUPVALUE([Completion Date], Table1[EmployeeID], Table2[EmpoyeeID],Table1[EnrolledContent], "D"))
    }, 
    [Value]
    )
    )

     

    Crazy to me but it works!