# Function constant
constant(
value
):CalculatedMeasure
Creates a calculated measure from a numeric value.
# Parameters
Parameter | Type | Description |
---|---|---|
value | number | Value to be returned as a measure |
# Returns
A calculated measure instance
# Example
Creates a calculated measure from a numeric value.
measureFactory.constant(42)