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.
Hello,
Sample Data:
courseid | userid | fullname | completion_state | division |
1 | 1 | Reading course | finished | AAA |
1 | 2 | Reading course | Not finish | AAA |
1 | 3 | Reading course | Not finish | BBB |
1 | 4 | Reading course | Not finish | CCC |
1 | 5 | Reading course | Not finish | DDD |
2 | 1 | Practical | Not finish | AAA |
2 | 2 | Practical | Not finish | AAA |
2 | 3 | Practical | finished | BBB |
2 | 4 | Practical | Not finish | CCC |
2 | 5 | Practical | Not finish | DDD
|
with filter courseid = 1:
division | total | finished | percentage |
AAA | 2 | 1 | 50% |
BBB | 1 | 0 | 0% |
CCC | 1 | 0 | 0% |
DDD | 1 | 0 | 0% |
with filter courseid = 2:
division | total | finished | percentage |
AAA | 2 | 0 | 0% |
BBB | 1 | 1 | 100% |
CCC | 1 | 0 | 0% |
DDD | 1 | 0 | 0%
|
Would anyone help about this situation and suggest me how to create a new table for this?
Thanks!
Solved! Go to Solution.
Hi @briankwlo
You can create the below measures
If this post helps, Accept it as a solution
Hi @briankwlo
You can create the below measures
If this post helps, Accept it as a solution
It's work!
Thank you esha_shah2002!
Have a nice day!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |