Skip to content

Rand

Description

Rand returns a random number between 0 and 1.

Syntax

Rand()

Parameters

This function does not require parameters.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

Rand()

The expression returns the calculated result according to the current query context.