29 July 2013
Waterfall charts are simple to construct in Tableau, and I'm not going to go over the whole process in this post. If you want to know how to make one (Running Total Sum Gantt with negative Sum on Size), then watch this video from Tableau.However, there are two things from the video that I want to pick up on and go into a little bit further. Colours and Labels.

Colours
When adding colours to a waterfall chart, you have a few options. The first one is whether the colour is a continuous scheme based on the value of the bars, or whether it is one colour for a positive value and another for a negative value. Generally colouring based on the value of the bars is not used, as you can't then add a Grand Total, so we will look at a couple of ways of adding a 2-tone colour scheme to the chart.Calculated Field
The question here is simple - is the sum of the value greater or less than zero? Using the same field as the Tableau video (Profit) gives us something like:IIF(SUM([Profit])>=0, 'positive', 'negative')This is added to the colour shelf and gives us a 2-tone effect
2-step colour legend
The principle here is to limit the colours from the SUM([Profit]) field to 2 colours, 1 for positive and the other for negative. This works very well, and gives just the 2 colours required. However, if you had this chart and had no negative numbers (for instance), then the chart changes to have 2-tone colours for the positive numbers. This occurs even if you press 'Advanced' and fix the centre at 0. The solution is to additionally fix the high and low values, with my personal best options being +1 and -1.