Forum Discussion

shantupm5's avatar
shantupm5
Helper III
2 years ago
Solved

Solution Requested

Hello Everyone, 

 

I have a complex requirment which i am unable to resolve. Basicall i have 3 data set which is from 3 different source (Tables)

Source 1) Employee Id along with their Job Level

Source 2) Mandatory Training Module for each Job Level

Source 3) List of Employee Id's along with the Job Level who have completed 1 or more training from the Mandatory training Module list. 

 

Date set is attached below.

 

Requirement is, we are looking for Job Level wise, Mandatory training module wise completion rate. Please can you resolve and share this in PBIX format which will be of more help.

 

Data set: 

Source 1) Employee Id along with their Job Level

 

Emp IdJob Level
1002
2003
3002
4002
5003
6004
7003
8003
9004
10003
11003
12003
13003
14003
15004

 

Source 2) Mandatory Training Module for each Job Level

JLMandatory Training Module
2Foundation - 2
2Intermediate - 2
2Pro - 2
3Foundation - 3
3Intermediate - 3
3Pro - 3
4Foundation - 4
4Intermediate - 4
4Pro - 4

 

Source 3) List of Employee Id's along with the Job Level who have completed 1 or more training from the Mandatory training Module list. 

 

Emp IdJLTraining Module Completed
1002Foundation - 2
1002Intermediate - 2
1002Pro - 2
2003Foundation - 3
2003Intermediate - 3
3002Foundation - 2
4002Foundation - 2
4002Intermediate - 2
5003Foundation - 3
5003Intermediate - 3
6004Foundation - 4
7003Foundation - 3
8003Foundation - 3
8003Intermediate - 3
8003Pro - 3
9004Foundation - 4
9004Intermediate - 4
10003Foundation - 3
10003Intermediate - 3
10003Pro - 3
11003 
12003 
13003 
14003 
15004 

 

Thanks in advance

4 Replies

  • Hi,

    Based on the 3 tables that you have shared, show the expected result very clearly in a Table format.  Still better would be share the download link of the PBI file with 4 tabs - one each for the Tables that yo have shared in your original post and the last one showing the expected result.

    • shantupm5's avatar
      shantupm5
      Helper III

      Hello Ashish,

       

      Unfortunelty i will not be able to upload the PBIX due to security reasons.

       

      so to illisturate below is the output we need from above table

       

      For Example : For Job Leve 3, we have 9 employees. 

      So each employee should complete all the mandatory trainings

      But for Foundation - 3, only 5 have completed out of 9 employees. which will be 55.6% as mentioned below. 

       

      JL234
      Foundation - 2100%  
      Intermediate - 267.00%  
      Pro - 233.33%  
      Foundation - 3 55.60% 
      Intermediate - 3 44.40% 
      Pro - 3 22.20% 
      Foundation - 4  67.00%
      Intermediate - 4  33.33%
      Pro - 4   
      • Fowmy's avatar
        Fowmy
        Super User

        shantupm5 

        Please check the attached file. 

        Completion Rate = 
        VAR __EmpJob = COUNT( EmpJob[Emp Id] )
        VAR __EmpCount = COUNT( EmpJobModule[Emp Id])
        RETURN
            DIVIDE(__EmpCount,__EmpJob)