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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply

Random selection

Hi All,

 

I've one column i.e. client manager. Entire raw data is always around 5k rows. On the client manager I want to create randomizer which will pick 2 records of every client namager. Means, out 5k rows, if I calculate unique count of client manager then they come aorund 2000 or 2500. I exactly require double records, i.e. example 2000*2 = 4000 records. But those 4000 records should be 2 records of each client manager. 

 

I tried this but, it's not giving 2 records for every client manager.

PowerBIBeginer_0-1724154828726.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @PowerBIBeginer ,

 

This doesn't seem to be possible, DAX is a column based calculation and there is no way to add row data.

 

Best regards,
Community Support Team_ Scott Chang

Thanks for your reply. but any other way where I can achieve this. Randomly select records any 2 of per client manager. pls guide, if possible

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors