Costs

Costs represent the underlying cost for items within a transaction:

  • Item cost is the cost to produce all units of an item.

  • Order cost represents the total cost of goods sold (COGS) for a single transaction, minus returns, cancellations, and discounts.

  • Unit cost is the cost to produce a single unit of one item.

You can access cost attributes directly from the Segment Editor. To add these attributes to your segments, To add these attributes to your segment, click Add condition and then Add attribute. Select the Unified Itemized Transactions table (for Item Cost and Unit Cost) or the Unified Transactions table (for Order Cost), apply a condition, and then specify a value.

Available conditions

The following table lists the conditions that are available to these attributes.

Note

These attributes have a Decimal data type. All Decimal data types share the same set of conditions. Recommended conditions for this attribute are identified with “ More useful” and conditions with more limited use cases are identified with “ Less useful”.

Condition

Description

is

Less useful

Returns a specific cost amount, such as “47.99”, “59.99”, or “79.99”.

Tip

Use the following conditions to return a range of cost amounts instead of a specific cost 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 cost amounts that are between the specified cost amounts.

is greater than

More useful

Returns cost amounts that are greater than the specified cost amount.

is greater than or equal to

More useful

Returns cost amounts that are greater than or equal to the specified cost amount.

is in list

Less useful

Avoid using the is in list condition; individual cost amounts are not typically made available in a list.

is less than

More useful

Returns cost amounts that are less than the specified cost amount.

is less than or equal to

More useful

Returns cost amounts that are less than or equal to the specified cost amount.

is not

Less useful

Avoid using the is not condition.

For example, if you specified “59.99” then any cost amounts less than or equal to “59.98” and any cost amounts greater than or equal to “60.00” would be returned.

is not between

Less useful

Discovers outlier revenue.

For example, if most of your cost amounts are between “59.99” and “89.99”, use “59.99” and “89.99” to return cost 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 revenue amounts are not made available as a list.

is not NULL

Returns customer records that have a value, such as “12.45”, “24.75”, and “127.99”, 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.