Campaign Manager - Segments


Adding Rules

A single rule is a column and value combination that identifies the people you will either include or exclude from the segment based on the operator used i.e. Equal to, Not equal to. The database columns available for a rule are determined by the top resolution level table.

Rules can be added directly to a Segment or grouped together in a Group. See Adding a Group.

Select Column

Either select and drag the required column from the Data Tree or click the down arrow in the Select Column field to display the drop down menu.

You can navigate to the column or you can search for it by clicking the search icon

The following icons are used for Column Types:

Icon Data Type Description
Text The column can contain alphanumeric data (text or numbers).
Integer Numeric data that has no decimal values, for example, an order number.
Real Numeric data with decimal numbers.
Date

For columns containing dates, where format will be driven by user settings.

Time Times - hour, minutes and seconds, where format will be driven by user settings.
DateTime Dates and times, where format will be driven by user settings.

Select the required Column and click the Select button:

This will add the Column to the Select Column field.

Select Operator

Select the Operator for the rule that will specify the inclusion criteria to used based on the selected column and entered values. Click on the Equal to field drop-down. The options available will depend on the selected Column Data Type e.g. Text or Numeric:

Equal to Returns records that are equal to the selected value.
Not equal to Returns records that are not equal to the selected value.
Between Returns records that are between and including the two entered values
Contains Returns records that contain the specified test string (case sensitive)
Does not contain Returns records that do not contain the specified test string (case sensitive)
Greater than Returns records with a value greater than the one specified.
Greater than or equal to Returns records with a value greater or equal to the one specified.
Less than Returns records with a value less than the one specified.
Less than or equal to Returns records with a value less than or equal to the on specified.
Number days before Returns records from a Date, or DateTime column where, using only the date component, the column value is x days before today. Specify an INTEGER value and note that = 0 relates to Today.
Number days after Returns records from a Date, or DateTime column where, using only the date component, the column value is x days after today. Specify an INTEGER value and note that = 0 relates to Today
Days to anniversary from Returns records from a Date, or DateTime column where, using only the day/month components, the column value is x days before today. Specify an INTEGER value and note that = 0 relates to Today. The helper will accept negative days for an anniversary in the past.
Has a value Returns all records for which there is a value. For example, if applied to an Income field, returned records would be those with a an Income captured.
Has no value Returns all records for which there is a no value (null). For example, if applied to an Income field, returned records would be those without a an Income captured.

 

Note

Nulls - if you want to select columns that contain no value, use the Has no value option to specify null.

 

Select Values

To create a quick "equals" query rule, simply select one or more values from the value picker in the Data Tree panel using the check boxes, and drag to the required location on the Segment document, or select the value or values that the rule will be calculated against using a rule with values yet to be defined.

Enter a value manually or click the value picker icon to view the values available for the Column and the Counts for each value.

Value blue bars - the value picker displays available values and their respective counts, along with blue bars that represent the frequency of that value relative to the size of the table. The counts and the blue bars will reflect the selected operator. For example, in the Age column, the counts and blue bars will change if you first select the Equal operator (all age values displayed) and then select the Greater than operator (only values greater than your selected value are displayed).

Tick the check box next to the required value.  For certain operators e.g. equal to, multiple values can be added to the field by ticking the check box next to all required values.

Once a value has been added to the field, click the x next to it to remove it or untick the check box next to it, in the list.

Note:

Values entered manually are case sensitive. For example, for a Country column, 'Switzerland' will return results, whereas 'switzerland' will not. When the Select Value field contains a value, it has a colored background:

Grey box validation

The format of the value is valid and there are matching values in the database.

Red Box validation

The format of the value is not valid, for example text in a numeric column. The Calculate segment button is disabled when the format is not valid.

Click the Add icon at the required level to add another Rule if required.

Rules and Groups can be rearranged if required, see Re-arranging Rules and Groups.

See also

Create a Segment

     
© Alterian. All Rights Reserved. | Privacy Policy | Legal Notice