Create a Custom Distribution
Loading...Add rules using the Mockaroo formula syntax to create a custom distribution.
Each rule must evaluate to true or false. For example, month == 'August' or price > 10.
Each number in the table below represents how often that value will occur relative to other values. A value
with "2" will occur twice as often as a value with "1". All values are assigned a "1"
when no rules are matched.
or
Formula
Alter the value of this field using Mockaroo formula syntax.
Use this to refer to the value of this field.
Examples:
this + 1 => add 1 to the value of this field
upper(this) => change the value of this field to upper case
if this == 'January' then 'cold' elsif this == 'July' then 'hot' else 'mild' end => transform the value of this field based on custom logic
Preview
Loading...