# Create a Percent of Total in Tableau That Isn't Affected by Filters

As you likely know from using Table Calculations in Tableau, they only compute against the marks displayed in a worksheet. Check out this webinar in you need a refresher.

That means when a filter is applied to the worksheet, a table calculation will update to reflect only the data present in the worksheet.

# How to Create a Trimester Field in Tableau

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.

# How do you calculate headcount with only a start date and end date in Tableau?

“How do you calculate a headcount at a moment in time when you only have a start and end date?” I’ve gotten this question several times. My answer used to be “Ideally, you’d want a row of data for an individual for every possible date unit you’d want to count them at.”

# Viz in Tooltip - Tableau's Latest Breakthrough

If you haven’t had a chance to check it out for yourself yet, I want to introduce you to Tableau’s latest breakthrough, the “viz in tooltip”. Let me show you how this works and why it’s valuable.

# Calculating Year to Date Versus Previous Year to Date in Tableau

There will likely be times when you want to calculate performance year to date versus the same time period prior year to date.

# How do you create a dynamic measure in Tableau?

Let’s imagine that we work for a restaurant chain and are helping perform an analysis to figure out which items are under-performing. We’ll start with a visual like this...

# Creating a Dynamic Date Field in Tableau

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.

# Tableau - “Cannot mix aggregate and non-aggregate comparisons or results in ‘IF’ expressions.”

If you’ve ever received the error “Cannot mix aggregate and non-aggregate comparisons or results in ‘IF’ expressions in Tableau I feel your pain. I spent my first several months in Tableau not understanding what that error meant and running into impassable roadblocks aggregating data in Tableau as a result.

# How to Combine Multiple Fields in a Tableau Join

Imagine you are living your best life and run a company that owns an ice cream parlor and a chocolate store. You have data for both companies that looks like this:

# How to Kill Rats with Data

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.