Add Data to Stories
You can add data from existing models, connect to models from external data sources, or add data from a local file.
When you import data into a story, a “private” or “embedded” entity is created in the background. This entity contains your data structures - dimensions, measures, and dimension attributes such as descriptions or hierarchy information. The imported data is embedded in the story as a self-contained entity. It will not appear in the folder list for use with other stories.
When importing data into a story, the import process analyzes the source data and creates an initial inferred data view with proposed dimensions and measures. You then further refine the proposal by geo enriching dimensions, specifying certain columns as either dimensions or measures, and fixing any data-quality problems.
The overall workflow for adding data to a story involves the following:
-
Import your data.
-
Optional: specify descriptions or hierarchies for the dimensions, or specify a column to be a measure.
-
If necessary, cleanse your imported data and fix any data-quality problems. For more detailed information about preparing data, see About Data Wrangling, Mapping, and Transformation in Datasets.
-
Embed the dataset by saving the story, or by switching from Data to Story view.
Data Preparation
SAP Analytics Cloud supports two data preparation experiences: agile and basic data preparation.Agile Data Preparation
-
Data structures and data types are inferred during the initial data import, letting you immediately start working on story layout.
-
A Dataset Overview panel listing all the dimensions and measures included in the imported dataset is displayed. You can use this panel to make some quick changes to your data structures.
-
You can immediately consume the imported data and any consequent data modifications to charts and other visualizations in your stories.
-
You can easily create level hierarchies based on the imported dimensions.
-
Unresolved data quality issues will not prevent you from consuming unaffected data cells to create charts and other visualizations.
For more information about datasets, see About Datasets and Dataset Types.
Basic Data Preparation
The basic data preparation experience is more suited to models, where data structure is a paramount consideration. These scenarios include working with live data where structure is defined by the source of data, and governed data that is centrally controlled. You can launch this experience after importing your data. Under the Save toolbar, choose Open With Basic Data Preparation.

-
Appending data to an existing embedded dataset.
-
Mapping newly uploaded data into an existing dataset.
-
Acquiring data from a Dow Jones data source.
-
Using multiple headers when performing a transformation to convert columns to rows.
-
Using Smart Insights when working with variance chart.
-
Building a parent-child hierarchy.
Add Data to a New Story
You can import and immediately use data to create visualizations within your stories.
Procedure
- From the (Main Menu), choose Stories, and choose Canvas.
- From the toolbar, choose and Add New Data.
- In the data selection dialog, select one of the following options:
-
Model or Dataset: Use this option to select existing models or datasets.
-
Data Source: Use this option to upload data stored in a supported SAP or external data source. For example, SAP HANA.
In the dialog, the list of data sources is automatically filtered to display the data sources for which a connection has already been preconfigured on the system. Next to the data source type, you can also see the number of connections available. To see all connections, choose and uncheck Enabled Data Sources Only.
If the data is stored in SAP Datasphere, select a live connection in the model selection dialog, and then select an analytic model, a view (analytical dataset), or a perspective. For more information on how to leverage SAP Datasphere data in stories, check Live Data Connections to SAP Datasphere. -
File: Use this option to upload data from an Excel or CSV (comma-separated-values) file stored on your device.
-
- If you have uploaded an Excel or CSV file, the application displays a data preview dialog where you can visualize the first 1000 rows of data you are about to add to the story and the corresponding dimensions and measures that have been created. Do one of the following:
-
Choose Delete Data if you have uploaded the wrong file for example and want to start from the beginning.
-
Choose Edit Data to access the data preparation screen, where you will be able to run quick actions, transformations, add geo enrichment or create custom expressions before adding the data to the story. For more information, see About Data Wrangling, Mapping, and Transformation in Datasets and Apply Data Transforms to Cells, Rows, and Columns in Datasets.
-
Choose Finish to add the data to the story.
-
Add Data to an Existing Story
You can add additional data to existing stories.
Procedure
- In Edit mode, choose (Data) from the toolbar on the right.
- From the toolbar, choose and Add New Data.
- In the data selection dialog, select one of the following options:
-
Model or Dataset: Use this option to select existing models or datasets.
-
Data Source: Use this option to upload data stored in a supported SAP or external data source. For example, SAP HANA.
In the dialog, the list of data sources is automatically filtered to display the data sources for which a connection has already been preconfigured on the system. Next to the data source type, you can also see the number of connections available. To see all connections, choose and uncheck Enabled Data Sources Only.
If the data is stored in SAP Datasphere, select a live connection in the model selection dialog, and then select an analytic model, a view (analytical dataset), or a perspective. For more information on how to leverage SAP Datasphere data in stories, check Live Data Connections to SAP Datasphere. -
File: Use this option to upload data from an Excel or CSV (comma-separated-values) file stored on your device.
-
- If you have uploaded an Excel or CSV file, the application displays a data preview dialog where you can visualize the first 1000 rows of data you are about to add to the story and the corresponding dimensions and measures that have been created. Do one of the following:
-
Choose Delete Data if you have uploaded the wrong file for example and want to start from the beginning.
-
Choose Edit Data to access the data preparation screen, where you will be able to run quick actions, transformations, add geo enrichment or create custom expressions before adding the data to the story. For more information, see About Data Wrangling, Mapping, and Transformation in Datasets and Apply Data Transforms to Cells, Rows, and Columns in Datasets.
-
Choose Finish to add the data to the story.
-
Replace a Dataset in a Story
You can now replace any public or private dataset in your story with another public dataset.
Context
Your new dataset must contain all the measures and dimensions, and the same measure and dimension names and types as your original dataset. However, your new dataset can also contain additional measures and dimensions not found in the original dataset.
