Skip to main content
Add filter snippets to your dashboards to filter data for multiple visuals quickly and easily. Filter your data using input from one or more resources: values from sources used in your dashboard, or a custom value to further refine visual data. Adjust and save filter selections using Attribute, Number, Time, or Hierarchy data types and highlight data across multiple visuals. Link multiple filter snippets to more flexibly filter your visuals. Update your dashboards with filter snippets any time using the Self-Service Analytics UI or the dashboard API. Each filter snippet resides in its own widget; resize and adjust placement of snippets to complement your visuals.
When you create a filter snippet, it is linked to the dashboard you have added it to. If you delete a dashboard, the snippet is deleted as well.
For more information on creating and managing filter snippets, see the following topics:

Add Filter Snippets to a Dashboard

When you create a dashboard or edit an existing dashboard, add filter snippets to allow your users to view and highlight data pulled from one or more sources in multiple visuals. Filter by three data types: Attribute, Number, or Time. Link multiple filter snippets to provide secondary and tertiary filtering on your visual data.
When you create a filter snippet, it is linked to the dashboard you have added it to. If you delete a dashboard, the snippet is deleted as well.

Create a New Filter Snippet

  1. Create or edit a dashboard that includes one or more visuals.
    • To add a snippet to an existing dashboard, log in as a user with READ and WRITE permissions for the dashboard.
    • If you are creating a new dashboard, log in as a user with the Create Dashboards or Administer Dashboards group privilege.
  2. Select the Add Filter Snippet icon select the add filter snippet icon to add a filter snippet to a dashboard in the dashboard icon bar. A new filter snippet is added in a widget on the dashboard, ready to edit.
  3. Select the Settings icon from the Show More menu Selet the three dots icon to open a show more menu or take actions for the named column to open the filter snippet sidebar menu. See Use The Filter Snippet Sidebar Menu.
  4. Define the Data Settings for this filter snippet by selecting a Data Type of Attribute, Number, Time, or Hierarchy.
  5. Select an Operator for your Data Type. Available operators are dependent on the data type selected.
  6. Select an available Source. Any visuals in this dashboard that use this source can be affected by this filter snippet.
  7. Select an available Value Column. After you have made this selection, other options may be available that allow you to define how the data is presented. After making these choices, select Apply.
  8. Optionally, select the Filters sidebar menu to add more filters to the snippet that utilize the same or different sources.
  9. Select Connect Widgets from the Show More menu Selet the three dots icon to open a show more menu or take actions for the named column to add visuals or to link existing filter snippets you want filtered to this filter snippet. The Connect Widgets work area opens.
  10. Select Add Widget. Select a Widget Name and an available Field. Repeat to add as many widgets as desired.
    • Select the remove icon to remove a widget from the filter.
    • Select the connect icon to connect all widgets present in the dashboard for the data source.
  11. Select Apply to use the selected widgets to this filter snippet. If you have added all available widgets, the work area closes and links the widgets automatically.
  12. Save the dashboard.

Use The Filter Snippet Sidebar Menu

Use the filter snippet sidebar menu to:
  • Define data settings for the filter snippet
  • Define filter snippet settings
  • Apply filters and hierarchical filters (if available) to the filter snippet
  • Adjust widget settings for the filter snippet
  • Manage comments for the filter snippet
To access the filter snippet sidebar menu, select Settings from the show more menu Selet the three dots icon to open a show more menu or take actions for the named column. The filter snippet sidebar opens.

Filter Snippet Sidebar Menus

Use this work area to define filter snippet data settings Use this work area to define filter snippet options Use this work area to define filters to apply to this filter snippet Use this work area to define widget settings Use this work area to view and manage comments If this is a new filter snippet, default settings are shown. If this is an existing filter snippet, current settings are shown.
If you are editing a filter snippet that references unavailable sources or fields, an Unavailable message is shown in the affected drop-down. Select a new source or fields as needed.

Data Settings

Adjust the data settings for this filter snippet, then select Apply as needed to apply your changes to the filter snippet.
SettingDescription
Data TypeSelect a data type to filter: Attribute, Time, Number or Hierarchy. If you select Time, you can set conditions for the time spans Between or Not Between in the widget itself if the display style is Range.
OperatorSelect an operator to use:
  • Attribute: Select Include or Exclude to include or exclude a value from the data. Select Contains to return only data that contains a specified value. Select Does Not Contain to return only data that does not return a specified value.
  • Number: Select Include or Exclude to include or exclude a value from the data. Select Contains to return only data that contains a specified value.
  • Time: Select Between or Not Between, then define the conditions for time spans in the widget itself.
  • Hierarchy: Select Equals or Descendants Of or Includes, then select a value column.
SourceSelect an available source to use. After you select a source, you can select an available field from that source to use as a Value Column for the filter, and a different Display Column if needed.
Value ColumnSelect an available field for the Value Column. Your users can filter the data in attached widgets using these values. If you prefer to use a different column as a Display Column, disable Use Value Column as Display Column.
If you have Filtered a field to prevent users from seeing or exporting this data, you must disable Use Value Column as Display Column to select the column, then select a Display Column. See Filter Data With Masked Fields.
Display ColumnSelect a different field than the Value Column to use as a display column for your users. Only visible when you disable Use Value Column as Display Column.
If you have Filtered a field to prevent users from seeing or exporting this data, you must disable Use Value Column as Display Column to select the column, then select a Display Column. See Filter Data With Masked Fields.
GranularityAvailable for Time data types. Select an available option based on the granularity of the data provided.
SortSelect an order to sort the filter values by. Available options depend on the selected data type. The column data used to sort is listed below the Sort heading.
  • Attribute, Number, Hierarchy: Options include Alphabetical (A - Z) and Reverse Alphabetical (Z - A)
  • Time: Options include Chronological and Reverse Chronological.

Filter Snippet Settings

Adjust the filter snippet settings in this work area. Save the dashboard to save your changes.
SettingDescription
Display StyleSelect Fixed List to display all available selection items in a selection list.
  • If you select Fixed List along with Single Number of Selections, users see a list of items and can select one.
  • If you select Fixed List along with Multiple Number of Selections, users see a list of items and can select multiple.

Select Dropdown List to display all available selection items in a drop-down list.
  • If you select Dropdown List along with Single Number of Selections, users can filter or scroll through a list of items and can select one.
  • If you select Dropdown List along with Multiple Number of Selections, users can filter, select, and scroll through a list of items and can select multiple values.

Enable or disable the Hide “Add” Button toggle to control if users can add their own items.
Number of SelectionsSpecify whether only one or multiple data values can be selected in the filter snippet. Select Single to allow users to select only one data value; select Multiple to allow users to select more than one value.
  • If you select Fixed List along with Single, users see a list of items and can select one value.
  • If you select Dropdown List along with Single, users can filter or scroll through a list of items and can select one value.
  • If you select Fixed List along with Multiple, users see a list of items and can select multiple values.
  • If you select Dropdown List along with Multiple, users can filter, select, and scroll through a list of items and can select multiple values.
”No Selection” LabelVisible when the Single option for Number of Selections is selected.
Enter text to display when no values have been selected. Default text is None.
Placeholder TextVisible when both the Dropdown List and Multiple options are selected.
Enter text to display in the Search field when no values have been selected. Default text is Search.
Filter Values OnVisible when the Multiple option for Number of Selections is selected.
  • Select Change to apply the filter snippet to connected visuals as selections are made.
  • Select Submit to apply the filter snippet to connected visuals when a user selects Submit.
Submit Button TextVisible when the Submit option for Filter Values On is selected.
Enter text to display for users to apply the filter snippet to connected visuals. Default text is Submit.

Filters

Apply or create filters in this work area. Save the dashboard to save your changes.

Widget Settings

Adjust the widget settings for this filter snippet, then select Apply as needed to apply your changes to the filter snippet. Save the dashboard to save your changes.
SettingDescription
Display NameThe display name for this filter snippet. Change here or edit directly in the widget.
DescriptionAn optional description for this filter snippet. Blank by default. Maximum 750 characters.
HeaderAdjust the header behavior. The default setting is
  • Show: display the header at all times. Default setting.
  • Show on Hover: hide the header in Viewer mode unless users perform a hover action over the widget.
  • Hide: completely hide the header from visibility in Viewer mode.
PositionAdjust the position of the widget content in the cell (widget footprint in the dashboard) to align vertically and horizontally as appropriate within the space. Select center, top, or bottom as needed.

Comments

If you have access to comments, manage them on this tab. See Widget Comments.

Use the Filter Snippet Menu

The filter snippet menu includes options that help you modify and use these snippets in your dashboard. Access it by selectingSelet the three dots icon to open a show more menu or take actions for the named column in the upper right corner of a snippet widget. The menu options are described in the following table.
OptionDescription
EditSelect to edit the custom values of a filter snippet by removing them, or if it is open for editing, put it in view mode. Select to remove a custom value.
You can additionally access this option by selecting the edit icon () in the snippet header.
SettingsOpen the sidebar menu. Use to
  • Define data settings for the filter snippet
  • Define filter snippet settings
  • Apply filters and hierarchical filters (if available) to the filter snippet
  • Adjust widget settings for the filter snippet
  • Manage comments for the filter snippet
Connect WidgetsSelect to connect visuals or filters to the filter snippet. See Connect Visuals to a Filter Snippet and Link Filter Snippets.
Remove WidgetRemove the selected filter snippet from the dashboard. See Edit or Delete Filter Snippets.

Edit or Delete Filter Snippets

As the owner or editor of a dashboard, you can make several changes to the filter snippet:
Users with Viewer access can add custom values to the snippet to filter connected visuals.

Edit a Filter Snippet

  1. Select the snippet on the dashboard. A blue border appears around the snippet widget.
  2. Select Settings from the Show More menu (Selet the three dots icon to open a show more menu or take actions for the named column) to open the filter snippet sidebar menu.
  3. Use the sidebar menu to update data settings, filter snippet settings, or widget settings.
  4. When you have finished making changes to the snippet, save the dashboard.

Delete a Filter Snippet

  1. Edit the dashboard. See Edit a Dashboard.
  2. Select the filter snippet to be removed.
  3. Select Remove Widget in the snippet drop-down menu. A removal confirmation dialog opens.
  4. Select Delete on the warning dialog to confirm the deletion.
You can connect multiple filter snippets to one another to further refine the data you highlight in your dashboard. Link filter snippets
  1. Select the snippet on the dashboard. A blue border appears around the snippet widget.
  2. Select Connect Widgets from the menu (Selet the three dots icon to open a show more menu or take actions for the named column). The Connect Widgets work area opens. Link multiple filters to refine your data by multiple values
  3. Select Add Widget. Select a Widget Name to filter and an available Field.
    Filters you link must use a data source associated with the dashboard.
  4. Repeat to add as many filters as desired. Select the copy icon to quickly add all visuals and filter snippets from the dashboard that share the same data source.
  5. Optionally, remove widgets by selecting the delete icon next to each widget.
  6. Select Apply to connect the filters.
  7. Your filters are linked and you can filter the data shown in connected visuals using both filters.
When you create a filter snippet, it is linked to the dashboard you have added it to. If you delete a dashboard, the snippet is deleted as well.

Connect Visuals to a Filter Snippet

Build and use filter snippets to filter and highlight data on your dashboard. To apply filters to visuals, connect a filter snippet to one or more visuals using a corresponding field from the visual’s underlying source. You can also filter a filter snippet by another filter snippet. Connect visuals
  1. Select the snippet on the dashboard. A blue border appears around the snippet widget.
  2. Select Connect Widgets from the menu (Selet the three dots icon to open a show more menu or take actions for the named column). The Connect Widgets work area opens. Add or remove visuals or filters you want to filter using this filter snippet
  3. Select Add Widget. Select a Widget Name and an available Field.
  4. Repeat to add as many visuals or filter snippets as desired. Select the copy icon to quickly add all visuals and filter snippets from the dashboard that share the same data source.
  5. Optionally, remove widgets by selecting the delete icon next to each widget.
  6. Select Apply to connect the visuals.
When you create a filter snippet, it is linked to the dashboard you have added it to. If you delete a dashboard, the snippet is deleted as well.
To link filter snippets for further data refinement, see Link Filter Snippets.

Custom Values for Filter Snippets

All users with access to a dashboard can add custom values to a filter snippet to filter connected visuals.
  • Users with Viewer access can add custom values to the snippet to filter connected visuals.
  • Owners and editors can add custom values and remove custom values any user has added.
Add custom values to a filter snippet
  1. Enter a value in the Search field of a filter snippet. If the value is not part of the filter, add the value by selecting Add or the add add icon icon.
  2. If applicable, select the Submit button to apply your changes to the connected visuals.
    Users with Viewer access can delete custom values by selecting delete icon before saving the dashboard under a new name.
  3. When you have finished making changes to the snippet, save the dashboard.
    1. Owners and editors can save the dashboard as is, or save it using a new name.
    2. Users with Viewer access can save the dashboard using a new name. Changes to the existing dashboard are not retained.
Remove custom value from a filter snippet
  1. Select the snippet on the dashboard. A blue border appears around the snippet widget.
  2. Select the edit icon to edit the list of custom values.
  3. All custom values you can remove have a delete icon . Select to delete the value.
  4. When you have finished making changes to the snippet, save the dashboard.

Filter Data With Masked Fields

Filter snippets allow your users to view and highlight data pulled from one ore more sources in multiple visuals. In some cases, however, you may want to allow your users to filter information using sensitive data without exposing that data. To do this, disable Filtering for one or more fields in a data source, create a new filter snippet that uses one or more of those fields, and connect your visuals as needed. Users then can view filtered data based on those fields, but the values and name of the fields are masked. If users export this information, it is presented in a masked format. If the values are included as data fields or auto-generated descriptions, they are represented by asterisks ******.
Applied filter values that later have Filtering disabled to not automatically mask or hide those fields. You must recreate the filter that uses these values.
Disable Filtering for a field’s data column
  1. Navigate to the Fields tab of your data source, then select Bulk Field Capabilities. The Bulk Field Capabilities work area opens.
  2. Find your fields by scrolling, searching, or filtering.
  3. Select the toggle in the Filtering column to disable (slide left) each field as needed.
  4. Save your changes. A success message is returned. Next, create a filter snippet that uses this field.
Create a new filter snippet
  1. Open and edit a dashboard.
  2. Select select the add filter snippet icon to add a filter snippet to a dashboard on the dashboard icon bar. A new filter snippet is added in a widget on the dashboard, ready to edit.
  3. Select Settings from the more menu (Selet the three dots icon to open a show more menu or take actions for the named column) to open the filter snippet sidebar menu. See Use The Filter Snippet Sidebar Menu.
  4. Open Data Settings in the filter sidebar menu, then select your Source. A Value Column field appears, but you can not add your Filtered field to it.
  5. Disable Use Value Column as Display Column. With this disabled, you can select your Filtered field as the Value Column.
  6. Select a different field to use as the value for the Display Column.
  7. Continue creating the filter snippet by connecting widgets as needed. Select Apply to apply your changes.
  8. Save the dashboard. Users can now use the filter snippet to change how data is presented, but not see or export the values you have disabled filtering for.