Adding a selector to a dashboard

To add a selector to a dashboard:

  1. In the left-hand panel, click Dashboards and select the dashboard you need.

  2. At the top of the page, click Edit.

  3. In the panel at the bottom of the page, choose Selector.

    image

  4. Under Selector settings choose the source and specify the selector parameters:

    • Dataset: Dataset with data for the selector. You can choose a dataset from the list of objects or provide a link. This is a required field.

    • Field: Dataset field with selector values. It can be a dimension or a measure (for more information, see Data fields). This is a required field.

    • Header: Used to pick a selector when establishing a link with other widgets. This option allows you to manage how the header appears on the dashboard. By default, with this option enabled, the header text is taken from the field title in the dataset.

    • Header position: Enables setting the header position, which can be either left (default) or top. It is not available for the Checkbox selector type.

    • Inner title: Allows specifying text inside a selector. For example, you can use it to display an operation inside a selector. Not available for the Checkbox selector type.

    • Tooltip: This option allows adding a text comment to the selector. By default, with this option enabled, the tooltip text is substituted from the field description in the dataset. You can change the tooltip text. When you change the dataset field description, the text is not automatically updated.

      When the option is enabled, the icon appears on the dashboard next to the selector. Hover over the icon to bring up the tooltip.

    • Selector type: Drop-down list, input field, calendar, or checkbox.

      Note

      • Calendar is only available for fields of the Date or Date and time type.
      • Checkbox is only available for fields of the Boolean type.
      • Measure selectors can only have the Input field type.
    • Operation: Comparison operation by which the selector filters the chart values (e.g., Equal to, Greater than, or Less than). If the field is left blank, the selector will filter by the Equal to operation by default. The list of available operations depends on the field type. Do not specify an operation if the selector filters the QL chart.

    • Required field: Sets the selector value as a required parameter. If enabled, * will be appended to the selector name. Not available for the Checkbox selector type.

    • Multiple choice: Allows choosing several values in the selector. Only available for the List selector type.

    • Range: Allows setting a time interval in the selector. Only available for the Calendar selector type.

    • Default value: Displayed when you first open the dashboard. This is a required field if the Required field option is enabled.

    • Field or parameter: Field name you can use to link the selector with other widgets in the alias configuration window. This is a required field.

      image

    • Header: Used to pick a selector when establishing a link with other widgets. This option allows you to manage how the header appears on the dashboard. This is a required field.

    • Header position: Enables setting the header position, which can be either left (default) or top. It is not available for the Checkbox selector type.

    • Inner title: Allows specifying text inside a selector. For example, you can use it to display an operation inside a selector. Not available for the Checkbox selector type.

    • Tooltip: This option allows adding a text comment to the selector. By default, with this option enabled, the tooltip text is substituted from the field description in the dataset. You can change the tooltip text. When you change the dataset field description, the text is not automatically updated.

      When the option is enabled, the icon appears on the dashboard next to the selector. Hover over the icon to bring up the tooltip.

    • Selector type: Drop-down list, input field, calendar, or checkbox.

      Note

      • Calendar is only available for fields of the Date or Date and time type.
      • Checkbox is only available for fields of the Boolean type.
      • Measure selectors can only have the Input field type.
    • Operation: Comparison operation by which the selector filters the chart values (e.g., Equal to, Greater than, or Less than). If the field is left blank, the selector will filter by the Equal to operation by default. The list of available operations depends on the field type. Do not specify an operation if the selector filters the QL chart.

    • Required field: Sets the selector value as a required parameter. If enabled, * will be appended to the selector name. Not available for the Checkbox selector type.

    • Multiple choice: Allows choosing several values in the selector. Only available for the List selector type.

    • Possible values: List of values to select. Only available for the List selector type.

    • Range: Allows setting a time interval in the selector. Only available for the Calendar selector type.

    • Time: Allows specifying time. Only available for the Calendar selector type.

    • Default value: Displayed when you first open the dashboard. This field must be set for the List type; otherwise, no value will be available in the selector. This is a required field if the Required field option is enabled.

    In QL charts, you can control selector parameters from the Parameters tab in the chart editing area and use the Query tab to specify a variable in the query itself in {{ variable }} format.

  5. (Optional) Add another selector to the widget. To to this, on the left side under Selectors, click Add and repeat the actions from the previous step. You can also duplicate an existing selector or copy it to the clipboard. To do this, under Selectors, click next to the selector and select:

    • Duplicate: This will add a new selector with the same parameters to the widget.
    • Copy to clipboard: You can paste the selector you copied into a different widget using the Paste button in the Selectors section or to a dashboard using the Insert button on the bottom panel of the dashboard page.
  6. (Optional) Specify the widget settings:

    • Apply button: Adds a widget button which applies the values of all selectors in the widget. The selector values are not applied until you click the button.
    • Reset button: Adds a widget button which resets the values of all the widget selectors to their defaults.
    • Auto height: Sets the automatic height for a widget on the dashboard.
    • Dependent selector autoupdate: Enables dependent selectors to influence one another before you click the Apply button. Available for widgets with multiple selectors and the Apply button option enabled.
  7. (Optional) Customize the layout of selectors in the widget. Click Selector placement.

    Note

    The button is available for widgets with multiple selectors.

    1. Arrange the selectors as needed by dragging them and adjust the width for each one:

      • Auto: Automatic selector width.
      • %: Selector width as a percentage of the widget's total width.
      • px: Selector width in pixels.
    2. Click Save.

  8. Click Save. The widget will be displayed on the dashboard.

Warning

When adding a selector by a certain field to your dashboard, filters added at the chart level are no longer applied to the dashboard's chart.

Limitations

  • For measure selectors, only one type is available: Input field.
  • We recommend that you always make your measure selectors independent from other selectors. To do this, set your dashboard's link type to Not linked with other selectors in the Links section when editing.