---
schema_version: "1"
id: 7c298a7040dbc5f4356553c4f51f5d15f7282930d9ade4167d91d27229d6618d
title: Create a Relationship Between Data 360 Objects
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/c360_a_sl_relationship_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.c360_a_sl_relationship_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8d025ccec205ec782a7c0a38064c36cd2a64e1230f006537bbbc9b46ac63d78f
description: You can create a relationship between any two Data 360 objects in a semantic model.
products:
  - Data 360
release: "264"
---
# Create a Relationship Between Data 360 Objects

You can create a relationship between any two Data 360 objects in a semantic model.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: All editions supported by <span>Data 360</span>. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;language=en_US" target="_blank"><span>Data 360</span> edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d20814e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d20814e63 ">To create a relationship:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d20814e63 ">
              <p>Permission set: </p>
              <ul>
                <li>Data Cloud Architect</li>

              </ul>
              <p>AND</p>
              <p style="margin-bottom:0;">Semantic Models object</p>
            </td>

          </tr>
        </tbody>
      </table>

1. In Data Cloud, on the Semantic Layer tab, select a data model.
2. In the Semantic Model Builder Canvas, click the plus sign next to the first object.
3. From the dropdown select the object you’re creating a relationship for.
    
    ![New SL relationship](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-semantics-264-0-0-production-enus/f7c99ab1-3439-4722-b925-34cb47455d89/semantics/images/semanticlayer/SL_Relationship_New.png)
    
    The bottom panel opens. Here you can configure the relationship.
    
    ![Creating SL relationship](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-semantics-264-0-0-production-enus/f7c99ab1-3439-4722-b925-34cb47455d89/semantics/images/semanticlayer/SL_Relationship_Create.png)
4. To properly configure a relationship, you must select matching data object fields.
5. In the bottom panel, select the plus icon under Select data object fields.
6. Select the matching data object fields for the objects.
    
    The data object fields must be of the same type. You can search for fields by entering keywords in each box.
7. Click **Add**.
8. Select the plus sign and repeat the process to add matching data object fields.
    
    After the relationship is configured, you must save it to maintain its configuration.
9. Click **Apply**.
    
    The bottom panel displays a preview of all the fields within both data cloud objects.
    
    ![SL relationship preview](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-semantics-264-0-0-production-enus/f7c99ab1-3439-4722-b925-34cb47455d89/semantics/images/semanticlayer/SL_Relationship_AI_Preview.png)
    
    A black line indicates that the relationship is configured correctly.
    
    ![SL relationship in canvas](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-semantics-264-0-0-production-enus/f7c99ab1-3439-4722-b925-34cb47455d89/semantics/images/semanticlayer/SL_Canvas_Relationship.png)

You can use a calculated field in a relationship, but only under specific conditions:

- The calculated field must reference only fields from the data object being connected, both in its formula and filters.
- If a calculated field references another calculated field, the referenced field must follow the same rule.
- If the calculated field is a measure, it can't include any aggregation methods.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-semantics-264-0-0-production-enus/f7c99ab1-3439-4722-b925-34cb47455d89/images/icon_important.png)

Important When querying relationships, Tableau Semantics determines the join type based on the relationship and context of the query. To configure the join type manually, use logical views. See [Logical Views](https://help.salesforce.com/s/articleView?id=analytics.c360_a_sl_logical_view.htm&release=264.0.0&type=5 "A logical view is a data object that combines objects using joins or unions rather than relationships. Although a logical view is a separate object type in the semantic model, it functions like any data model object (DMO) or data lake object (DLO). Use logical views in relationships, calculated fields, metrics, and other semantic definitions.").