Starting With A Basic Story

Objective

After completing this lesson, you will be able to explain how to handle Story, Widget, Charts and Calculations

Handling Toolbar Navigation Options

After examining the options available for creating a story, we will now look at how a story can be created or edited in Edit mode. For this purpose, it's advisable to open the left and right-side panel in Edit mode. These panels can be opened using the first two icons in the View section of the toolbar.

The following table is a comparison of the collapsed and expanded toolbar layouts. Compared to the collapsed layout, the options may be in a different order when the toolbar is expanded.

The image shows the toolbar layout in edit mode with both collapsed and expanded views, highlighting various tool options. The expanded view is divided into six sections, each containing different editing tools.

Left Side Panel

When creating a story and adding widgets to it, users have the option to use the toolbar at the top of the screen or optionally the Left Side Panel. This panel can be opened and closed from the Left Side Panel button in the View section of the toolbar. However, at the Left Side Panel, users can select different options.

  • Assets: All elements available in the toolbar can also be added to the story from the Left Side Panel.
  • Outline: Access story settings, pages, and scripting.
  • Filters : View and apply story filters.
The image shows a user interface with a search bar and a list of widgets including Chart, Table, Input Control, Text, and Button. Additional categories like Filters/Controls, Text Inputs, Containers, Planning Actions, Others, and Composites are also listed.

When elements are added from the toolbar menu, SAP Analytics Cloud positions them on the screen. When using the Left Side Panel, users can position the widgets or other elements in the exact position. A detailed examination of the various widgets is provided in the next lesson Classifying Widgets.

In the SAP Analytics Cloud interface, a user is drags a Table widget from the Assets panel into the main canvas area. The interface includes options for inserting and editing elements, with the Table widget highlighted and being positioned on the canvas.

Right Side Panel

Next, you will start to build the story by adding a widget. You may need to open the Right Side Panel button in the View section of the ribbon to access the Builder panel. In the Builder panel, you can now adjust the model of the widget and consequently the displayed SAP Sports One data. These customization options and widget settings will be explained in more detail during this course, for example, creating and handling measures and dimensions in your story.

In the SAP Analytics Cloud Builder interface, users can configure a horizontal bar/column chart by selecting measures, dimensions, and colors. Options for filters, chart add-ons, custom add-ons, and chart properties are also available.

The Builder panel, however, is only half of the entire panel. The other half is the Styling panel, which provides you with many formatting and design adjustment options for every component of the story, including the page itself, for example, regarding size and background color. An overview of all adjustments is provided on the SAP Analytics Cloud Help page. Format and Style Elements on Story Pages

The image shows the styling options for a chart, including settings for generic properties, size and position, and widget customization. Users can adjust dimensions, position, background color, and border options.

Classifying Widgets

Now that we have illuminated the navigation and the toolbar options, the creation of the first story elements begins. It has already been mentioned that there are many elements that can be added to a story. In the Left Side Panel, an overview can be found at Assets. Frequently, the Chart and the Table are used here.

In addition to these main elements, simple texts, images, and shapes can be added for individual design of the SAP Analytics Cloud story and the analyzes. Furthermore, additional advanced widgets, such as dynamic player pictures or geo maps are available. These advanced elements will be covered in the next unit of the course.

Adding Data To A Story And Widget

Select Data Sources

When you begin analyzing SAP Sports One data in your widget, you will be prompted to select a data source. These live data models are already available in your SAP Analytics Cloud system if the standard content has already been imported. They can be under PublicModels. There you can select the model you want to use in the analysis. Selecting a model looks like the following:

The image shows a file selection interface for datasets or models, with options listed under My Files and Catalog views. Each dataset has a name and description, and the interface includes a search bar and a cancel button.

As already mentioned in the beginning of this unit, an overview of all available models and their measures and dimensions can be found on the SAP Help page. Introduction and Model Overview

Adjusting Data Prompts

In SAP Analytics Cloud, data sources for charts or tables may prompt you to add variables before data can be displayed. If the selected data source requires variables to be set, a prompt will appear. After the variables are set, the data you provide in your story will be used by all tables and charts that use the same data source.

You can also manage the variables of a model by selecting Edit Prompts at Tools in the toolbar. Please select the model to adjust.

By using data prompt variables, the data volume can be significantly narrowed down. Additionally, this data refinement enables an improvement in performance of the story.

The image shows a software interface for setting variables for all players, including match dates, competition federation, and competition types. The toolbar includes options for settings, code view, and additional tools.

In the previous figure, as shown with the variables of the model SAP_S1_Match Statistics, you can restrict the data prompt by dates, federation, or competitions. These variables depend on the model.

The following illustration depicts how charts and tables may appear after adjusting the data prompts of the model and adding data sources and default measures to the widgets. Here, SAP_S1_Match_Statistics model is used as an example during this course. Not very informative so far, isn’t it?

A horizontal bar chart displays a key figure value, with chart settings and customization options visible on the right panel. The chart is part of an SAP analytics interface, showing measures, dimensions, and color settings.
The image shows an SAP analytics interface displaying match statistics with a key figure value. The right panel includes options for configuring the table structure, such as adaptive column width and arranging totals.

Creating Calculations

As you can see from the images in the previous lesson, by default a measure called Key Figure Value is displayed. This metric includes all match data available in the SAP Sports One system, for example, goals, playing minutes, or match appearances. Similar metrics can also be found in other models, for example, in the tracking model, all tracking parameter data from the SAP Sports One system.

In general, the Key Figure Value is designed to allow data analysis despite the individualization of the SAP Sports One system. This means that there's no rigid preconfiguration determining which Key Figures are used. Instead, you have the freedom to individually design the processes and metrics in your club.

To enable comprehensive analyzes, it's important to create story calculations that filter on the dimension Key Figure to split as a result the Key Figure Value into individual Key Figures, for example, the Minutes Played. In general, it's possible to create a story calculation either on chart or table level.

Creating Calculations

To create a calculation in a chart, select Add Measure in the Builder panel, and select Add Calculation. Existing measures and dimensions can be removed from the chart by selecting the x icon or by selecting them in the Measures section.

The image shows the Builder interface, with options to add calculations and measure input controls. It includes a search bar and checkboxes for Key figure value and Match duration (value) under the Measures section.

If you want to create a calculation for a table, select the three dots in the Measures section, and select Add Calculation. By selecting Edit Calculation, you can review all your calculations and edit them. Existing measures and dimensions can be added and removed from the table by selecting the filter icon.

The image shows the SAP Builder interface with the data source SAP_S1_Match_Statistics. The Table Structure section is open, displaying options for configuring rows and columns, with a dropdown menu for Measures visible.

Regardless of the selected widget type (chart or table), there are many different calculation types to choose from when creating calculations.

The image shows a Calculation Editor interface with a dropdown menu for selecting the type of measure, including options like Calculated Measure, Restricted Measure, Difference From, Aggregation, and Dimension To Measure. The right side displays available objects and formula functions.

The calculation types which are most used in Sports Analytics are Calculated Measure, Restricted Measure, and Aggregation. The creation of calculations of these types will be explained in the following simulation.

Working with Charts

Furthermore, under Currently Selected Chart, you have the option to choose a chart type from a drop-down menu and adjust its orientation. Currently, the following chart types are available.

The image displays a selection menu for different types of charts. It includes various chart options such as bar, line, pie, and scatterplot, among others. Each option is represented by an icon and a label, allowing users to choose the type of chart they want to create.

The dimensions (for example, the players) can be added directly via Add Dimension. Under Color, you can assign a color and pattern for specific calculations. You can also assign a color for the dimensions, such as, for example, a unique color for each team.

Furthermore, you can use an existing measure as the basis for coloring. For example, you can use the calculation "Minutes Played > 60" from the above simulation as a coloring rule in your chart. This might look something like this.

A bar chart displays the average minutes played per person, with players listed on the left and their corresponding minutes on the right. The chart is color-coded based on whether the minutes played are greater than 60, and the interface on the right allows customization of chart type, orientation, measures, dimensions, and color.

There are many more customization options for a chart; please note that some advanced features will also be covered in the next unit. In case certain functionalities were not covered in this course, you can find an overview of all customization options on the SAP Help Portal. Use Charts to Visualize Data

Working with Tables

After creating tables, you can enhance those tables in many ways. You have already seen during the creation of the calculation that you can specify whether the measures or dimensions should be displayed in a row or a column of a table. Additionally, under Table Structure, you can make further settings. This includes:

  • Adaptive: Column Width: Automatically resizes the columns when you resize the table. On a Responsive page, the columns can be aligned with columns of other tables in the same lane.
  • Arrange Totals / Parent Nodes Below: Moves totals to the bottom of the table. If you use a hierarchical model, when this option is selected, all child nodes will appear above the totals.

By selecting the table properties (three dots when hovering over table), you choose whether you want to enable Zero and/or Null Suppression. If you enable a suppression, you can hide zero and/or null values in your selected chart.

The image shows a data table from SAP S1 Match Statistics with a key figure value and a dropdown menu for table customization options, including grid, headers, and table details. The dropdown menu is accessed via the Show/Hide option.

In the table properties, you can also show or hide elements of a table such as headers, titles, references, and more. You'll find these options at Show/Hide.

There are many more customization options for tables. Please note that additional advanced features will be covered during this course. In case certain functionalities were not covered in this course, you can find an overview of all customization options on the SAP Help Portal. Use Tables to Visualize Data

Create Calculations

Managing Filter Options

Besides variables of models, the widget types allow narrowing down the data through the different filter options. Please note that if no data is available due to the restrictions of the data variables, you won't be able to see any data, regardless of the filters.

As seen in the example of this course, the SAP_S1_Match_Statistics model allows access to the match data of all the players available in the SAP Sports One system. Therefore, it's necessary to work with a filter here, for example, if you only want to display players from your team for the analyses.

A bar chart titled Minutes Played per Person displays the minutes played by various individuals.

The filtering options in SAP Analytics Cloud fundamentally differentiate between these three types:

  • Story Filter
  • Page Filter (also called Input Control)
  • Widget Filter.

Story Filter

Story Filters allows you to apply filters for all existing widgets (charts and tables) on all pages in a story that are based on the same model.

To add a Story Filter for a specific model, choose Filters in the Left Side Panel, and select Add New Filter. You have the option to select the model under Data Source that you want to apply a filter to. Next, choose whether you want to filter by a dimension, measure, or variable. For example, if you filter by a specific dimension – which is often the case – you can choose whether to filter by a Member, such as a specific team, or by a Range, such as the match dates to display data, for example, the last 30 days.

Story Filters can also be Pinned to Top (see bottom) to easier navigate and apply more filters quickly.

The image shows a filter selection interface with a search for team under the Dimensions category. Options include filtering by team-related attributes such as age, gender, type, and score, with the Team dimension highlighted and options to filter by member or range.

Page Filter (also called Input Control)

ThePage Filter is the same as a Story Filter but applies to just one page in your story. In the toolbar, you have the option to add an Input Control at the Insert section. This Input Control will be applied directly to the current page and only affects this page. With the Page Filter, you can filter by dimensions and measures. The selection of Members and Ranges for dimensions is identical to the Story Filterselection.

The image shows a drop down menu from a software interface where a user is selecting a dimension for a page filter. The user has typed team in the search bar, and various options related to team are displayed. The highlighted option is Team, and a sub-menu is open with choices to filter by member or by range.

Widget Filter

Lastly, filters can be applied to widgets, such as charts or tables, and will only affect this specific element in your story. Select the widget, and navigate to the Filters in the Builder. Select Add Filter to set the filter for this widget.

The image shows a software interface with a search bar and a drop down menu displaying various options related to team statistics. The search term Team is entered, and multiple related options are listed below, such as Match home team and Team age. The interface is part of a builder tool for managing match statistics.

Note

If multiple filters are active for a data model, they may exclude each other along the underlying hierarchy. Please take this into consideration.]

Regardless of the filter type chosen, after selecting a dimension filter, for example, for a team, you are taken directly to the corresponding filter overview. In this overview, you can search for the various available members of the dimension using the search bar and select them for the filter.

On the right side of the filter overview, you can see all the selected members that you have chosen for the filter. These members will be active once confirmed. Additionally, you have the option to select All Members to filter all members. If you only want to exclude specific members, choose All Members, and exclude those who should not be included in the filter. It might look something like this:

The image shows a software interface for setting filters for a team. On the left side, there is a list of available members with check boxes next to each name. Some of these check boxes are checked. On the right side, there is a section labeled Member Selections that displays the names of the selected members. At the bottom, there are OK and Cancel buttons.

In the Settings area, there's the possibility to make further filter adjustments, such as whether the filter allows for a Single Selection or Multiple Selections.

But does it make sense to have to add so many filters, such as a team filter for every model used in a story? Of course not! Therefore, there's the possibility of model linking, which will be explained in the next lesson.

Creating Models Links

You might have already noticed, while browsing through the available models on the SAP Analytics Cloud help portal page, the model named SAP_S1_Internal_Teammembers. As the description of this model already expresses, it allows you to analyze all players' data for every internal team assignment within a specific date range.

This model can be used, for example, when you want to filter data that belongs to your internal teams or players who have an active team assignment. In this case, the model serves as a starting point to conduct linking of models. This model is especially significant for analysis, because it's frequently used in various stories. As a result, you'll often come across it.

Through the model linking in this example, it's sufficient to set the filter only for the primary SAP_S1_Internal_Teammembers model, which then accesses the linked dimensions of the other model. This saves you a lot of time, enhances clarity, and improves the performance of the story.

To create a linking between live data models, please click on Link Dimensions at Tools. Firstly, you must select the models between linking should occur. In this example, we want to link the SAP_S1_Match_Statistics and the SAP_S1_Internal_Teammembers models through the dimensions Team(ID) and Person. At Matched Dimensions, you can see the active links. An exemplary linking of the two models might look like this:

The image shows a Link Dimensions interface where two models, SAP_S1_Internal_Teammembers and SAP_S1_Match_Statistics, are being linked by matching dimensions such as Team ID and Person. The user can select dimensions to link and choose to link on either ID or Description.

Note

Please ensure that you link the dimensions via the ID, as the data in the description may vary depending on the model. The IDs are unique to your individual SAP Sports One system, facilitating a clear linkage of dimensions

By adding a filter for the primary SAP_S1_Internal_Teammembers model, for example, filtering on the team 1899 Hoffenheim, it also accesses the dimension of the linked model. This becomes apparent when revisiting the example of the calculation Minutes Played.

A bar chart displays the minutes played per person for the 1899 Hoffenheim team. The chart is filtered to show data for all pages.

Log in to track your progress & complete quizzes