---
schema_version: "1"
id: 3f6088e92440b8a4975363d4d6b8ce363dba646c81c73b7c7ab7aa703c529798
title: Add Calculated Insights to a Data Graph
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_add_calculated_insights_to_a_data_graph.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_add_calculated_insights_to_a_data_graph.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 597000d7502ec3db0a063e2c49c92a5223187487836c997708b4c53582fc1c81
description: In Data 360, you can include calculated insights in a data graph as long as they’re based on a data model object (DMO) that’s also included in the data graph. The DMO’s primary key field must be configured as a dimension on the calculated insight object (CIO). You can add a CIO only at the root of a data graph. You can’t add a CIO as a child node under another object.
products:
  - Data 360
release: "264"
---
# Add Calculated Insights to a Data Graph

In Data 360, you can include calculated insights in a data graph as long as they’re based on a data model object (DMO) that’s also included in the data graph. The DMO’s primary key field must be configured as a dimension on the calculated insight object (CIO). You can add a CIO only at the root of a data graph. You can’t add a CIO as a child node under another object.

### 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: <strong>All Editions</strong> supported by Data 360. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;release=264.0.0&amp;type=5" title="Data 360 is available in several supported Salesforce editions. Some Data 360 features also require additional licenses.">Data 360 edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <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="d242285e67">User Permission Set
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permission Set Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d242285e67 ">To add calculated insights to a data graph:</td>

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

              </ul>
            </td>

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

1. Next to the DMO name, click the “+” icon and select a related CIO. In the object picker, CIOs are denoted with the (Data Graph) icon.
    
    ![View in data model](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/data_cloud/images/add_a_data_graph.png)
2. Select dimensions and measures on the **Fields** tab.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/images/icon_example.png)

Example JSON Data: This data graph JSON shows a calculated insight with two dimensions and two measures. Unified Individual is the primary DMO, and one of the dimensions on the calculated insight is the primary key field on Unified Individual DMO.

```
{
  "ssot__id__c": "100005",
  "ssot__name__c": "John",
  "ssot__age__c": 30,
  "ssot__ContactPointEmail__dlm": [
    {
      "ssot__id__c": "99997",
      "ssot__emailid__c": "john@salesforce.com"
    },
    {
      "ssot__id__c": "99998",
      "ssot__emailid__c": "johnsmith@gmail.com"
    }
  ],
  "Category_wise_purchases_by_month_year__cio": [
    {
      "ssot_id__c": "100005",
      "monthYear": "Jan, 2023",
      "category" : "Electronics",
      "order_count" : 3,
      "total_spend_amount": 950
    },
    {
      "ssot_id__c": "100005",
      "monthYear": "Jan, 2023",
      "category" : "Lawn & Garden",
      "order_count" : 0,
      "total_spend_amount": 0
    },
    {
      "ssot_id__c": "100005",
      "monthYear": "Feb, 2023",
      "category" : "Electronics",
      "order_count" : 1,
      "total_spend_amount": 2350
    },
    {
      "ssot_id__c": "100005",
      "monthYear": "Feb, 2023",
      "category" : "Lawn & Garden",
      "order_count" : 5,
      "total_spend_amount": 375
    }
  ],
  "individual_sm_1686128480282__dlm":[
    {
      "id__c":"100005",
      "delta_type__c":"existing",
      "segment_id__c":"1sgRO000000010i",
      "timestamp__c":"2022-11-14 09:45:51.515 UTC",
      "version_stamp__c":"2022-07-21 05:46:06.609 UTC",
      "snapshot_type__c":"F"
    }
  ]
}
```