Forum Discussion

shantupm5's avatar
shantupm5
Helper III
1 year ago
Solved

Eligiblity Matrix DAX

Hello Team   I am stuck with the DAX for one of the validations im performing   I have 3 tables as updated in below tables   Employee DataBase – With columns 'Employee DataBase'[EmpNo],  'Empl...
  • v-tejrama's avatar
    v-tejrama
    1 year ago

    Hi shantupm5 ,

     

    Thank you for your thorough explanation and follow-up. Re-examining the logic after identifying discrepancies is the right approach, particularly with the training validation changes following the update.

    Your point about SWITCH(TRUE(), ...) being preferable for handling multiple complex conditions is well taken, and while your current approach is functional, the core challenge is deeper specifically, how training completion is validated within the eligibility matrix.

    Currently, the DAX evaluates each training type independently across the entire matrix. However, for Competent and Proficient competencies, the requirements must be validated within the same row of the matrix. This is crucial because:

    • Competent requires at least one Digital, one Mandatory, and one Domain training from the same row (matching competency, job level, and industry).
    • Proficient requires completion of the entire Digital Training set in a single row, plus one Domain training from that same row.

    As it stands, the logic aggregates training types across all rows, which can result in eligibility being incorrectly validated. To resolve this, group and evaluate trainings by each matrix row and check the combinations as defined. This approach ensures employee completions are accurately matched to the required combinations in the matrix.

     

    Thank you.