Change dimension change-dimension

Use the Change dimension activity to change the targeting dimension as you are building an audience. This activity shifts the axis depending on the data template and the input dimension. For example you switch from the “contracts” dimension to the “clients” dimension.

You can also use this activity to define the additional columns of the new target, and define data deduplication criteria.

IMPORTANT
Please note that the Change Dimension and Change Data source activities should not be added in one row. If you need to use both activities consecutively, make sure you include an Enrichement activity in between them. This ensures proper execution and prevents potential conflicts or errors.

To configure the Change dimension activity, apply the following steps:

  1. Select the new targeting dimension via the Change dimension field.

    Change dimension field of the activity with the field selector open and Subscriptions selected as the new dimension

  2. During dimension change, you can keep all elements or select those to be kept in output. In the following example, the max. number of duplicates is set to 2.

    Option Limit the number of items in the new targeting document selected with the Limit field set to 2

    When you choose to keep only one record, a collection is displayed in the work schema: This collection represents all records that will not be targeted in the final result (since only one record is kept). Like all other collections, this one lets you calculate aggregates or recover information in columns.

    For example, if you change the Customers dimension to the Recipients dimension, it will be possible to target customers of a specific store, while adding the number of purchases made.

  3. If you choose not to keep all this information, you can configure the duplicate management mode.

    Deduplication dialog listing the email and account number fields with the arrows that set their priority

    The blue arrows enable you to define the duplicate processing priority.

    In the example above, recipients will be deduplicated on their email address first, then on their account number if necessary.

  4. The Result tab lets you add additional information.

    For example, you can recover the county based on the zip code by using a Substring type function. To do this:

    • Click the Add data… link and select Data linked to the filtering dimension.

      Result tab Add data link opening the Additional data wizard with Data linked to the filtering dimension selected

      note
      NOTE
      For information on creating and managing additional columns, refer to Add data.
    • Select the previous targeting dimension (before axis switch) and select the Zip Code in the recipient’s Location sub-tree, then click Edit expression.

      Additional data wizard with Zip/Postcode from the Location sub-tree added as an output column and Edit expression

    • Click Advanced selection and choose Edit the formula using an expression.

      Advanced selection button opening Formula type with Edit the formula using an expression selected

    • Use the functions offered in the list and specify the calculation to be performed.

      Expression editor with the formula Substring of the zip code from character 1 with length 2 and the list of functions

    • Finally, enter the label of the column you have just created.

      Output columns with the label County and the expression Substring(zip/Postcode, 1, 2)

  5. Execute the workflow to view the result of this configuration. Compare the data in the tables before and after the change dimension activity, and compare the structure of the workflow tables, as shown in the following examples:

    Display the target option on the transition before Change dimension, with its data and schema in View population

    Display the target option after Change dimension, showing the data with the County column and the new schema

recommendation-more-help
campaign-help-automation