Fun with sets: Highlighting/filtering data using a shared attribute of a selected value in Tableau

Fun with sets: Highlighting/filtering data using a shared attribute of a selected value in Tableau

Have you ever wanted to be able to filter or highlight records in a Tableau visualisation that share a common attribute? For example, say you had a visualisation and a filter that listed animals. You select ‘kangaroo’, and the visualisation would filter for ‘kangaroo’ and all other marsupials – animals that share the same infraclass as the chosen ‘kangaroo’.

Typically, when filtering in Tableau, you filter on a single dimension or measure and the filter action is limited to whatever you selected. Using the example above, if I chose ‘kangaroo’, the visualisation would filter for kangaroos but no other, unless … Read the rest