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.

  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.

    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.

    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.

      note 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.

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

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

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

  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:

recommendation-more-help
cffff7e4-091f-472e-87ca-52087599f99d