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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.