This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi Expert
i had question that i want to get random table before, but the answer doesn,t work in my project
what i want to ask is
from source data like this :
hope can generate the Productivity by "username Ori" which mean = count by username
and from that productivity i want to get the 3% (productivity * 0.03) like this :
and then I want to have Random sample table based on 3% measurement from
productivity each user like below.
please help, the data is attached
hi @amitchandak
it works fine, but then i want to have random sample table based on that,
can you help me?
I would do like
divide(roundup(rand()*10,0),3)
and would have using 0 as a sample
Also, refer
https://community.powerbi.com/t5/Desktop/DAX-random-sample/m-p/386571
@amitchandak
I tried all those things but still not as expected,
the random table must be dynamic based on 3% of users productivity,
if user "sabillat" have 1, then in random table have 1 row,
if she have 2, then the table have 2 rows.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 28 | |
| 23 | |
| 19 |