Stories are at the center of the SAP Analytics Cloud experience. A story is a document that uses charts, visualizations, images, and other objects to describe and analyze data. You can share your stories with other users and grant permissions for these stories. When you share your stories, users with view permissions can analyze the data by navigating within the stories.
Create a story that analyzes the latest readings and tank details. You'll use a page filter, charts, a table, and a map for this analysis.
- Open SAP Analytics Cloud.
- From the side navigation, choose Stories.
- In the Templates section, choose Dashboard to open Select Design Mode Type.
- Choose Optimized Design Experience as design mode and choose Create.
- Choose Map, table and content as dashboard layout.
- Choose Apply, and then choose Close.
- Enter Farm Tank Volume Dashboard in the title.
- Save the story.
- [Optional] Close the Left Side Panel and stay in Edit mode.
See Create a New Story.
Use the analytic model which was created in the SAP Datasphere to feed the data into the SAP Analytics Cloud story artifacts.
- In the Tools section in the top menu, choose Add New Data.
- Choose Data from an existing dataset or model to open Select Dataset or Model.
- Under Datasphere, choose the connection you have created earlier.
- It lists out the spaces from the SAP Datasphere tenant.
- Choose your space (for example, TANK_FARM) to get the list of artifacts exposed for consumption.
- Choose AM_ManualTankDetailsAll the analytic model.
- Save the story.
See About Adding Data to a Story.
Use SAP Analytics Cloud story and page filters to narrow the scope of your analysis. The Story filter allows you to apply filters for all charts and tables in a story that are based on the same model. The Page filter is the same as the Story filter, but applies to just one page in a story. An Input Control is one type of the Page filters.
In this section, your task is to incorporate an input control that allows users to filter the most recent readings based on a specific range of reading dates.
- Choose Create from the Input Control.
- Choose Dimensions.
- Choose TIME_STAMP > Filter by Range.
- Choose + Add a New Range, and in the Granularity dropdown menu, select Day.
- In the Settings for Users section, choose Single Selection and then choose OK.
- Expand the page filter horizontaly to view the title (TIME STAMP) and the date ranges.
- In the Title field, enter Tank Volume Reading Date.
- In the Look Back field under the selected year, enter 10 to view the data in the charts & table.
- Save the story.
See Applying a Story or Page Filter.
The table presents the most recent readings organized as rows, including tank ID, reading date, comments, and volume with its corresponding unit of measure (UOM).
- Choose + Create a Table to open the Builder.
- Expand Table Structure. In the Rows section, choose + Add Dimensions.
- Under DIMENSIONS, select TANK_ID, TIME_STAMP, COMMENT, UOM.
- Enter Latest Tank Readings in the title.
- Save the story.
See Creating a Table.
The map displays the positions of individual tanks, visually distinguished by colored bubbles indicating their respective sizes.
- Choose + Create Geo Map to open the Builder.
- Under Content Layers, choose + Add Layer.
- Under Location Dimension, choose + Location Dimension Required to open location dimensions. You see the Location is listed. Select the location.
- Under the Bubble Color, choose + Add Measure/Dimension, select Size(Member) under Dimensions.
- Select Done to go back to the Geo Map Layers.
- Under Base Layer, choose Hybrid as the Base Layer Style.
- Enter the title Tank Location.
- Save the story.
See Creating a Geo Map.
The vertical bar chart illustrates the latest readings categorized by tank ID and volume.
- Choose one of the charts from + Create a Stacked Chart or Create Combination Stacked Chart to open the Builder.
- Choose Bar/Column as the chart type.
- Choose Vertical as the Chart Orientation.
- Under Measures, choose + At least 1 Measure required and select Volume.
- Under Dimension, choose + Add Dimension and select TANK_ID.
- Under Color, choose + Add Dimension/Measure, then under Dimensions, expand TANK_ID and choose Size.
- Enter Latest Tank Readings in the title.
- Save the story.
See Creating a Chart.
The distribution of tanks based on their sizes can be visualized using a pie chart.
- Choose + Create a ...* from the remaining chart to open the Builder.
- Choose Pie as the chart type.
- Under Measures, under Calculations, choose + Add Calculation to open the Calculation Editor.
- In the Type dropdown menu, select Aggregation.
- In the Name field, enter NoOfTanks.
- In the Operation dropdown menu, select COUNT DIMENSIONS.
- In the Aggregation Dimensions dropdown menu, select TANK_ID.
- Choose OK.
- Under Color, choose + At least 1 Dimension required and then under Dimensions, expand TANK_ID and then select Size.
- Enter Tanks per Size in Percentage in the title.
- Save the story.
See Choosing the Best Chart Type for the Data.
Linked analysis is used to drill through hierarchical data or to create filters that simultaneously update multiple charts in your story.
Create a Linked Analysis to specifically filter the table and bar chart. The other two artifacts, which are basic details, are not directly associated with the reading date.
- Choose the Page Filter. From the ... (More Actions) menu, choose Linked Analysis > Settings.
- Choose Only selected widgets and select only Vertical Bar Chart & Table.
- Choose OK and then choose Apply.
See Creating a Linked Analysis.
Once you have created the story successfully, you can view it by selecting the View mode. To share the story with others, you can generate a custom link that enables business users to access it.
- [Optional] Rearrange the artifacts if needed.
- Choose View in the upper right corner.
- Choose the File menu, then Share to open the Share story dialog.
- Choose Customize Link, and enter mode=present in the Set URL Parameters field.
- In the Enter a Custom Link field, give a name for the dashboard, for example TankVolumeDashboard.
- Choose Save to go back to Share Story dialog.
- Copy and store the Custom Link for later use.
- Choose Close.
You have two options to access the dashboard:
- Directly use the custom link. See Share Stories.
- Add it as a separate application to the SAP Work Zone site. See Add an app to your subaccount.
To analyze the data in the dashboard, simply access the custom link created in the previous step using your preferred browser.
You have successfully designed a dashboard that enables data analysis through a variety of charts and a page filter.