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.
hi everyone
is there a way to seed the random value generated by DAX
tried the below link but every time i open the file the numbers still changes
Solved: Re: How to generate random number based on seed va... - Microsoft Power BI Community
Solved! Go to Solution.
Hi, @Anonymous ;
Change it.
Table = Addcolumns(GENERATESERIES(1,100,1), "New col", RAND())
The final show:
If not right , can you share your simple file and the result what you want to output?
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
Change it.
Table = Addcolumns(GENERATESERIES(1,100,1), "New col", RAND())
The final show:
If not right , can you share your simple file and the result what you want to output?
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Try if this code can help. I done something similar in past, that code is not handy
Addcolumns(generate(1,100,1), "New col", var _1= rand() return _1)
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 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |