Number.RandomBetween

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns a random number between the two given number values.

Number.RandomBetween(bottom as number, top as number) as number  

ArgumentDescription
bottomThe lowest number in the range.
topThe highest number in the range.
Show: