Forum Discussion
Selecting Random set of Records from a Dataset
- 9 years ago
RAND function return a random value for each row. Please refer the screenshot below.
Regards,
Charlie Liao
Thank you smoupre.
These have promise. But I need to assign a random value to each record first. I think I need to create a new column and assign a random value to each record. Tried using Number.Random but it provides the same value to each row. Once, I have the values assigned your suggestion will be a good next step so I appreciate that. I may have to go the DAX route.
Appreciate your help.
RAND function return a random value for each row. Please refer the screenshot below.
Regards,
Charlie Liao
- orourkebp9 years agoFrequent Visitor
Thank you, Charlie.
I was actually looking for a solution to part of the query step which is probably not the correct way of thinking.
I appreciate your feedback.
Brian