The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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 |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
34 | |
15 | |
12 | |
7 | |
6 |