What is the difference between groups and sets?
Groups simplify large numbers of dimension members by combining them into higher-level categories.
Sets create a custom field based on existing dimensions that can be used to encode the view with multiple dimension members across varying dimension levels.
What are groups in Tableau?
In Tableau, a group is a set of discrete values within a dimension. Groups are used to combine multiple values within a dimension into a single value, and can be used to simplify or summarize data in a visualization.
For example, suppose you have a dimension called "Region" that contains the values "North," "South," "East," and "West." You could create a group called "North/South" that includes the values "North" and "South," and another group called "East/West" that includes the values "East" and "West."
Groups are created using the "Group" function in Tableau, and can be used in the same way as any other dimension in a visualization. For example, you could use a group to filter a chart, or to create a stacked bar chart that shows the distribution of values within a group.
Groups are a useful way to organize and analyze data in Tableau, as they allow you to combine multiple values within a dimension into a single value, and to better understand and communicate the patterns and trends in your data.