Tableau 简明教程
Tableau - Quick Filters
Tableau 中的许多筛选器类型都可以通过右键单击维度或度量轻松使用。这些称为快速筛选器的筛选器具有足够的功能来解决大多数常见的筛选需求。
Many filter types in Tableau are quickly available using the right-click option on the dimension or measure. These filters known as Quick filters have enough functionality to solve most of the common filtering needs.
以下屏幕截图显示了如何访问快速筛选器。
The following screenshot shows how the quick filters are accessed.
下面列出了各种快速筛选器及其用途。
Following is a list of various quick filters and their use.
Filter name |
Purpose |
Single Value (List) |
Select one value at a time in a list. |
Single Value (Dropdown) |
Select a single value in a drop-down list. |
Multiple Values (List) |
Select one or more values in a list. |
Multiple Values (Dropdown) |
Select one or more values in a drop-down list. |
Multiple Values (Custom List) |
Search and select one or more values. |
Single Value (Slider) |
Drag a horizontal slider to select a single value. |
Wildcard Match |
Select values containing the specified characters. |
Example
考虑示例超市数据源以应用一些快速筛选器。在以下示例中,选择子类别作为行,选择销售额作为列,默认情况下将创建一个水平条形图。接下来,将子类别字段拖到筛选器窗格。所有子类别都出现在图表旁边。使用表达式 a * 应用通配符筛选,该表达式选择所有以 “a” 开始的子类别名称。
Consider the Sample-Superstore data source to apply some quick filters. In the following example, choose sub-category as the row and sales as the column which by default produces a horizontal bar chart. Next, drag the sub-category field to the filters pane. All the subcategories appear next to the chart. Apply wildcard filtering using the expression a* which selects all subcategory name starting with “a”.
以下屏幕显示了应用此筛选器的结果,其中仅显示以 “A” 开头的子类别。
The below screen shows the result of applying this filter where only the sub-categories starting with “A” are displayed.
Clearing the Filter
通过应用筛选器完成分析后,使用清除筛选器选项将其删除。为此,请转到筛选器窗格,右键单击字段名称,然后选择清除筛选器,如下面的屏幕截图所示。
Once the analysis is complete by applying the filter, remove it by using the clear filter option. For this, go to the filter Pane, right-click on the field name and choose Clear Filter as shown in the following screenshot.