Label Fields
Classify records into business-friendly categories using conditions.
Last updated
Classify records into business-friendly categories using conditions.
Label fields assign a business-friendly value to each record according to conditions that you define.
They are useful when you want to turn raw values into consistent business categories. For example, you can create labels such as High value, At risk, New customer, or Inactive.
Label conditions can use existing formula fields and label fields from the same model. This lets you build layered classifications, such as a label based on an eligibility formula.
To prevent circular references, DinMo excludes the current field and any field that depends on it from the field picker.
Choose the parent model where the field will be created.
Select the output type.
Under WHEN, add one or more conditions that must be evaluated for the first assignment.
Define the value to assign when those conditions are met.
Add as many additional WHEN cases as needed, each with its own conditions and assigned value.
Define the default value for records that do not match any case.
A label field evaluates WHEN cases in order. Within each case, you can add as many conditions as needed before assigning a value with THEN.
Combine conditions with AND and OR. Use the arrow buttons to move the brackets and group conditions when you need to control how AND and OR are evaluated.

Create a customer_engagement label field with these cases:
Last purchase was within 30 days and purchase count is at least 3
Highly engaged
Last purchase was within 90 days
Engaged
Last purchase was more than 90 days ago
At risk
Any other record
Unknown
This field provides a consistent business classification for segments and activations.
Order cases from the most specific to the broadest.
Always define a default value.
Use labels that downstream teams can understand.
Preview the field to check how records are distributed across labels.
Last updated

