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.
Hi, I am trying to have a numeric range parameter (going from 1 to the number of rows in the source table) that can be adjusted to randomly sample a table. I tried to follow the logic of OwenAuger in https://community.powerbi.com/t5/Desktop/DAX-random-sample/m-p/386571 . but run into the issue that the Selectedvalue function only returns the alternate value.
My random sample is a calculated table using the following logic:
Solved! Go to Solution.
A calculated table (or column) cannot respond to a slicer. If you can find a way of doing what you want with a measure, then it will react.
A calculated table (or column) cannot respond to a slicer. If you can find a way of doing what you want with a measure, then it will react.
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |