Sort and Filter Hierarchies

You can easily filter and sort your hierarchy selection, in order to find specific information that you're interested in.

For instance, you may be more interested in finding out the top 25% of products, rather than reading through the sales figures for each product. In this case, you can opt to display only the top 25% of elements in the Products hierarchy, as in the example below. And to make the resulting visual easier to consume, you can sort the filtered selection in descending order of value.

Sort and Filter selections are reflected on the visualization canvas (blue highlight above), providing context so that readers can easily understand what data is being displayed. You can remove these from the canvas by clicking the 3 ellipses and clicking Remove. This will not affect the underlying sort or filter selection.

Sort Selections

To sort your hierarchy selection, open the hierarchy's sub-menu, then open the Sort menu from the All label. To sort the hierarchy, simply click on the required sort type; the hierarchy will be added to the discovery, sorted accordingly.

Sort Types

You can sort the hierarchy alphabetically (either in order or reverse-alphabetical order), or numerically (either ascending or descending).

Filter Selections

You can also filter the hierarchy before adding it to the discovery. For instance, you may want to display only the top 20% of sales for the hierarchy, rather than all elements in the hierarchy.

Filtering your hierarchy selections enables you to pinpoint areas of both high performance and under-performance. To add a filter, enter the required numeric value and click the filter.

Filter Types

There are three kinds of filters to choose from:

Count: the top or bottom number of elements. For instance, the top 5 elements, or the bottom 10 elements.

Percent: the top or bottom percent of elements. For instance, the top 10% of elements, or the bottom 20% of elements.

Sum: the top or bottom elements that sum to the given value. For example, the top selling elements that accounted for $5,000 000 in sales, or the bottom selling elements that accounted for %2,000 000 in sales.

Sort Filter Selections

Users can also apply sorting to filter selections, by opening the next sub-menu from the required filter. This enables you to filter the elements in the given hierarchy, and then sort those elements as required.

In this example, a Top Percent filter and a numeric sort are applied to the Manufacturer hierarchy:

The result is that the top 50% of manufacturers by sales are displayed, and sorted in descending order of value: