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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Percentage of total cases by employee column

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:

csNamecsStatuscsSitecsEnrollDatecsDismissDatecsLosSvcEmployee_Full_NameDate of last review  
Tester MomActiveMHRS1/20/202012/20/2020123Matp Test5/20/2020   
Tester 2ActiveMHRS1/20/202012/20/2020124Matp Test5/21/2020   
Tester 3ActiveMHRS1/20/202012/20/2020125Matp Test5/22/2020   
Tester 4ActiveMHRS1/20/202012/20/2020126Matp Test5/23/2020   
Tester SisterActiveMHRS1/20/202012/20/2020127Matp Test5/24/2020   
Tester GrandDismissedSPHS3/15/20207/9/2021319Pat Test3/18/2020   
Tester DadDismissedSPHS3/15/20207/9/2021320Pat Test3/19/2020   
Tester BrotherDismissedSPHS3/15/20207/9/2021321Pat Test3/20/2020   
           
        Outcome wanted: Pull only 25% of all cases completed by each employee
csNamecsStatuscsSitecsEnrollDatecsDismissDatecsLosSvcEmployee_Full_NameDate of last review  
Tester GrandDismissedSPHS3/15/20207/9/2021319Pat Test3/18/2020   
Tester 4ActiveMHRS1/20/202012/20/2020126Matp Test5/23/2020   
Tester 2ActiveMHRS1/20/202012/20/2020124Matp Test5/21/2020   
           
2 REPLIES 2
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
sevenhills
Super User
Super User

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.