--- title: "Set up target datasource" slug: "set-up-target-datasource" description: "Learn how to enrich field values based on relationships between tables, setting a different field value in a target table that is related to a source table." tags: ["Task topic"] updated: 2026-03-20T08:32:24Z published: 2026-03-20T17:44:40Z canonical: "docs.staedean.com/set-up-target-datasource" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up target datasource For an enrichment rule, you can set a field value in a target table that is different from the source table. As a target table, you can only use a table that is related to the source table. Set up the tables that you want to use as target table for the enrichment rule. > [!NOTE] > **Note** > > On creation of an enrichment rule, automatically, the source table is added as target table. ### Steps 1. Click **Data quality management**. 2. On the **Data quality policies** tab, in the list, click the link of the desired data quality policy. 3. Click the **Enrichment rules** tab. 4. In the list, find and select the desired enrichment rule. 5. Click **Target datasource**. 6. Click **New**. 7. Select one of the available table relations of the source table. In the **Relation name** field, enter or select a value. 8. If you have selected a table relation, the related table is automatically filled. You can select a table if you know it is related to the source table. In the **Table name** field, enter or select a value. 9. For each target datasource, other than the source datasource, you can define a dynamic query. The dynamic query defines to which target datasource records the enrichment rule applies. In the **Query field**, enter or select a value. 10. For an enrichment rule, you can use 'key-field' enrichment lines to identify records in the target datasource. The 'key-field' enrichment lines setup defines to which target datasource records the enrichment rule applies. Click **Create key fields**. > [!NOTE] > **Note** > > If you do not want enrichment lines marked as key fields, you can remove the 'key-field' enrichment lines. To do so, click **Remove key fields**. 11. Close the page. ## Related - [Apply enrichment rule to specific target datasource records](/apply-enrichment-rule-to-specific-target-datasource-records.md) - [Set up enrichment rule of type Fixed value](/set-up-enrichment-rule-of-type-fixed-value.md) - [Set up enrichment rule of type Data query](/set-up-enrichment-rule-of-type-data-query.md) - [Set up enrichment rule of type Transformation list](/set-up-enrichment-rule-of-type-transformation-list.md) - [Set up enrichment rule of type Number sequence](/set-up-enrichment-rule-of-type-number-sequence.md) - [Set up enrichment rule of type Custom](/set-up-enrichment-rule-of-type-custom.md) - [Set up enrichment rule of type Source field](/set-up-enrichment-rule-of-type-source-field.md) - [Set up enrichment rule of type Enable/Disable](/set-up-enrichment-rule-of-type-enable-disable.md) - [Set up enrichment rule of type Web service response](/set-up-enrichment-rule-of-type-web-service-response.md)