Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All-
I'm looking to sort a larger dataset of case records by the employee that completed the visit.
Additionally, need to sort out only 25% of each employee's completed cases, these can be any of the cases that the employee completed.
I tried to use TOPN but this doesn't sort by percentage, so isn't the solution.
I'd appreciate your help on figuring out this problem!!
Dataset:
csName | csStatus | csSite | csEnrollDate | csDismissDate | csLosSvc | Employee_Full_Name | Date of last review | |||
Tester Mom | Active | MHRS | 1/20/2020 | 12/20/2020 | 123 | Matp Test | 5/20/2020 | |||
Tester 2 | Active | MHRS | 1/20/2020 | 12/20/2020 | 124 | Matp Test | 5/21/2020 | |||
Tester 3 | Active | MHRS | 1/20/2020 | 12/20/2020 | 125 | Matp Test | 5/22/2020 | |||
Tester 4 | Active | MHRS | 1/20/2020 | 12/20/2020 | 126 | Matp Test | 5/23/2020 | |||
Tester Sister | Active | MHRS | 1/20/2020 | 12/20/2020 | 127 | Matp Test | 5/24/2020 | |||
Tester Grand | Dismissed | SPHS | 3/15/2020 | 7/9/2021 | 319 | Pat Test | 3/18/2020 | |||
Tester Dad | Dismissed | SPHS | 3/15/2020 | 7/9/2021 | 320 | Pat Test | 3/19/2020 | |||
Tester Brother | Dismissed | SPHS | 3/15/2020 | 7/9/2021 | 321 | Pat Test | 3/20/2020 | |||
Outcome wanted: Pull only 25% of all cases completed by each employee | ||||||||||
csName | csStatus | csSite | csEnrollDate | csDismissDate | csLosSvc | Employee_Full_Name | Date of last review | |||
Tester Grand | Dismissed | SPHS | 3/15/2020 | 7/9/2021 | 319 | Pat Test | 3/18/2020 | |||
Tester 4 | Active | MHRS | 1/20/2020 | 12/20/2020 | 126 | Matp Test | 5/23/2020 | |||
Tester 2 | Active | MHRS | 1/20/2020 | 12/20/2020 | 124 | Matp Test | 5/21/2020 | |||
Hi @Anonymous,
Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
To get the answer, can you create some mockup data using excel and paste here. (or) the pbix file. No need for original data.
Also the output you are expecting, like you can do that in excel as mockup.
Otherwise it is tough to understand ... TIA