Export Chart and Table Data from Stories
As the consumer of an SAP Analytics Cloud story, you can export the underlying data to external file formats for further examination for charts (CSV) and tables (CSV, Microsoft Excel, and PDF).
Video Overview
How to Export Chart Data to CSV
You can export both acquired and live data from a chart as a CSV file. Note that live data may take some time to export because it must be downloaded before it can be exported.
Procedure
Results
Depending on your browser settings, your file is automatically saved, or a dialog opens for you to choose where to save your file.
The notification dialog provides information on the export progress or completion. It also allows you to cancel the export.
All chart data is included in the CSV file, not just the currently visible data. For example, if your chart has a hierarchy, all the nodes of the hierarchy will be exported, even if you have not drilled down on the data in your chart (except for time series charts, which include only the currently selected level).
The following restrictions apply to chart exports:
-
Formatting (such as cell color, font styles, and so on) is not exported.
-
Hyperlinks are removed.
-
Hierarchies are flattened.
-
SAP Analytics Cloud profile settings do not influence the format of the exported data.
-
There is no export of BW display attributes.
How to Export Table Data to CSV, XLSX, or PDF
You can export both acquired and live data from a table as a CSV, XLSX, or PDF file. Note that live data may take some time to export because it must be downloaded before it can be exported.
Procedure
Results
Depending on your browser settings, your file is automatically saved, or a dialog opens for you to choose where to save your file.
The notification dialog provides information on the export progress or completion. It also allows you to cancel the export.
The table data included in the output depends on the scope defined in the settings. See Understand Scope Options for Table Export.
The following restrictions apply to table exports:
-
Formatting (such as cell color, font styles, and so on) is not exported.
-
The exported data has the same number of decimal places as are shown in the table. To include all seven decimal places, in the Styling panel, select Decimal Places and change the value.
-
Hyperlinks are removed.
-
Hierarchies are flattened.
-
Only the table data region is exported.
If you want to include custom cells that are outside the table data region, you need to select all the cells, copy them, and then paste them into Excel after the export is complete.
-
Only a table that is on the current active page is exported if you are using script APIs.
-
The maximum volume of exported table data depends on the result set limit of data model itself in addition to the export limit. For the result set limit in SAP Datasphere, refer to SAP Note 2770570
“Error message "The select returned more records than the limit in MaxResultRecords" / MDS Cube resultset & cell size limit”.
Learn More...
Consider the following when exporting your chart or table data.
Import CSV Files into Excel to Preserve Numeric Formatting
If you have data columns that contain only numeric values (such as ID columns, zip codes, or data with leading zeros), you will need to import your CSV file into Excel. If you try to open it directly in Excel, the numeric columns will be treated as numbers, not text.
-
Make a note of where you saved the CSV file, but do not open it.
-
Open Excel 365. If you have an older version of Excel, the following steps may be slightly different.
-
Select the Data tab.
-
Select From Text/CSV.
-
In the Import Data dialog, select the CSV file to import and select Import.
-
In the Text Import dialog, from the File Origin list, select Unicode (UTF-8).
-
Select Transform Data.
-
In the Power Query Editor, find a column that needs the data type to be changed.
-
In the column header, right-click, select Change Type, and then select Text. When the prompt appears, select Replace Current.
-
Repeat the process for each column that needs to have its type changed.
-
When you are finished, from the menu, select File > Close and Load.
-
Save your file as an Excel file.
Understand Scope Options for Table Export
When exporting table data, you can choose the scope of your CSV or XLSX file export to be either Point of view or All. The scope dictates what data and how many cells will be exported.
|
Scope |
Point of View |
All |
|---|---|---|
|
Description |
Exports what you see in the table data region (all the visible rows and columns). This includes visible comment columns, story/model calculations, and hierarchy levels in separate columns. |
Exports all the data, not just the currently visible data. Hierarchies of visible dimensions are expanded. If your table has a hierarchy, all the nodes of the hierarchy will be exported, even if you have not drilled down on the data in your table. |
|
Restrictions and notes |
When there are too many rows or columns in your table, you will get a drill limitation warning. To export more data, do the following:
|
The following are not included:
The following are included:
SAP Analytics Cloud profile settings and number format settings in the styling panel do not influence the format of the exported data. |
|
File Type |
Point of View |
All |
|---|---|---|
|
|
There are no specific restrictions, although browser, memory, and personal computer restrictions can still apply. |
You cannot export more than 3 million cells or 60 columns. |
|
CSV |
||
|
XLSX |
You cannot export more than 500 thousand cells. |
You cannot export more than 3 million cells or 60 columns. Only the following data model types are supported:
|
Convert Text for Exported Data in Excel
If you have characters such as parentheses or the percent sign in your exported data, Microsoft Excel may treat your numeric data as text and align it to the left instead of the right.
To correct the formatting:
-
In Excel, select the column that is incorrectly formatted.
-
From the ribbon menu, select Data > Text to Column, and then select Finish.
-
From the ribbon menu, select Home, and then apply the correct number formatting.





