ℹ️Objective: Develop a basic understanding on how to make a dashboard more dynamic for your viewers to draw insights between multiple visualizations
Estimated Time: 15 mins
Exercise Description: In the last section, we created our first story and added new visualizations. However, currently our dashboard is quite static. In this section, we want to add interactive capabilities to the dashboard by adding new filters and input controls. This way our dashboard can be easily used by a number of different employees at the company - each user will be able to easily manipulate the dashboard view and only see what is important to them
Key Features:
- Learn about page filters and how to apply them to a subset of widgets only
- Understand how to add a measure and dimension input control to dynamically change the context of your data visualization
- Understand how to set up linked analysis to drive filters via widget interaction
🚩To start off, we want to add another lane to our story where viewers can choose specific filters to apply to the page and even change measures and dimensions in charts.
-
Click the Bottom Lane
-
Click the More Action on the Lane
-
Click Add Lane
-
Click Add Lane to Left
5. Click and Drag the Lane to the Left
6. Click the New Lane Header
-
Click Insert
-
Click Insert Input Control
🚩The first tool we will add to our story are page filter input controls. These allow viewers to easily change the dimensions driving the data in our visualizations on the page.
Let's create filters on Region and Product as these are two important dimensions that businessesuse to analyze performance.
-
Click Page Filter
-
Click Dimensions
-
Click Region
🚩Selecting All Members in the Filter dialogue populates the input control with all members of the region dimension. This gives the person interacting with the input control the option of choosing any subset of regions.
-
Click All Members
-
Click OK
🚩You have just made a Page Filter Input Control for Region. Let us make another Page Filter for Product.
-
Click Insert
-
Clicking Insert Input Control
-
Click Dimensions
-
Click Product
🚩Unlike Region, Product has additional properties attached to it. We're interested in filtering out the product itself, so we must now select it.
- Click Product (Dimension)
-
Click OK
-
Click All Members
🚩Now that we have a Product input control, lets focus the entire dashboard to see how we are performing when it comes to Footwear and Clothing.
-
Click Product
-
Click Expand (All)
-
Deselect Accessories. So only Clothing and Footwear are selected
-
Click outside to collapse the Input Control
🚩Changing the Product Input Control applies a filter to all charts and tables on the page. Now all our charts only include data for products in Clothing or Footwear. However, this behavior may be different from what we want. If we only want to change a few charts on the dashboard in response to the input control, we can do this by adding scope to our Page Filter. This is done via Linked Analysis.
-
Right Click the Product Input Control
-
Click Linked Analysis
ℹ️Welcome to Linked Analysis!
Linked Analysis allows the user to define which widgets will be affected when interacting with the input control. By default an input control will be applied to all widgets on the page, but a story designer can also choose to only apply the input control to a selected set of widgets. This is often done when one wants to compare difference slices of the data side by side.
🚩We only want our page filter to apply to select charts. We can select these in the Linked Analysis Panel.
-
Click Only Selected Widgets
-
Click Sales Revenue per Region for Actual
-
Click Gross Margin per Product, Workout Usage for Actual
-
Click Gross Margin per Order Date for Actual
-
Click Apply
🚩We can test the Linked Analysis behavior by deselecting Clothing and seeing which charts change.
- Click Product
-
Deselect Clothing
-
Click outside to collapse the Input Control
🚩Only data in the three charts we selected has changed. All other charts and tables on the page remain un-affected.
🚩Let’s revert to selecting all products.
- Click the Product Input Control
-
Click (All)
-
Click outside to collapse the Input Control
🚩We can provide end users the flexibility to analyze various measures (i.e. sales revenue, gross margin, etc.) with Measure Input Controls. This eliminates the need to duplicate charts and allows users to dynamically change the measures each chart consumes. Let's create a Measure Input Control and direct our chart to use that instead of a single measure.
- Select the Sales Revenue per Region for Actual Chart
-
Click Designer
-
Click Remove Sales Revenue from Measures
-
Click Add Measure
-
Scroll untill + Create Measure Input Control is Visible
-
Click + Create Measure Input Control
ℹ️Welcome to Measure Input Controls!
Measure Input Controls are a great way to change the Measure that is represented on a chart at view time. If your viewer would rather see Gross Margin in the regional breakdown than Sales Revenue, a Measure Input Control provides this functionality.
-
Click Sales Revenue
-
Click Gross Margin
-
Click OK
-
Click and Drag the New Measure Input Control to the Left Lane
-
Drop the Measure Input Control Here
- Resize the Measure Input Control to see all members
🚩Please note: These input controls can be renamed; this functionality will be shown later in the styling section.
🚩This measure input control now drives our first chart in the right lane.
It is possible to add more than one chart to a measure input control to drive synced behavior in your story. Let's do this now and add a second chart that is controlled by this Measure Input Control.
Take a minute and save your work using Ctrl + S.
-
Click the Gross Margin per Product, Workout Usage for Actual Chart
-
Click Designer
-
Remove Gross Margin
-
Click Add Measure
-
Scroll untill New Measure Input Control is Visible
-
Click New Measure Input Control
-
Click Inside the Builder Panel to Collapse the Measure Selection Drop Down
-
Click Sales Revenue per Order Date for Actual Chart
-
Click Designer
-
Remove Sales Revenue
-
Scroll until New Measure Input Control is Visible
-
Click New Measure Input Control
-
Click Inside the Builder Panel to Collapse the Measure Selection Drop Down
🚩Since the measure input control is currently on Sales Revenue selection, all three of our charts are using Sales Revenue as the measure displayed in the visualization.
Changing the measure input control to Gross Margin would update all 3 charts to display Gross Margin instead.
-
Click Sales Revenue per Region for Actual Chart
-
Remove the Region Dimension
-
Click Add Dimension
-
Scroll untill Create Dimension Input Control is Visible
-
Click Create Dimension Input Control
-
Click Product
-
Click Region
-
Click Sales Manager
-
Click OK
-
Click and Drag the New Dimension Input Control to the Left Lane
-
Drop the Dimension Input Control Here
- Resize the Dimension Input Control to View All Members
-
Click Gross Margin
-
Click Sales Manager
🚩After changing both input controls, Gross Margin should be the measure displayed in every chart. The first chart now visualizes a breakdown of Gross Margin across Sales Managers rather than region.
🚩There is still more dynamic functionality available within Sap Analytics Cloud. We can use additional functionality within Linked Analysis to link two charts so that if a data point is clicked on one chart, the other chart will update by creating a filter on that data point. Let's do this now and we'll get a better idea of what this means.
-
Click on the More icon on the Gross Margin per Sales Manager per Actual Chart to Open the Context Menu
-
Click Linked Analysis
ℹ️Remember we're now adding linked analysis on a chart as opposed to an Input Control. This provides us with a few more options.
-
Click All Widgets on the Page
-
Click Filter on data point selection
-
Click Apply
🚩Let's test Linked Analysis and get some more insight on how Gary Dumin in performing.
- Click Gary Dumin
🚩Do you see your linked charts change when highlighting a Sales Manager? Notice how the CGR in our time dimension chart is positive under this filter (Note this data may be different due to the dynamic time filter).
- Click within the chart to Deselect Gary
🚩Save your story by pressing Ctrl + S
ℹ️You have now completed the Linked Analysis and Input Controls section! In this section, you have learned how to dynamically change page filters with an input control, add interactive measures and dimensions to charts also with input controls, and create powerful analytics between the charts in your story using linked analysis and data point filtering.
We're going to add some styling to this dashboard later on.
You have completed the entire Linked Analysis and Input Controls section!
You are now able to:
- Create page filters and apply them to a subset of widgets only
- Add a measure and dimension input control to dynamically change the context of your data visualization
- Set up linked analysis to drive filters via widget interaction