Forum Discussion

mwebergo2's avatar
mwebergo2
Frequent Visitor
1 year ago
Solved

Team coverage calculations

I have a team coverage matrix that is used to evaluate proficiency in completing certain tasks amongst the team.  The proficiency is a ranking from 1 (no knowledge/experience with the task) to 5 (Expert level, could teach others).  Each team member has a proficiency score from 1-5 for every task.  

 

I am trying to create a dashboard that helps me understand coverage across the team for all the various work we do.  Most of this is pretty straight forward.  However, I am struggling to calculate 2 metrics, percentage of tasks with a single point of failure, and percentage of tasks where there is a gap.

 

More specifically, single point of failure is where there is only one team member who is ranked at 4 or 5 for a given task.  Gap is where there are zero team members with a ranking >= 3.

 

  • mwebergo2 , Create a new column to identify if a task has a single point of failure. This column will count the number of team members with a proficiency of 4 or 5 for each task

    DAX
    SinglePointOfFailure =
    CALCULATE(
    COUNTROWS('YourTable'),
    FILTER('YourTable', 'YourTable'[Proficiency] >= 4)
    )

     

    Create a measure to calculate the percentage of tasks with a single point of failure:

    DAX
    PercentageSinglePointOfFailure =
    DIVIDE(
    COUNTROWS(
    FILTER(
    SUMMARIZE('YourTable', 'YourTable'[Task], "CountHighProficiency", [SinglePointOfFailure]),
    [CountHighProficiency] = 1
    )
    ),
    COUNTROWS(SUMMARIZE('YourTable', 'YourTable'[Task])),
    0
    )

     

    Create a new column to identify if a task has a gap. This column will count the number of team members with a proficiency of 3 or higher for each task.

    DAX
    Gap =
    CALCULATE(
    COUNTROWS('YourTable'),
    FILTER('YourTable', 'YourTable'[Proficiency] >= 3)
    )

     

    DAX
    PercentageGap =
    DIVIDE(
    COUNTROWS(
    FILTER(
    SUMMARIZE('YourTable', 'YourTable'[Task], "CountProficiency", [Gap]),
    [CountProficiency] = 0
    )
    ),
    COUNTROWS(SUMMARIZE('YourTable', 'YourTable'[Task])),
    0
    )

    Use the measures PercentageSinglePointOfFailure and PercentageGap to create visuals in your Power BI dashboard to display these metrics.

     

     

4 Replies

  • mwebergo2's avatar
    mwebergo2
    Frequent Visitor

    Forgot to include my data:  

    TaskCategorySub-CategoryTeam MemberProficiency
    Alternative ReportReportingPerformance RptgTeam Member 15
    Agency Rating CheckData GovernanceSMF Data ValidationTeam Member 13
    Analyst CheckData GovernanceSMF Data ValidationTeam Member 13
    AdTrax Marketing ReviewReportingCompliance ReportingTeam Member 13
    Alternative ReportReportingPerformance RptgTeam Member 22
    Agency Rating CheckData GovernanceSMF Data ValidationTeam Member 21
    Analyst CheckData GovernanceSMF Data ValidationTeam Member 21
    AdTrax Marketing ReviewReportingCompliance ReportingTeam Member 25
    Alternative ReportReportingPerformance RptgTeam Member 31
    Agency Rating CheckData GovernanceSMF Data ValidationTeam Member 35
    Analyst CheckData GovernanceSMF Data ValidationTeam Member 35
    AdTrax Marketing ReviewReportingCompliance ReportingTeam Member 31
    Alternative ReportReportingPerformance RptgTeam Member 41
    Agency Rating CheckData GovernanceSMF Data ValidationTeam Member 44
    Analyst CheckData GovernanceSMF Data ValidationTeam Member 45
    AdTrax Marketing ReviewReportingCompliance ReportingTeam Member 41
  • mwebergo2 , Create a new column to identify if a task has a single point of failure. This column will count the number of team members with a proficiency of 4 or 5 for each task

    DAX
    SinglePointOfFailure =
    CALCULATE(
    COUNTROWS('YourTable'),
    FILTER('YourTable', 'YourTable'[Proficiency] >= 4)
    )

     

    Create a measure to calculate the percentage of tasks with a single point of failure:

    DAX
    PercentageSinglePointOfFailure =
    DIVIDE(
    COUNTROWS(
    FILTER(
    SUMMARIZE('YourTable', 'YourTable'[Task], "CountHighProficiency", [SinglePointOfFailure]),
    [CountHighProficiency] = 1
    )
    ),
    COUNTROWS(SUMMARIZE('YourTable', 'YourTable'[Task])),
    0
    )

     

    Create a new column to identify if a task has a gap. This column will count the number of team members with a proficiency of 3 or higher for each task.

    DAX
    Gap =
    CALCULATE(
    COUNTROWS('YourTable'),
    FILTER('YourTable', 'YourTable'[Proficiency] >= 3)
    )

     

    DAX
    PercentageGap =
    DIVIDE(
    COUNTROWS(
    FILTER(
    SUMMARIZE('YourTable', 'YourTable'[Task], "CountProficiency", [Gap]),
    [CountProficiency] = 0
    )
    ),
    COUNTROWS(SUMMARIZE('YourTable', 'YourTable'[Task])),
    0
    )

    Use the measures PercentageSinglePointOfFailure and PercentageGap to create visuals in your Power BI dashboard to display these metrics.