Discount amounts¶
Discount amounts can be present for items, orders, and units:
Item discount amount is the discount amount that is applied to all units that are associated with a single item within a single transaction.
Order discount amount is the total discount amount that is applied to the entire order.
Unit discount amount is the discount amount that is applied to a single unit of one item.
You can add discount amount attributes to a segment from the Segment Editor. Click Add condition, and then choose Attributes.
Enter “discount amount” into the search feature to filter the list of available attributes. Choose item discount amount, order discount amount, or unit discount amount to add the attribute to a segment. Select an operator, and then finish defining the conditions for how this attribute should be applied to the segment.
Available operators¶
The following table lists the operators that are available to these attributes.
Note
These attributes have a Decimal data type. All Decimal data types share the same set of operators. Recommended operators for this attribute are identified with “ More useful” and operators with more limited use cases are identified with “ Less useful”.
Operator |
Description |
---|---|
is |
Less useful Returns a specific discount amount, such as “4.25”, “12.00”, or “38.50”. Tip Use the following operators to return a range of discount amounts instead of a specific discount amount: is between, is greater than, is greater than or equal to, is less than, and is less than or equal to. |
is between |
More useful Returns a range of discount amounts that are between the specified discount amounts. |
is greater than |
More useful Returns discount amounts that are greater than the specified discount amount. |
is greater than or equal to |
More useful Returns discount amounts that are greater than or equal to the specified discount amount. |
is in list |
Less useful Avoid using the is in list condition; individual discount amounts are not typically made available in a list. |
is less than |
More useful Returns discount amounts that are less than the specified discount amount. |
is less than or equal to |
More useful Returns discount amounts that are less than or equal to the specified discount amount. |
is not |
Less useful Avoid using the is not condition. For example, if you specified “11.99” then any discount amounts less than or equal to “11.98” and any discount amounts greater than or equal to “12.00” would be returned. |
is not between |
Less useful Discovers outlier discount amounts. For example, if most of your discount amounts are between “11.99” and “82.99”, use “11.99” and “82.99” to return discount amounts that were less than and greater than those values. |
is not in list |
Less useful Avoid using the is not in list condition when individual profit amounts are not made available as a list. |
is not NULL |
Returns customer records that have a value, such as “4.99”, “5.99”, and “27.22”, but also “ “ (a space) and “0” (zero). If the record has any value it will be returned. |
is NULL |
Returns customer records that do not have a value. |