Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a what - if-parameter :
Hi @Anonymous
if I understand you correct didnt you try simple
Rand Function Table =
VAR Size = SELECTEDVALUE('Table 1'[Vals])
VAR TableWithRand =
ADDCOLUMNS ( Sales, "Rand", RAND () )
RETURN
TOPN (Size, TableWithRand, [Rand] )
?
Thank you so much for the reply.Tried giving the same , but it wasn't working.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |