Forum Discussion
random sampling
check it out here
https://community.powerbi.com/t5/Desktop/DAX-random-sample/td-p/386571
Random Selection =
VAR SampleSize = 10
VAR TableWithRand = ADDCOLUMNS ( OriginalTable, "Rand", RAND () )
RETURN TOPN ( SampleSize, TableWithRand, [Rand] )
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
- Anonymous6 years agoNot applicable
how to take row count from users?
- Anonymous6 years agoNot applicable
Create one table generateseries(1,1000)
then add it in slicer
Allow user to select number of samples
and undate it in above formula .
in var section add selectedvalue(table[series]) instead of 10.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.- Anonymous6 years agoNot applicable
thanks for the reply , but not working unfortunately.