Learn everything about Analytics

How to create waterfall chart in Qlikview?

SHARE
, / 7

 

Given that 2013 is coming to a close, a very common question analysts get asked around this time of the year is:

“How did we perform against our targets / expectations?”

Typically, this kind of question helps business reflect on what worked well during the year and what did not, which then leads to next year’s plan and strategy.

Typically, there is Variance due to multiple factors / reasons, as the businesses today continue to compete in an ever changing landscape. Unexpected regulatory changes, better than expected Sales during the festive season, are just a few examples of how things can vary from a plan.

Whenever I get a question like this from business teams, I typically explain the divergence with the help of Waterfall chart. This chart is also referred by following names:

  • Bridge Chart
  • Mario Chart
  • Progressive Chart

 What is Waterfall Chart?

The waterfall chart is a one of the finest examples of data visualization. This indicates how an initial / reference value increases / decreases by various factors and reaches the outcome.

Waterfall charts are used widely in:

  • Sales Analysis (Comparison b/w target Vs Actual, identify GAP)
  • Financial Analysis (Profit and Loss)
  • Inventory Analysis

 An example: 

Let us say, you expected Sales of $123 Mn in 2013, but you actually end up selling $81 Mn, a shortfall of 42 Crores. The obvious question from business is why is this difference?

You create a list of all possible hypotheses, reject some of them and see the impact of the remaining ones. Let us say this is how the impact looks like:

waterfall_tabular_data

A shortfall of 42 is due to three reasons and this is their volume impact:

  • Environmental (external) impact drop is 12
  • Less manpower (capacity) strength cost to 20 and
  • Overall productivity (efficiency) cost to 10.

How would you present this information? In the past, I have seen people using some of the representations below:

bar_pie_chart_qlikview

As you can see these charts have problems and are not intuitive for business users to understand. This is where a waterfall chart comes into the picture:

waterfall_chart_qlikview

Compared to previous representations, this view is a lot more intuitive and provides all the necessary information in a single view.

 How to create a Waterfall Chart in Qlikview: 

I started using waterfall charts in Excel ~ 5 years ago and have been in love with them since. So, when I started using Qlikview a couple of years back, I badly wanted this visualization in my dashboards. Unfortunately, this information was not available in any of the tutorials I had access to. Hence I thought to contribute this article for the benefit of other analysts like me who are struggling with similar question.

Let us go back to same example we started with and plot a waterfall chart in Qlikview. In Below representation, “Target” and “Actual” are initial and final value respectively.

waterfall_chart_qlikview


 Method to Create A Waterfall Chart in Qlikview: 
Step 1:


  • Right Click on new sheet and select Bar chart from new sheet object
  • Click next and skip Dimension, because we are not going to use any dimension
  • Click next and write the formula as “=sum(Target)” and Label it as “Target”
  • Repeat similar formulas for Environment, Manpower, Productivity and Actual and click on finish

Now, we have chart like a normal bar which has a different bar for Target, Environment ….

Steps_prepare_waterfall_qlikview


Step 2:  Now we need to shift the Bar of intermediate values i.e. offset the position of bars


  • Right click on chart –> GoTo expression –> Click on ‘+’ sign of expression “Enviormental Impact” to expand properties of expression.
  • Select one of the properties called ‘Bar Offset’ and write the definition as:
    =sum(Target)-sum([Enviormental Impact])
  •  Repeat similar steps for Manpower and Productivity with “Bar Offset” definition as:

    =sum(Target)-sum([Enviormental Impact])-sum([Manpower Impact])

    =sum(Target)-sum([Enviormental Impact])-sum([Manpower Impact])-sum([Productivity Impact])

bar_offset_expression_waterfall_qlikview

  • Click on apply, Intermediate bars have moved above by equivalent cumulative differential value compare to target.

steps_waterfall_chart_qlikview

 

Step 3:  In Above Chart, Bar’s definition is referred by the legends at Top-right corner, if we want to put the bar definition below each bar:

Right Click on chart –> Properties –> Presentation –> Check off Show Legend

change_legend_position_waterfallchart_qlikview

 

 Finally, we have Water Fall Chart: 

 

waterfall_chart_qlikview

 

This is an example where we have brought out methods to create Waterfall chart in Qlikview. Do you use waterfall charts in your roles and visualizations? If yes, how do you create them? Do you think this tip is useful?

Do let me know your thoughts on using this chart in Qlikview.

 

If you like what you just read & want to continue your analytics learning, subscribe to our emails or like our facebook page.

 

7 Comments

  • Harikrishna says:

    Hi Sunil,

    This post is very useful and thanks for spending your time in helping the other users.
    I have few more questions as a follow-up.

    1. Let’s say I have something like Actuals + ReasonA +ReasonB = Target and ReasonB in this equation is negative. Now i want to present this with all positive numbers are Blue and Negatives as Red, instead of using so many colours that QV provides with
    2. Secondly I want to show connectors between the columns i.e the ending of one column to be connected with a dotted line to the starting value of the next column (the typical waterfall that we see in presentations)

    Regards
    Harikrishna

  • Amit says:

    Hi,

    I have a coulmn named type which is having 5 values “type1”, “type2″,”type3″,”type4″,”type5”.

    I want to create a new dummy column which will be having two values
    typeA refers to type1 type2 type3
    typeB refers to type 4 type 5

    Please help me to get it done.

    Thanks & Regards
    Amit S

  • Amit says:

    Hi,

    I have a coulmn named type which is having 5 values “type1”, “type2″,”type3″,”type4″,”type5”.

    I want to create a new dummy column which will be having two values
    typeA refers to type1 type2 type3
    typeB refers to type 4 type 5

    Please help me to get it done.

    Thanks & Regards
    Amit S

  • Amit says:

    Hi,

    I have one dimension and three expression exp1, exp2 and exp3 in bar chart.
    I want to show fourth expression which will be on top of expr2 and the value will be difference of exp1 and exp2.

    Is it possible in qlikview.
    Please help

    Thanks

  • Navdeep says:

    Hi,

    Very simple and good article.

    Thanks.

  • Tripati Rao Rajana says:

    Really nice post.Its helps lot for a new learners.

  • Julie says:

    Brilliant! Thanks for sharing.

Leave A Reply

Your email address will not be published.

Join world’s fastest growing Analytics Community
Receive awesome tips, guides, infographics and become expert at: