Filter by Hierarchy Field
This applies to: Visual Data Discovery
You can filter your data by the values in a hierarchy field. The source used by the visual, visuals, dashboard (when only one source is in use) or associated filter snippet must be set up to include a hierarchy field. See Hierarchical Fields and Structures.
Filter in a Visual or Dashboard
-
Select the filter icon on the visual or dashboard to access the appropriate filter sidebar.
To access the filter sidebar, select its filter icon
or select Settings from the Show More menu
and then select the filter icon
on the sidebar menu.
To access the dashboard filter sidebar, select its filter icon
. The dashboard-level filter icon is available only when all the visuals are from the same data source.
The Filters sidebar opens, showing currently applied filters, if any.
Select Add Filter. An Add Filter work area opens to the Row tab, and includes Group and Saved tabs.
On the Row tab, select an available hierarchy field to use to filter your data. A Select Values work area opens.
-
Select a filter Operator for your data.
When you select Include, you can individually select hierarchical values in the filter to be included. This allows exclusion of specific descendent data from a parent as needed.
When you select Equals or Descendents of, you can select groups of data quickly and easily; select a top level node and all of its descendents are included by default.
-
Select one or more nodes to filter your data. At least one filter value is required.
Use the Search box to find specific nodes.
Select the node indicators to expand and collapse nodes, or select and deselect Expand All to expand and collapse all nodes.
-
After you've defined your filter specifics, select Continue.
If you create the filter at the dashboard level, it is applied to all the visuals and filter snippets in the dashboard.
Otherwise, it is applied only to the selected (active) visual or filter snippet. After confirming your changes, select Apply.
Create a Filter Snippet - Hierarchy Data Type
Create a new filter snippet.
Define the Data Settings to use a Data Type of Hierarchy.
-
Select an Operator for your data.
When you select Include, you and your users can individually select hierarchical values in the filter to be included. This allows exclusion of specific descendent data from a parent as needed.
When you select Equals or Descendents of, you and your users can select groups of data quickly and easily; select a top level node and all of its descendents are included by default.
Select an available Source. Any visuals in this dashboard that use this source can be affected by this filter snippet.
Select an available Value Column, then select Apply.
Your filter snippet updates, allowing users to filter data for widgets you connect to this filter snippet.
After you've connected the filter snippet to widgets, users can filter data in the filter snippet. They can:
Use the Search box to find specific nodes.
Select and deselect Expand All to expand and collapse all nodes.
Select the node indicators to expand and collapse individual nodes and their descendents.
Additional Hierarchy Filters in a Filter Snippet
When you create a new filter snippet, you define the initial data type, operator, data source, and value column to use in Data Settings. You can add additional filters, including nested filters, as needed.
Open your existing filter snippet.
Select the Filters option from the Filter Snippet sidebar.
Select Add Filter. An Add Filter work area opens to the Row tab, and includes Group and Saved tabs.
-
Select or create a field to filter from available options on the Row or Group tab.
Select an existing available field from Attribute, Number, Time, or Hierarchy and define appropriate options to use.
Alternatively, elect the add icon to add a derived field or custom metric, and define appropriate options to use.
After you have defined the filter specifics, select Continue. After confirming your changes, select Apply.
Note: Optionally, nest multiple filters for more targeted filtering results. Select Nest Filters, then link multiple filters using AND
and OR
filtering.
Comments
0 comments
Please sign in to leave a comment.