Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I want to assign random values between 1 to 30 for a particular category "C" alone,means all other categories will have a value of 0.
How can I achieve this?
Solved! Go to Solution.
What error message are you getting?
Otherwise if Randbetween is not working you could use something like
Column = IF('Table'[Categ] = "C",RAND()*(30-1)+1,0)
Hi,
Is this what you're after?
Column = IF('Table'[Categ] = "C",RANDBETWEEN(1,30),0)
I tried doing that but getting an error.Thanks for responding.
What error message are you getting?
Otherwise if Randbetween is not working you could use something like
Column = IF('Table'[Categ] = "C",RAND()*(30-1)+1,0)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |