Using the Filter Line
As an application designer, you can define a filter line for an individual widget or a group of widgets. If you choose to filter a group of widgets, when running the analytic application, application users can filter members of multiple widgets at one time.
Context
-
The filter line displays values if a filter is applied to a source widget.
-
On the canvas the filter line is initially displayed empty.
-
You cannot edit the filter line on the canvas.
We recommend to disable the filter tokens of the data based widget. The concept of the data based widget filter tokens and the filter line do not align well with each other, so that a simultaneous use could cause unexpected behavior.
To disable the filter tokens of the data based widget, click the widget and open the quick actions menu by selecting Filters.
and uncheckIf you choose to define filter line for a group of widgets, filter line filters and each widget's local filter tokens can exist at the same time. The final filtering result of such widget will be the joint data range filtered by corresponding filter line filters and its filter tokens. And the filters of your filter line won't be affected if the widget's filter token changes.
Procedure
- (Optional) If you want to create a filter line for an individual widget, in the Outline panel, choose the canvas or a specific popup you want to add the filter line to and highlight it.
- Add a filter line to the canvas or popup from the Insert area of the toolbar: .
- Select the filter line under canvas or corresponding popup and click Designer.
-
In the Builder panel,
if you
choose
Individual
Widget
Filter
mode, follow the steps
below:
-
In the Builder panel, if you choose Group
Filter mode, follow the steps below:
- Select the data source of the filter line, for example an SAP Analytics Cloud model.
- (Optional) To add dimensions that will be displayed for selection in the filter line, click on Add Dimension beneath Dimension Selection.
- In Filters, define the default filters of the filter line. You can only define filters for the dimensions you selected in the previous step. If no dimensions were specified, then all dimensions in the data source will be available.
- Choose the widgets you want to apply the filters to. It’s by default all data-bound widgets of the data source you choose. You can change to some certain widgets as you wish.
Next Steps
Save and run the application. If you click (Set Filter), in the executed application, the dimensions you have chosen for filtering are displayed. After you have set the filters for your analytic application at run time, the filters are applied on the data-bound widget. The filter dimensions are displayed next to (Set Filter). You can remove or modify the filters:
run time action |
how to proceed |
---|---|
remove dimension |
To remove a dimension, hover over it and click the symbol that is displayed. |
modify dimension |
Click the dimension you want to modify. The Set Filter for... dialog is displayed where you can make your changes. |