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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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