Dropdown List Selector: Difference between revisions
Line 22: | Line 22: | ||
* '''Title''': Explaining title (label) for the dropdown list that is visible in the dashboard. If no title is defined, an automatic title is derived based on the chosen ''List items''. | * '''Title''': Explaining title (label) for the dropdown list that is visible in the dashboard. If no title is defined, an automatic title is derived based on the chosen ''List items''. | ||
* '''Variable name''': Name of the variable that is linked to this dropdown list. When user makes a selection in the dropdown list, the selection is stored to the variable. | * '''Variable name''': Name of the variable that is linked to this dropdown list. When user makes a selection in the dropdown list, the selection is stored to the variable. | ||
* '''1. measure''': The dropdown list can optionally show aggregated/summarized information for each of the shown item | * '''1. measure''': The dropdown list can optionally show aggregated/summarized information for each of the shown item. When the first measure is selected, possibility to define a second measure appears. The measures work similarly as [[QPR_ProcessAnalyzer_Chart#Selecting_Measures.2C_Dimensions_and_Columns|measures in charts]]. | ||
* '''List items''': Select what kind of items the dropdown list is showing. There are variety of options to choose from, and the options depend on what has been selected as the ''Analyzed objects''. This selection is similar to the [[QPR_ProcessAnalyzer_Chart#Selecting_Measures.2C_Dimensions_and_Columns|dimension selection in charts]]. | * '''List items''': Select what kind of items the dropdown list is showing. There are variety of options to choose from, and the options depend on what has been selected as the ''Analyzed objects''. This selection is similar to the [[QPR_ProcessAnalyzer_Chart#Selecting_Measures.2C_Dimensions_and_Columns|dimension selection in charts]]. | ||
* In addition, there are the same [[QPR_ProcessAnalyzer_Chart#Layout_Settings|layout settings]] available as in charts. | * In addition, there are the same [[QPR_ProcessAnalyzer_Chart#Layout_Settings|layout settings]] available as in charts. |
Revision as of 16:58, 18 November 2023
Dropdown List Selector enables dynamic behavior to dashboards by allowing users to make selections that affect charts and other components in the dashboard. Thus, the Dropdown List Selector can be used to set parameters for the calculations in charts. The Dropdown List Selector is usual dropdown list where user can select a value from a list of predefined values.
The dropdown list is linked to other components of the dashboard using variables: The selected value is stored to a variable, which is used by the other components. To make the behavior work, the variable needs to be configured both to the dropdown list and the charts using it. For charts, variables are bound using either variable mappings or directly using tags in custom expressions (e.g. <#tagName>).
The Dropdown List Selector can be configured flexibly based on any data in the model, and the contents of the list updates automatically when the model data changes. Note that the Dropdown List Selector is not directly related to the filters of the dashboard (for filtering, use the Case attribute filter or Event type filter components).
Add Dropdown List Selector to dashboard
The Dropdown List Selector is added to a dashboard by activating the Add component mode and clicking the Dropdown List Selector in the tool palette. Mandatory settings for the Dropdown List Selector are Variable name and List items for the Dropdown List Selector to be shown. When adding the Dropdown List Selector, also the linked variable needs to be defined to the dashboard as follows:
- When in dashboard designer in the Edit mode, click the dots menu on top right and click Dashboard Properties.
- Open the Variables tab.
- Define a name for the variable in the available textbox. The name can be chosen freely.
- Set the behavior to be Stored variable. (When using this behavior, the selected value in the dropdown list is stored to the dashboard when the dashboard is saved.)
- Click the Done button on top right.
- The variable needs to be defined also to the Dropdown List Selector settings in the Variable name field.
- Save the dashboard.
Dropdown List Selector settings
Dropdown List Selector has the following settings:
- Analyzed objects: Types of process mining objects where the List items are calculated from. Based on this selection, there are different options available for the List items and 1. measure. The Analyzed objects selection works similarly as the same selection in charts.
- Sorting: Defines a column based on which items are sorted in the list.
- Maximum rows: Maximum number of items shown by the list. This setting can be used if desired to show only the most relevant items. Listing more than thousands of items may cause the list to work very slowly, so showing lot of items, consider what's the practical maximum from the performance point of view.
- Title: Explaining title (label) for the dropdown list that is visible in the dashboard. If no title is defined, an automatic title is derived based on the chosen List items.
- Variable name: Name of the variable that is linked to this dropdown list. When user makes a selection in the dropdown list, the selection is stored to the variable.
- 1. measure: The dropdown list can optionally show aggregated/summarized information for each of the shown item. When the first measure is selected, possibility to define a second measure appears. The measures work similarly as measures in charts.
- List items: Select what kind of items the dropdown list is showing. There are variety of options to choose from, and the options depend on what has been selected as the Analyzed objects. This selection is similar to the dimension selection in charts.
- In addition, there are the same layout settings available as in charts.