All in Tableau How-Tos

Imagine you have a busy worksheet in Tableau that looks like this:

Each line represents a single facility and displays that facility’s overtime hours. Imagine you want to filter to only keep the trends for the 3 facilities with the highest overtime hours from the most recent date BUT you also want that filter to be dynamic so when you update the data there might be a new top 3.

I have worked with a number of educational institutions, What I’ve found about those institutions, and many other organizations, is that many of them customize the way they track data over time. With a school it might be by trimester, with a restaurant chain it might be by period (there are 13 per year). These types of date fields require customized calculations.

I want to teach you a method I’ve used with various clients when they needed a flexible date field as part of their Tableau dashboard. In one example, I was working with a company that was using Tableau to create client-facing reports. Problem is, they had different granularities of data for different clients. For some clients they collected data daily, others monthly, and some yearly. What they needed was the ability to create a flexible dropdown that allowed them to change the level of date granularity in the view.

A few years ago I was working with a Fortune 500 restaurant chain that many of us frequent. What you probably don’t know is how often the rats frequent their restaurants too. The chain was trying to reduce the number of pest incidents at the worst offending stores, but was having trouble determining which stores were worst because their data was so messy.