KUMA allows you to filter data in widgets of the Events type by selecting filtering parameters in the dashboard.
To filter data in multiple widgets within one dashboard, you need to specify one or more global variables in the properties of the dashboard. Then add global variables to the SQL queries of the widgets to which you want to apply these global variables. When you assign a new value to a global variable, all widgets that use this variable automatically rebuild charts based on the new value.
Global variables are applied by clicking on a segment of the chart or on text from the legend of the chart. KUMA displays a menu with commands that apply the data category of the selected chart segment or plot legend item to a variable.
We do not recommend setting more than five variables within a dashboard. This can lead to unstable operation of the dashboard.
Configuring data filtering for multiple widgets at the dashboard level
To configure global variables for filtering data at the dashboard level:
The names of all dashboard widgets to which you add global variables are listed in the Used in widgets column.
The names of the global variables are displayed in the commands of the context menu when you click a segment of the chart or a an item in the legend of the chart.
If you want to display a menu with a command to filter data by the selected segment category when a segment of the chart is clicked:
category
alias specified in the SQL query.The Category option is available only for the stacked bar chart type.
value
alias specified in the SQL query.If you want to display a menu with a command to filter data by the selected value when a legend item is clicked:
If necessary, click the Copy from chart segment settings button to automatically transfer the selected parameter values from the Chart segment group of settings to the Legend item group of settings.
Applying data filtering to multiple widgets at the dashboard level
To apply a global variable to filter data between widgets:
The value of the selected category or legend item is assigned to the variable. Within the current dashboard, all widgets that use this variable rebuild their charts based on the new value of the variable. Such widgets are marked with a funnel icon with a number indicating the number of filters applied (). A list of applied global variables is displayed in the upper part of the screen. To clear data filtering for a widget, click the funnel icon with the number (
). To clear data filtering for all widgets on the dashboard, click Reset all in the upper part of the dashboard.