Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I'm new to Power BI and I will be much appreciated if you could help me with the below:
I'm trying to create a measure to find the total number of enrollers by Module regarless of how many Learning Activity they have done. Sample data below :
ID | Name | Module | Learning Activity |
1211 | John A. | Workplace Safety | Manual Handling |
1211 | John A. | Strategic Planning | Strategic Leadership |
1654 | Mathew L. | Workplace Safety | Manual Handling |
1654 | Mathew L. | Emotional Intelligence | EI Essentials |
1654 | Mathew L. | Emotional Intelligence | EI advanced |
1439 | Maria D. | Strategic Planning | Strategic Leadership |
1439 | Maria D. | Strategic Planning | Business Strategy |
1439 | Maria D. | Emotional Intelligence | EI Essentials |
Result I'm Looking for:
Total Number of Enrollers for all Modules = 6 ( since one person might enroll to more than one module)
Thanks!
I have tried using calculate but I'm not able to overcome how to account repeated modules once per ID/Name.
Solved! Go to Solution.
Hi @Juma1231
Try this:
Measure =
Var _A = SUMMARIZE('Table','Table'[ID],'Table'[Name],'Table'[Module])
return
COUNTROWS(_A)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Thank you @VahidDM @! this is what I was looking for! What if I would like to break the enrollment by completion Status as below :
ID | Name | Module | Learning Activity | Module Status |
1211 | John A. | Workplace Safety | Manual Handling | Complete |
1211 | John A. | Strategic Planning | Strategic Leadership | Incomplete |
1654 | Mathew L. | Workplace Safety | Manual Handling | Complete |
1654 | Mathew L. | Emotional Intelligence | EI Essentials | Complete |
1654 | Mathew L. | Emotional Intelligence | EI advanced | Complete |
1439 | Maria D. | Strategic Planning | Strategic Leadership | Incomplete |
1439 | Maria D. | Strategic Planning | Business Strategy | Incomplete |
1439 | Maria D. | Emotional Intelligence | EI Essentials | Complete |
so out of the 6 enrollments I should show :
Completed Modules: 4
Incomplete Modules: 2
Thanks Again!
Thank you @PaulOlding ! I have used Calculate & filter and have acheived the result I'm looking for.
Hi @Juma1231
Try this:
Measure =
Var _A = SUMMARIZE('Table','Table'[ID],'Table'[Name],'Table'[Module])
return
COUNTROWS(_A)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |