---
schema_version: "1"
id: 4db9b096cee904899c68cc6da50155e90cb582392c064bb9b51c3698df35adff
title: Sales Analytics Opportunity Dashboard (Embedded)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_app_sales_analytics_dashboard_summary_opportunity.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_app_sales_analytics_dashboard_summary_opportunity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3d66e2c154b5b9a82d1a0766015746da54e7635af45344804711e6b5aac59d3b
description: Get a summary of an opportunity. You embed the dashboard in a Salesforce opportunity page.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Sales Analytics Opportunity Dashboard (Embedded)

Get a summary of an opportunity. You embed the dashboard in a Salesforce opportunity page.

![Sales Analytics embedded opportunity dashboard](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_apps_sales_analytics_dashboard_opportunity_embedded.png)

## Default Behavior and Recommended Options

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note This dashboard is only included if Sales Wave is set up to include products. See Wizard and Other Setup Options.

Embed the dashboard in either Lightning and Aloha page layouts.

Edit the dashboard to set target lines and set the upper bounds for gauges. With the dashboard open in Analytics Studio, click the edit icon ![Analytics edit dashboard icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_apps_edit_icon.png) to open the designer, then click the widget you want to edit. Then look for the value you want to change in the properties panel on the right and change it there. Save the dashboard.

## Wizard and Other Setup Options

To add this dashboard to your app, select Products on the wizard page that lets you add objects to the app.

## Datasets Used

- Opportunity Products
- Activities

## Embedding Syntax

Here’s the syntax for embedding the dashboard in either Salesforce Classic or Lightning Experience Opportunity page layout. Note the difference between using a filter for single accounts or account hierarchy. `Opportunity` is the developer name for the opportunity dataset. Use the exact developer name of the dataset when embedding the dashboard.

Salesforce Classic

```
{"datasets": { "opportunity": [{"fields": ["Id"] ,"filter": { "operator":
          "in", "values": ["$Id"] } } ]}}
```

Lightning Experience

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note Syntax for Lightning Experience uses single quotes instead of double quotes.

```
{'datasets': { 'opportunity': [{'fields': ['Id'] ,'filter': { 'operator': 'in', 'values': ['$Id'] } }
      ]}}
```

## KPI Calculations

- Age. Number of days opportunity has been open; Today’s date - Created date.
- Days in Current Stage. (Not shown.) Number of days the opportunity has spent in the current stage.
- Days until Close. (Not shown.) Expected close date - today’s date
- Pushed Close Date. Number of times the close date has been pushed into the future.
- Product Breakdown. Grouping of product names according to product total price.
- Discount. (Product total price for all products attached to the opportunity/ Product list price)
- Activity Breakdown. Number of Activities (open or closed) broken down by activity type.