The Label property allows you to encode data by assigning text labels to the marks. When working with a text table, this property is called Text, which allows you to view the numbers associated with a data view. The effect of text-encoding your data view depends on whether you use a dimension or a measure.
-
Dimension – When you place a dimension on the Label or Text target on the Marks card,
Tableau separates the marks according to the members in the dimension.
The text labels are given by the dimension member names.
-
Measure – When you place a measure on the Label or Text target on the Marks card,
the text labels are given by the measure values. The measure can
be either aggregated or disaggregated. However, disaggregating the
measure is generally not useful because it often results in overlapping
text.
You can display text labels with other mark types by dragging a field to the Label target on the Marks card.
See Mark Labels to learn more about
showing and hiding mark labels.
In the view below, the heights of the bars are given by the Sales
measure and the labels show the aggregation (SUM) of the Profit measure.
No comments:
Post a Comment