Skip to main content
Albero Academy

Sort, Groups, Sets & Hierarchies

Organise and reshape your dimensions — sorting, grouping members, sets for dynamic segments, and drill-down hierarchies.

Chapter 10Tableau14 min readBeginner friendly
  • #Tableau
  • #Groups
  • #Sets

Raw dimensions rarely arrive perfectly organised. Tableau gives you tools to reshape them — sort for order, groups to combine members, sets for dynamic segments, and hierarchies for drill-down. Together they make views clearer and more interactive.

Sorting

  • Quick-sort a bar chart by clicking the sort icon on an axis — ascending/descending by the measure.
  • For a fixed order, sort a dimension manually or by a field/computed value.

Groups

A group combines several dimension members into one — merge "USA", "U.S." and "United States" into one country, or bundle small categories into "Other". Select members and click the paperclip, or right-click → Group:

tidying messy categories
Members: "NY", "New York", "N.Y." → Group → "New York"
Small products → Group → "Other"

Sets

A set is a custom subset of members — "Top 10 customers", "products over ₹1L". Unlike a group, a set can be dynamic (recalculated by a condition) and used in calculations and colour to compare "in vs out":

in / out of a set
Create a set "High Value" = customers with SUM(Sales) > 100000 (dynamic).
Drop it on Colour → the view splits into In / Out of the set.
Use in a calc: IF [High Value] THEN "VIP" ELSE "Standard" END

Hierarchies

A hierarchy nests related dimensions — Country → State → City, or Category → Sub-Category → Product — so users can drill down with a click (the + / − on the pill):

Practice

Sort a product bar chart by sales descending. Group several small categories into "Other". Create a dynamic set of top-10 customers and put it on Colour to compare in vs out. Build a Category → Sub-Category → Product hierarchy and drill through it.

Key takeaways

  1. 01Sort a chart by its measure (quick sort) or set a manual/computed sort order.
  2. 02Groups combine dimension members (fix messy labels, bundle into "Other").
  3. 03Sets are custom subsets — can be dynamic (condition-based) and used in colour/calcs to compare in vs out.
  4. 04Hierarchies nest dimensions (Country→State→City) for click-to-drill-down.
  5. 05Build Date and geographic hierarchies early to make dashboards explorable.