//
Search
Duplicate
🀄

4.3 Understand aggregations (집계 이해하기)

1.
Explain the default aggregation for measures 측정값의 기본 집계 설명하기
2.
Describe how an aggregated measure changes when dimensions are added to a view 차원이 뷰에 추가될 때 집계 측정값이 어떻게 변하는지 설명하기

뷰의 측정값 집계 변경

뷰에 측정값을 추가하면 자동으로 해당 값이 집계됩니다.
관계형 데이터 원본의 경우에만 Tableau를 사용하여 측정값을 집계할 수 있습니다. 다차원 데이터 원본에는 이미 집계된 데이터가 포함되어 있습니다. Tableau의 다차원 데이터 원본은 Windows에서만 지원됩니다.

차원 집계

뷰의 차원을 최소값 최대값카운트 또는 카운트(고유)로 집계할 수 있습니다.
차원을 보기 위한 또 다른 방법은 이를 특성으로 취급하는 것입니다. 이 작업을 수행하려면 차원의 상황에 맞는 메뉴에서 특성을 선택합니다. 특성 집계는 다음과 같은 다양한 용도로 사용할 수 있습니다.
여러 데이터 원본을 통합할 때 일관된 세부 수준을 보장할 수 있습니다.
집계 식이 필요한 테이블 계산을 수행할 때 차원을 집계하는 방법을 제공할 수 있습니다.
로컬에서 계산되기 때문에 쿼리 성능이 향상될 수 있습니다.
Tableau는 다음과 같은 수식을 사용하여 특성을 계산합니다.
IF MIN([dimension]) = MAX([dimension]) THEN MIN([dimension]) ELSE "*" END
수식은 초기 쿼리로부터 데이터가 검색된 후 Tableau에서 계산됩니다. 별표(*)는 다중 값이 있을 때 발생하는 특별한 유형의 Null 값을 나타내는 시각적인 표시입니다. 별표에 대한 자세한 내용은 데이터 혼합 문제 해결(링크가 새 창에서 열림)을 참조하십시오.
Which of the following fields will have AGG in front of it when you add it to the view? A calculated field with the formula SUM([Profit]) (since this is a measure that has an aggregation already built in, when you add it to the view you will see AGG in front of the field name)
Which of the following will result in an error Aggregation on a field that is already aggregated (If you try to aggregate an aggregated field, you will get the error message saying that an aggregate cannot be further aggregated.)
You add two fields to your Tableau view, “Profit” and “Average Profit.” When you add Profit to the view, you see a pill with the label, “SUM(Profit)” but when you add Average Profit to the view, you see a pill with the label, “AGG(Average Profit).” Why does one field have SUM and another AGG?AGG indicates that the “Average Profit” already includes some type of aggregation. “Profit” does not include aggregation, so an aggregate function is applied when the field is added to the view.
Examine the following view and describe the most likely field type for Order Priority and Sum(Sales)Order Priority is a discrete dimension, and Sum(Sales) is a discrete measure.
How can we disaggregate data in Tableau? For any visualization Go to Analysis -> Uncheck the Aggregate Measures (In Tableau, to disaggregate the data we need to go to Analysis and uncheck the Aggregate Measures for any visualization.)
How can we change the aggregation of a measure in Tableau? For any visualization right click on the measure -> Go to Measure -> Select any of the desired aggregate for that measure (In Tableau, to change the aggregation of a measure we need to visualization right click on the measure and then go to Measure. Select any of the desired aggregate for that measure.)