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
| Argument | Description |
|---|---|
| bottom | The lowest number in the range. |
| top | The highest number in the range. |
Show: