Start tracking your progress
Trailhead Home
Trailhead Home

Create a Story

Learning Objectives

After completing this unit, you’ll be able to:
  • Create an Einstein Analytics dataset and import data into it.
  • Use your imported data to create a story.


If you completed the Einstein Discovery Stories module, you already know about Einstein Discovery stories. A story is a collection of graphs, statistical analysis, and text. It helps you understand the relationships between a business-relevant metric (outcome variable) and the explanatory variables that influence that metric. In that module, you learned how to create a story and understand two kinds of insights: What Happened and What is the Difference.

In this module, you learn how diagnostic insights give you a deeper understanding of the complex relationships in your existing data. You identify factors and combinations of factors that have a significant impact on the outcome. Then you see how predictive insights help you make better decisions about future business actions.

To get started, let's upload some data and create a story to work with.



We recommend that you complete the Einstein Discovery Stories module before starting this module. If you did the Einstein Discovery Stories module recently, skip the next few steps. Instead, launch your Analytics-enabled DE org and open the AcquiredAccount-based story you created in that module.

Try Einstein Discovery with a Developer Edition Org

Before you work through this Trailhead module, sign up for a free Analytics-enabled Developer Edition org. This org is a safe environment where you can practice the skills you’re learning.



For this trail, you can’t use an existing Developer Edition org. Instead, sign up for this special Analytics-enabled Developer Edition org because:

  • It comes provisioned with the Analytics Plus license required for Einstein Discovery.
  • It has Einstein Discovery enabled.
  • It has the Einstein Analytics Plus permission set needed to use Einstein Discovery features.
Even if you already have an Analytics-enabled Developer Edition org, sign up for a new one now. The older Analytics-enabled Developer Edition orgs don’t get recently released features. Signing up for a new one ensures that you get the latest and greatest.

Signed up? Great! Let's jump right in!

Download the Data

Before we can create the story we use in this module, we need the data to analyze. Download the CSV file called AcquiredAccount.csv and save it to your computer.

The CSV file contains the same data that is used in the Einstein Discovery Stories module. We provide it as a shortcut so you can work through this module without having to finish the previous module first.

The CSV file has 11 columns: Account Id, BillingState, Division, Industry, Ownership, Rating, Type, AccountScore, StartDate, CloseDate, and CLV. The CSV file contains one row of information for each of the 10,000 different companies that our autoparts manufacturing company does business with. Here is what the first few rows of the CSV file look like.First rows of the CSV file

Create and Populate an Einstein Analytics Dataset

The next step is to get the data from the CSV file into an Einstein Analytics dataset.

  1. In your new DE Org, switch to Lightning Experience (if you have not already done so).
  2. Click the App Launcher icon (App Launcher), search for Analytics Studio, and then click the tile to launch Analytics Studio.


    Be sure to set your popup blocker to allow popups. Otherwise, your connected app doesn’t launch.

  3. Click Datasets.
  4. Click Create and then select Dataset from the dropdown.
  5. Choose CSV File as the source for your new data.
  6. In the file-selection window that opens, find and select (or drag and drop) the AcquiredAccount.csv file you downloaded, and then click Next.
  7. Accept the defaults and click Next.
  8. Accept the defaults and click Upload File. Einstein Analytics creates a dataset and imports the data from the CSV file.

Create the Story

Now, you’re ready to create a story from this dataset. Begin by telling Einstein Discovery which variable to maximize. In this module, we focus on the CLV variable. If you did the Einstein Discovery Stories module, you are familiar with this variable. Customer lifetime value (CLV) is a metric that predicts the profitability over the entire lifetime of the company’s relationship with a customer. Looking at CLV can help you find the best customers.

To create a story:

  1. Hover over the dataset, click the down arrow, and click Create Story. Analytics Studio launches the Story Setup wizard.
  2. In the first screen, for The variable, select CLV as the outcome variable (business metric) that you want to use.
  3. Accept all other defaults and click Data Options.
  4. In the Data Options screen, accept all defaults and click Review Settings.
  5. Click Create Story. When it’s done preparing the story, Einstein Discovery shows it to you.

    CLV by Division insight


Rights of ALBERT EINSTEIN are used with permission of The Hebrew University of Jerusalem. Represented exclusively by Greenlight.