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.
Hello,
I have a table with an ID column and three dimensions A, B and C.
I would like to add a fourth column, a random number, evenly distributed throughout a partition of A, B and C.
Is this possible please?
Thank you.
Hi, @Griffin_BI
You can create a Custom Column in PowerQuery and use
=Number.RandomBetween(0,6)
The numbers in parentheses are a range of the numbers you want to random
Here is my preview in report view
You will get a different number with each refresh.
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
40 | |
27 | |
20 | |
15 | |
8 |
User | Count |
---|---|
71 | |
48 | |
46 | |
20 | |
16 |