Last year I did the big workbook on conditional formatting to answer some really common questions on the Tableau Community Forums. One of my projects lately has been to do the same for table calculations, which are incredibly powerful, sometimes incredibly complicated, and I believe underutilized. Tableau put together a set of Top 10 Table Calculations, here’s a list I’ve compiled of the next N most-commonly useful table calculations, based on volume of questions on the forums and relative ease of construction (there’s no densification, domain padding, domain completion, or any of that stuff in this batch):
- Filter Without Affecting Results
- Filter Top N Without Affecting Results
- Filter 1st Time Period from Difference from Prior
- Sorting by a Table Calc
- Comparing Selected to Group
- Aggregating at Different Levels…
- …And Returning Fewer Results
- Filtering Out Extra Marks by Using a Duplicate on the Filters Shelf
- Nesting Table Calculations to Aggregate in Different Directions
- Performance – One Computation to Return Same Result to All Rows
- How Many of X Did How Much of Y
- Title Showing Date Range
- Jittering a Scatterplot
- Extending an Axis with an Invisible Reference Line
- Making a String List
And of course, there’s a workbook with instructions! Click to view and download the next N table calculations workbook on Tableau Public or click the image below:
If you have any other really common uses for table calculations, leave a comment!
