Video | Tableau | Data visualisation

Using Parameter actions in Tableau to filter sheets: Quick Tip

A really simple trick: click a date to filter the chart, then give people a clean button to reset the whole range.

Part ofTableau quick tips
  • A parameter action filters a sheet by sending a clicked value into a parameter, but you must have a calculation referencing that parameter sitting in the Filters pane to listen for it
  • Use a continuous month on Order Date and a boolean filter checking the date is greater than or equal to the parameter, keeping only the True values
  • To build a reset button, use an LOD with no dimensions declared (e.g. MIN([Order Date])) to pull back the smallest date across the whole data set
  • This bare LOD runs after context filters but before dimensional filters, so a date filter still returns the full range before being processed
  • Place the reset calculation on its own sheet to act as a button, then add a second parameter action passing that minimum date back into the parameter

In this one, I go through a method that allows you to use parameter actions to filter charts.  You can use it in lots of different use cases so the main aim of this video is to show you the mechanics of how this works. Parameter actions in Tableau open up new possibilities for creating summary values and statistics without using calculations.

00:00  Intro 00:19 - Working example 01:03 - Building our chart 01:27 - How this works 01:59 - Create our parameter 03:06 - Creating our Filter 05:19 - Building our dashboard 05:53 - Setup our dashboard action 06:55 - Testing our parameter action 07:35 - Setting up a button to reset the view 12:43 - Other ways to use this technique 14:06 - Outro