Professional Documents
Culture Documents
But, in a waterfall chart, we can see how each category’s positive value
increments the total value and the negative ones decrement it and then finally
leads to a resultant value. This allows for an insightful analysis of how
individual elements of dimensions or measures are contributing to bringing a
total value of something.
Have you checked the Tableau Donut Chart recipe for maintaining your data
accurately?
This will give us individual flat marks as data points on our plot. Next, we set a
quick table calculation for the measure SUM(Profit) present in
the Rows section. We add a quick calculation that is running total to
our Profit field values. To do this, we right-click on SUM(Profit),
select Quick Table Calculation and then select Running Total.
Step 3: Create New Calculated Field
Next, we need to create a new calculated field in tableau waterfall chart. For
this, right-click on the measure field, then select Create and then click
on Calculated Field.
Then, an edit dialog box will open where we define the condition for our field
and click on Apply. Here, we enter –[Profit] that is, negative of profit field
values. Also, we named the new field as “Waterfall sizing”. You can add a name
and condition as per your requirement and liking.
This will duplicate the chart and split the editing area into two. As you can see
in the lower half of the chart, the mark type is set as Gantt Bar.
This merges the two plots into one and brings the two y-axes on either side (on
the left and right) of the plot. You can format or edit the axis by right-clicking
on it and exploring the options.
From this, we can understand which brands managed to incur most profits
and which underwent loss. In this way, waterfall charts prove to be extremely
useful in analysis.