The seventh sheet: Filters
In the seventh sheet you will add filters to limit the data used in a visualization to a specific subset of that data.
Filters sheet when finished

You can filter by:
-
Values: Filter using selected values from a field. For example, filter results to only include those values you select from a field.
-
Searches: Filter using matches from a search. For example, filter results to only include those that start with a specific code prefix.
-
Condition: Filter matching specified conditions. For example, filter results to only include those that meet a numeric threshold.
-
Clear selection: Filter to exclude selections made in other visualizations from this visualization for the chosen field.
For this sheet, you will create four visualizations and apply a filter to each one. Create a new sheet and name it Filters.
Filtering by values
For your first filtered visualization, you will create a donut chart that shows sales by city and filter it by the value Nordic from the field Region.
Do the following:
-
In the assets panel, open Charts.
-
Under Visualizations, select a pie chart and drag it to the sheet.
-
In the properties panel, under Appearance > Presentation select the
Donut.
-
Go to Fields and drag and drop the field Cityonto the chart and add it as a dimension.
-
Drag and drop the field Sales onto the chart.
-
In the properties panel, under Filters, click Add and select the field Region.
-
Click Region under Filters and select Values.
-
Select Nordic.
-
Click the
at the top of the donut chart and enter Sales by city (Nordic) as the title.
Filtering by search
For the next visualization, you will make a KPI chart and filter it to display only the sales results for juice.
Do the following:
-
In the assets panel, open Charts.
-
Under Visualizations, select the
KPI and place it to the right of Sales by city (Nordic).
-
Drag and drop the field Sales onto the chart.
-
In the properties panel, under Filters, click Add and select Product Sub Group.
-
Click Product Sub Group under Filters and select Search.
-
Select Matches exactly.
-
Enter Juice.
-
Click the
at the top of the KPI chart and enter Sales (Juice) as the title.
Filtering by condition
Next, you will create a vertical grouped bar chart and filter it so it only includes sales values greater than 40,000.
Do the following:
- In the assets panel, open Charts.
- Under Visualizations, drag a bar chart to the sheet, placing it beneath the donut chart.
-
Under Data, click Add under Dimensions and select the field Product Type.
-
Click Add under Measures and select the field Sales.
-
Under Filters, click Add and select the field Sales.
-
Click Sales under Filters.
-
Select Condition.
-
Select Compare.
-
Under Greater than, enter 40000.
-
Click the
icon on the bar chart and enter Sum of sales greater than 40K by product as the title.
Filtering by clearing the selection
Finally, you will create a donut chart and add a clear selection filter so that selections in other charts from Region do not impact this chart.
Do the following:
- In the assets panel, open Charts.
- Under Visualizations, drag a pie chart to the sheet, placing it to the right of Sum of sales greater than 40K by product.
-
In the properties panel, under Appearance > Presentation, select the
Donut.
-
Go to Fields and drag and drop the field Region onto the chart as a dimension.
-
Drag and drop the field Sales onto the chart.
-
Under Filters, click Add and select the field Region.
-
Click Region under Filters.
-
Select Clear selection.
-
Click the
icon at the top of the donut chart and enter Sales by region as the title.
You can now make selection in Region in other charts without changing this chart. Selections made in this chart impact other charts, however.
You are done making visualizations. Now you will complement your application with data storytelling.