Skip to content

Dropdown filter ​

A Dropdown Filter lets viewers filter the dashboard by picking values from a list. The values come from one column of a data source, which makes it ideal for categories such as departments, product types or statuses.

For example, a Dropdown filter on Region lets viewers focus on the sales of one region.

A Region dropdown filter set to North, with the Sales grid and chart showing only North

Use the same data source

A Dropdown filter only affects widgets that use the same data source as the filter. If you filter by department, the grid you want to filter must show data from the data source that has the Department column. To see which data source a widget uses, select it in edit mode and open its Assign Data tab. To filter widgets on several data sources at once, use the Multi-source dropdown filter.

Add a dropdown filter ​

  1. Make sure the data source exists and is already used by a widget on the dashboard.
  2. Open the dashboard and click Edit in its top bar, see Change an existing dashboard.
  3. In the Widgets pane, open the Filters tab and drag Dropdown Filter onto the dashboard. Resize it.
  4. Select the filter. On the Properties tab, give it a Title and set the Basic Settings, see Settings.
  5. Open the Assign Data tab and click Choose data source. Only data sources used on the dashboard are listed.
  6. Under Fields, choose the Column to filter by, for example Department from Patient feedback details. Text, number, Yes/No, choice, lookup and person fields can be used.
  7. Under Applies to, choose the widgets the filter affects. Only widgets on the same data source are listed.
  8. Optionally, set a Default value, see below.
  9. Click Save & Exit.

Designer, Assign Data tab of a Dropdown filter

Set a default value ​

The Default value is selected when the dashboard opens. You can choose:

  • one value, for example one department,
  • several values, for example a few departments, or
  • no value, so all data is shown.

For text columns you can also type values of your own. For MS SQL data sources the values are not loaded, so type them and press Enter.

When the options come from Choices or a Custom list (see Options), the default value is picked from those options.

Options ​

The Options section of the Assign Data tab sets where the dropdown's options come from, under Options from:

OptionWhere the options come fromBest for
Data (default)The values found in the loaded data, using the data source rules.Most dashboards. Every existing dashboard uses this.
ChoicesThe column's choices, read from SharePoint when the dashboard opens. Only for SharePoint Choice and Multi-choice columns.A Choice column where every choice should always be offered, whatever the data. New choices show up on their own.
CustomA list you manage in the filter's settings.Backend filtering on a large list, lookups, or when you want to rename, hide or reorder options.

With Choices or Custom, the dropdown doesn't run a query to find its options, so it doesn't depend on the data source rules. Everything else works as before: Default value, Max selectable items, Filter on blur, Security trimming and Backend filtering.

Turn on Include Empty under Choices to add an Empty option for items with no value.

Manage a custom list ​

  1. Under Options from, choose Custom.
  2. Click Load from SharePoint. Every value found in the column is added, read straight from the list, so a narrow rule default doesn't hide anything.
  3. Edit the list:
    • remove an option with its X,
    • type a new label to rename what viewers see; the value it filters on is shown in grey next to it,
    • drag an option by its handle to reorder,
    • type a value in Add an option and click Add.
  4. Save the dashboard.

Clicking Load from SharePoint again merges with your list: new values are added at the end, your labels and order are kept, and values that are no longer found are marked Not found instead of being removed. Use Remove missing in the ... menu to drop them. The same menu has Add Empty and Clear list.

A custom list holds up to 100 options. Reading a Text or Number column goes through every item of the list, which can take a while on a large list.

Lookup columns

For a Lookup column, each option keeps the looked-up item's ID as its value and its title as the label. That lets a dropdown drive a Lookup rule with backend filtering. Lookup options are loaded from the lookup list's default view and can't be typed by hand.

A custom list doesn't update itself

A new value added to the data, for example a new region, doesn't appear until you click Load from SharePoint again or add it yourself. For a Choice column, Choices keeps itself up to date.

For MS SQL data sources, Load from query runs the filter's Custom SQL query. Without a query, type the options. Choices isn't available for MS SQL. For dynamic columns, Load from data reads the values in the data source's loaded data, so values hidden by its filters aren't listed - type any missing ones.

A dropdown with fixed options can't be narrowed by an earlier filter in the Filters loading order, but its selection still narrows the filters after it.

Data settings ​

The Settings section of the Assign Data tab:

SettingWhat it does
Default valueThe values selected when the dashboard opens. Changing the column clears it.
Max selectable itemsThe most values a viewer can select. Leave empty for no limit.
Filter on blurApplies the selection when the viewer closes the dropdown, instead of after every click. Useful when viewers usually pick several values.
Security trimmingRestricts the options a viewer sees to the ones they have access to, based on their group membership.
Group name patternWith security trimming: the name of the security group for each option. {{value}} is replaced with the option's text (its label, for a custom list), for example Department - {{value}}.
Full access groupsWith security trimming: groups whose members see all options. Separate group names with ;#.

Advanced data filtering ​

Advanced

Most dashboards don't need these settings. They're for large data sources that are filtered before loading, set up by whoever manages the data source or the SQL database.

Show the advanced settings

Shown for SharePoint and MS SQL data sources.

SettingWhat it does
Backend filteringPasses the selected values to the data source filter named in Parameter name, so the data is filtered before it is loaded. The data source filter must allow a dashboard override. With Options from: Data, the dropdown lists only values the data source returns, so give the rule a default that lets every value through (Select All on a Choice rule), or use Choices or Custom, see Options. See Backend filtering, step by step.
Parameter nameThe parameter name of that data source filter.
Stored procedure parameterMS SQL only: passes the selection to the stored procedure parameter named in Parameter name.
Custom SQL queryMS SQL only: a query that fetches the dropdown's values, for cases that need their own retrieval logic.

Settings ​

The Properties tab has the common Title, Subtitle, Description, Icon and Title Alignment settings, Security Settings, and Look & Feel (Elevated Border, Background Color, Hide on Mobile). See the Common settings.

Basic Settings ​

SettingWhat it does
LabelText shown above the dropdown.
Read OnlyViewers see the selection but can't change it.
HiddenHides the filter on the dashboard. Its default value still filters the widgets.

Display Option ​

SettingWhat it does
Show Item CountShows the number of items next to each option.
Show Options BySorts the options Alphabetically or By Count.

Counts need options from data, so with Choices or Custom both settings are switched off and the options keep their order.

Designer, Properties tab of a Dropdown filter

Example: a read-only filter ​

Set the Default value to Geriatrics and turn on Read Only. Viewers of the dashboard now see only the feedback of the Geriatrics department and can't switch to another one.

TIP

A read-only filter limits what is displayed, but the other departments' data is still loaded. When viewers must not see other data at all, use a data source filter instead.