The metric [M1] is needed because the [randbetween] function needs to have a dimensionality, and it is provided by [M1]. [M2] will produce a uniform random number between 0 and 1 for each row.
IMPORTANT: When this approach is used to generate random numbers, a risk of an overflow in the MicroStrategy Intelligence Server's memory is present when large amounts of data are retrieved. This happens since all the data needs to be brought to the MicroStrategy Intelligence Server to perform the calculation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.