Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Create an App and a Lens

Follow Along with Trail Together

Want to follow along with an expert as you work through this step? Take a look at this video, part of the Trail Together series.

(This clip starts at the 3:55 minute mark, in case you want to rewind and watch the beginning of the step again.)

Create an App

A CRM Analytics app is a curated set of analyses and paths through your data, plus powerful tools for spontaneous, deep explorations. CRM Analytics starts with apps. Apps organize data projects, run presentations directly from dashboards, and control asset sharing.

Now that you’ve signed in to your CRM Analytics-enabled Developer Edition org and connected it to Trailhead, you’re ready to get started.

  1. If you’re not already there, open your Developer Edition org. And if you see the Welcome to Lightning Experience window, you can close it.
  2. From the App Launcher ( App Launcher icon), find and select Analytics Studio. (Analytics Studio opens in a new tab. Don’t close the first tab. You do work in it later in this project, so keep both tabs open.)
    Note: If Analytics Studio doesn’t open, check to see if your pop-up blocker is on. If so, change the setting to allow pop-ups from your org.
  3. In Analytics Studio, click Create, and then select App.
  4. Click Create Blank App.
  5. Click Continue.
  6. Enter My Amazing App as the name of your app.
  7. Click Create.

You created an app, and it displays in a new tab. Now, let’s build some CRM Analytics assets for your app.

Create a Lens

A lens is a visualization of data in a dataset. You use the lens to explore data graphically and to build queries for a dashboard.

  1. Click the Analytics Studio tab to return to the CRM Analytics Home page.
  2. Click Browse, and then click Datasets.
  3. Select the DTC Opportunity dataset. A tab opens with a new lens for exploring the dataset.
    Note: If an error occurs while opening a dataset or dashboard, don’t worry. DE orgs sometimes encounter stale data that just needs a refresh. Return to the CRM Analytics Home page, refresh your browser, and click the DTC Opportunity dataset again. You’re now ready for exploration!
  4. In the New Lens tab, under Bar Length click the words Count of Rows (not the down arrow next to the words). 

Count of Rows is the tab beneath Bar Length

  1. Click Sum, and then select Amount

Clicking Count of Rows opens a box where you select Sum and then Amount

  1. Under Bars, click the plus sign (+), and then select Industry.
  2. Under Bars, click the plus sign (+) again, and then select Product Family.
  3. Under Bar Length, click the arrow next Sum of Amount, and select Sort Descending.
  4. To the right of the chart, click the Charts icon (Charts icon).
  5. Select the Stacked Column chart icon (Stacked Column icon) to create a Stacked Column chart.

The Stacked Column chart displays the sum of amount according to industry

  1. Click Save button to save your lens.
  2. For the title of your new lens, enter My Amazing Lens, and then select App -> My Amazing App.
  3. Click Save.

Now that you’ve created an app and a lens, you’re ready to create a dashboard. You’ll also create an interactive chart, list widget, and a table created from a conversational query.

Note

Before you click the Verify Step button, make sure that your CRM Analytics-enabled Developer Edition org shows next to the Launch button.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈