Tableau 简明教程

Tableau - Basic Sorting

데이터 분류는 데이터 분석에서 매우 중요한 기능입니다. Tableau에서는 차원이라고 하는 필드의 데이터를 분류할 수 있습니다. Tableau에서는 두 가지 방법으로 분류가 수행됩니다.

Sorting of data is a very important feature of data analysis. Tableau allows the sorting of data of the fields, which are called dimensions. There are two ways in which Tableau carries out the sorting.

  1. Computed Sorting is the sort directly applied on an axis using the sort dialog button.

  2. Manual Sorting is used to rearrange the order of dimension fields by dragging them next to each other in an ad hoc fashion.

Computed Sorting

此类排序涉及选择要排序的字段,然后使用排序对话框直接应用排序。您可以选择升序或降序的排序顺序,并选择应用排序的字段。

This type of sorting involves choosing a field to be sorted and directly applying the sort using the sort dialog box. You have the option to choose the sort order as ascending or descending and choose the field on which to apply the sort.

Example

选择示例超市以使用维度 order date 和 Subcategory 对名为 discount 的字段应用排序,如下所示。结果显示子类别的名称按降序排列,并按年份排列。

Choose Sample-Superstore to apply sorting on the field named discount by using the dimensions order date and Subcategory as shown below. The result shows the name of the sub-categories in a descending order arranged for each year.

Manual Sorting

这基本上是更改可视化元素在屏幕中出现的顺序。例如,您希望按降序显示不同产品部分的销售量,但是您可以自己选择顺序。此类排序并不完全基于数字或文本值,而是表示用户对排序方式的选择。因此,它们被称为手动排序。

This is basically changing the order in which the visualization elements appear in the screen. For example, you want to show the sales volume of different product segment in a descending order, however you have your own choice of order. This sort is not as per the exact values of number or text, rather they represent the user’s choice of ordering. Hence, they are called as manual sorting.

在以下示例中,即使 Home Office 的销售额最低,您仍会将名为 Home Office 的细分移至名为 Consumer 的细分下方。

In the following example, you move the segment named Home Office, below the segment named Consumer, even though the sales volume of Home Office is the lowest.