Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
HELP!!
I am fairly new to Power BI and I am having trouble figuring out how to create the correct measure for what I need to show.
I need to show the percentage of employees in the region & branch who have completed courses and then show who those people are.
I have:
CSPS School table - shows all completed courses and which employees have completed them
MyGCHR HR Table - shows all employees in the department by region and branch
What I have done is created 3 measures:
Solved! Go to Solution.
Can you change the relationship between CSPS and MyGCHR Report to single direction, so that CSPS filters MyGCHR Report and not the other way around ?
Thank you for the reply. However, I seem to be getting a weird result and I can't figure out why.
When I have no date filter applied, the percentage comes out correctly (Total employees who have completed courses / Total employees). Figures marked in yellow.
However, when I apply the date filter to reflect our fiscal year of April 1/22 - Mar 31/23, the percentage isn't correct.
7900 / 16036 doesn't add up to 109.87%
The measures I am using are:
I'm sure it's something silly that I'm missing. If anyone has any suggestions, I would love to hear them as I am stuck on this one thing.
Thank you!
Is there a relationship between your date table and 'MyGCHR report' ? If there is, check for blank values in the 'MyGCHR report' column.
No there isn't a relationship between the date table and the MyGCHR report. I also made sure there were no blanks in the CSPS report. It seems to work fine until I change the date.
Can you change the relationship between CSPS and MyGCHR Report to single direction, so that CSPS filters MyGCHR Report and not the other way around ?
Woohoo! This worked. Turns out there were duplicates in the MyGCHR report that shouldn't have been there and once I removed them and changed the cardinality, it all worked great! Thank you so much for all your help with this😁
Assuming that employees can complete more than one course, I think the measure for the number of employees who have completed a course should be
Employees completed courses =
DISTINCTCOUNT ( 'CSPS Report'[Employee ID] )
You can then use that measure in your calculation of the %
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |