February 20, 2012

How to Create a Two-Panel Column Chart in Tableau (and save lots of time compared to Excel)

I love Jon Peltier’s Tech Blog.  He always has great tips for getting things done in Excel and his recent post “Easy Two-Panel Column Chart in Excel” is no exception.  In this post Jon walks you through how to create this chart in Excel:

Seems pretty straight forward, right?  Well not exactly.  I wouldn’t exactly call this technique easy.  In Jon’s post, I quickly counted about 13 steps (I think there are more; I lost count as I recreated the chart), but there are many clicks for each of these steps.  It took me a bit over five minutes to create it the first time, but this included flipping back and forth between Excel and the instructions.  I suspect it would take two minutes or less once you use this technique a few times.  Again, let me emphasize that this is a great technique for Excel.

One big drawback for this technique though is that you are forced to hard code the scales.  What happens if your data changes?  You’d need to go back into each axis and reset them.  Kind of a pain if you ask me.  I’m sure I’d forget at some point too.

Also, I don’t like how the axis scales are not on the same side of the chart.

How many clicks it would take to create the same chart in Tableau?  Step-by-step, here are the instructions (with click counts in parentheses):

1. Drag the Month dimension onto the Column shelf (1 click)

image

2. Hold the CTRL key and choose both the Primary and Secondary measures, then drag them onto the Rows shelf (3 clicks)

image

Two steps/Four clicks and we’re already 95% of the way done.

3. Drag the Measure Names dimension onto the Color shelf (1 click)

image

That’s it!  Five clicks and we’ve created a two-panel column chart in Tableau.  I timed myself and it took five seconds to create this chart.  Of course, you need to spend the money on a copy of Tableau.

In summary, let’s assume:

  1. It takes two minutes to get the chart exactly as you want it in Excel (but you still have to fix the scales every time you change the data)
  2. It take 30 seconds on Tableau (though I can’t see how it could take that long and you DON”T need to update the scales each time)
  3. This gives you a 75% time reduction in creating just this one chart

Think about all of the time you would save if you did EVERY chart in Tableau.  This makes the ROI story for Tableau pretty simple if you ask me.