Blog

An archive of posts written from 2013 to 2026.

  1. 1 Easy Trick to get Clustered Bar Charts

    What's the difference between the two bar views below? Both bar graphs were created relatively easily in Tableau. The top one is the default. Notice how all the bars are evenly spaced? Not bad. But notice the bottom chart. It has the bars clustered within each category. That makes it a little easier to compare…

  2. What Color of Uniform Should I Wear Today?

    The term redshirt has come to mean any stock character who is introduced in an episode only to be killed off. This comes from the original Star Trek where red uniforms are thought to be a death sentence. But is it really true? I decided to check using Tableau. This dashboard was originally created as…

  3. Sheet Selection on Steroids

    Sheet swapping or sheet selection is a technique used to switch out views in a dashboard. The basics approach for building a sheet selector is: Place multiple sheets in a single layout container Hide the titles of the views Use filters to show / hide the views There is a good KB article here: Creating…

  4. Slicing by Aggregate

    Update: These options are good if you are using Tableau 8.3 or earlier. But if you're using 9.0 or later, here is a much better option: Level of Detail Calculations . Show me a distribution of customers by the number of items they bought. How many students took how many classes? How many people responded…

  5. The Joy of Viz Painting

    I recently submitted a couple of 3 minute win entries (I should have blogged about it - wow I'm behind!) After watching one of them, a co-worker remarked that I sounded like Bob Ross . What a compliment! And an inspiration for another 3 Minute Win. Just remember, always paint friendly little tree maps... Learn…

  6. Metropolitan Statistical Areas (MSAs) in Tableau

    I was asked recently to do a small research project recently into why Tableau wasn’t recognizing certain MSAs (metropolitan statistical areas) even though they were clearly the official name released by the census bureau and the U.S. Office of Management and Budget. It turns out that Tableau typically includes major updates of geographic data in…

  7. Google Analytics in Tableau: Blending Data From Multiple Accounts

    (This is one of the most popular blog posts here... but it was written when Cuban cigars were still under embargo... so check out a 2016 approach for Google Analytics data in Tableau! ) The Tableau Google Analytics connection only supports one account. What if you track multiple websites and you want to be able…

  8. Random Numbers (Even with Extracts)

    Ever wish you could use random numbers in Tableau? Of course, when you are connected to a data source such as SQL Server or Oracle, you can use a RAWSQL function to pass through raw SQL statements, such as RAND(), to the underlying data source. But what if you are connected to a data source…

  9. Dynamic Annotations (Part 2)

    Edit - This post describes one approach. But, it turns out, there is an easier way: Dynamic Annotations (Part 3) Part 1 described how to implement dynamic annotations in Tableau using a copy of a measure as a dual axis. However, there were some limitations to that approach. The biggest limitation is that you won’t…

  10. Dynamic Annotations (Part 1)

    Edit - This post describes one approach. But, it turns out, there is an easier way: Dynamic Annotations (Part 3) This post describes an approach to dynamically show and hide annotations on a dashboard. Future posts will extend the approach to show you how to dynamically change content, location, and the look and feel of…