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

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.

Reply
Alta88
Helper IV
Helper IV

Filtering a Percentage of Accounts in a Dataset

My colleague and I audit accounts built the previous day and we sample each rep by 30% of the accounts they build per day. How do I configure the data in this sample table to accomplish this sampling parameter? 

 

Acct IDAcct RepAcct Built DateAcct Type
899240706-8Darci Stanlake12/10/2021Roofing (Metal)
819966278-6Teena Rasell02/15/2022HVAC
847609135-4Alyosha Fawdrey07/02/2022Masonry
363422805-9Carmine Orgill10/10/2021RF Shielding
930246668-XRubin Gresswell10/04/2021Fire Sprinkler System
127983842-6Tabby Danielkiewicz12/13/2021EIFS
721352148-9Kimberly Chaudret09/19/2021Framing (Steel)
720920086-XNestor Dabbes12/10/2021Site Furnishings
564319014-1Garrek Deverale10/14/2021Drywall & Acoustical (FED)
396427370-8Alejoa Jennick10/28/2021Drilled Shafts
812101113-2Gaby Lipscomb05/13/2022Rebar & Wire Mesh Install
855820904-9Sapphire Clacey08/12/2022Waterproofing & Caulking
399847999-6Cecilio Aldiss12/13/2021Framing (Wood)
082900019-4Rosabella Bernardy07/26/2022Structural and Misc Steel (Fabrication)
241081569-3Ronalda Zaple01/02/2022Painting & Vinyl Wall Covering
841879592-1Yolanthe Bessent02/16/2022Casework
896645574-3Vinny Arthur05/18/2022Termite Control
968436966-2Ursala Godber02/04/2022Termite Control
518243434-0Jenna Haffenden04/02/2022Granite Surfaces
043467523-7Lira Nissle03/26/2022Structural and Misc Steel (Fabrication)
864209140-1Mavra Guntrip07/15/2022EIFS
296227326-2Lanie Ewells07/17/2022Wall Protection
545486145-6Marijn Sommers07/01/2022Electrical
915488525-6Alvis Stillmann03/09/2022Construction Clean and Final Clean
074298286-6Rhys Bris10/24/2021Electrical and Fire Alarm
346642893-9Etty Yaneev02/02/2022Epoxy Flooring
059974917-2Marietta Matlock12/18/2021Waterproofing & Caulking
807049118-3Garald Reidie10/13/2021Hard Tile & Stone
313845530-1Milton Espinas07/19/2022Casework
397050056-7Gabey Rambadt02/12/2022Electrical
557101546-2Jordan Chambers09/24/2021Ornamental Railings
038668821-4Estelle Lintin09/10/2021Framing (Steel)
306579899-9Pavia Jordi07/16/2022Roofing (Metal)
442065421-XConstanta Blance06/09/2022Electrical
605785586-8Berkie Cankett12/25/2021Electrical
607551649-2Derrek Minet06/06/2022Plumbing & Medical Gas
422437166-9Emmaline Suffe12/04/2021Electrical and Fire Alarm
613626615-6Eberto Berecloth01/02/2022Structural & Misc Steel Erection
495938407-7Mil Dunkley09/21/2021Drywall & Acoustical (FED)
200886624-6Kary Winear11/23/2021Temp Fencing, Decorative Fencing and Gates
255881462-1Waldo MacManus02/11/2022Landscaping & Irrigation
375287747-2Darci Stanlake04/25/2022Masonry & Precast
154719164-3Teena Rasell09/04/2021Wall Protection
790507372-6Alyosha Fawdrey09/04/2021Electrical and Fire Alarm
102012600-0Carmine Orgill08/01/2022Temp Fencing, Decorative Fencing and Gates
576419897-6Rubin Gresswell01/07/2022Overhead Doors
496565907-4Tabby Danielkiewicz09/09/2021Construction Clean and Final Clean
566866221-7Kimberly Chaudret01/27/2022Exterior Signage
604871800-4Nestor Dabbes10/08/2021Prefabricated Aluminum Metal Canopies
435618772-5Garrek Deverale09/05/2021Prefabricated Aluminum Metal Canopies
250282676-4Alejoa Jennick06/05/2022Prefabricated Aluminum Metal Canopies
387398910-7Gaby Lipscomb10/14/2021Sitework & Site Utilities
208639025-4Sapphire Clacey03/03/2022Landscaping & Irrigation
745458593-0Cecilio Aldiss07/13/2022Electrical and Fire Alarm
325018976-6Rosabella Bernardy08/11/2022RF Shielding
545715157-3Ronalda Zaple02/23/2022Hard Tile & Stone
017987704-6Yolanthe Bessent05/18/2022Roofing (Metal)
012231443-3Vinny Arthur04/22/2022Exterior Signage
952833976-XUrsala Godber12/06/2021Landscaping & Irrigation
250108402-0Jenna Haffenden08/05/2022HVAC
867472257-1Lira Nissle07/30/2022Electrical
929582316-8Mavra Guntrip04/18/2022Drilled Shafts
689795676-7Lanie Ewells05/04/2022RF Shielding
571775299-7Marijn Sommers07/29/2022Fire Protection
978066330-4Alvis Stillmann05/15/2022HVAC
975093661-2Rhys Bris09/08/2021Electrical
162626309-4Etty Yaneev07/17/2022Roofing (Asphalt)
421976577-8Marietta Matlock12/19/2021Exterior Signage
514838413-1Garald Reidie03/23/2022RF Shielding
435528303-8Milton Espinas06/22/2022Asphalt Paving
703349461-0Gabey Rambadt03/25/2022Overhead Doors
055327110-5Jordan Chambers09/29/2021Sitework & Site Utilities
081942025-5Estelle Lintin09/27/2021Roofing (Asphalt)
166770901-1Pavia Jordi02/22/2022Fire Sprinkler System
425184715-6Constanta Blance12/05/2021RF Shielding
361050258-4Berkie Cankett01/17/2022Fire Protection
858792461-3Derrek Minet09/15/2021EIFS
902034406-4Emmaline Suffe06/15/2022Doors, Frames & Hardware
013807216-7Eberto Berecloth07/13/2022Landscaping & Irrigation
344868336-1Mil Dunkley05/01/2022Doors, Frames & Hardware
443379808-8Kary Winear10/07/2021Roofing (Metal)
025708660-9Waldo MacManus06/29/2022Framing (Wood)
050214322-3Darci Stanlake12/09/2021Construction Clean and Final Clean
396535380-2Teena Rasell05/29/2022Marlite Panels (FED)
216194593-9Alyosha Fawdrey07/06/2022Masonry
671124883-XCarmine Orgill02/04/2022Asphalt Paving
799609148-XRubin Gresswell04/08/2022Fire Sprinkler System
066798212-4Tabby Danielkiewicz01/26/2022Masonry
045084832-9Kimberly Chaudret12/10/2021RF Shielding
173242618-XNestor Dabbes03/29/2022Termite Control
172007741-XGarrek Deverale10/14/2021Drilled Shafts
981277002-XAlejoa Jennick08/25/2021Casework
777324059-0Gaby Lipscomb09/12/2021RF Shielding
259989212-0Sapphire Clacey07/10/2022Epoxy Flooring
013272571-1Cecilio Aldiss10/21/2021Structural and Misc Steel (Fabrication)
037597920-4Rosabella Bernardy11/18/2021Casework
466921783-6Ronalda Zaple11/09/2021Electrical
374479599-3Yolanthe Bessent04/21/2022Doors, Frames & Hardware
919690794-0Vinny Arthur10/13/2021Drilled Shafts
664436414-4Ursala Godber09/12/2021Hard Tile & Stone
2 REPLIES 2
v-rongtiep-msft
Community Support
Community Support

Hi @Alta88 ,

What is your desired output? Could you please provide a screenshot with the output and explain why?

 

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HoangHugo
Solution Specialist
Solution Specialist

My idea, you define how much of 30% account of one Rep in one day; then add a column show a randoom number (from 1 to number equal number of account in created day), then Rank the random number, and choose which row have rank <= 30% account.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.