Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
shantupm5
Helper III
Helper III

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

1 ACCEPTED SOLUTION

@shantupm5 

Please check the attached file. 

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

Fowmy_0-1703660650114.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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   

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1703678237270.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@shantupm5 

Please check the attached file. 

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

Fowmy_0-1703660650114.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.