Qlik Sense Variance Analysis: The Bridge That Explains Your Numbers to Management - Featured Image

Publications

Qlik Sense Variance Analysis: The Bridge That Explains Your Numbers to Management

Hector Pincheira

Hector Pincheira

CIO | CTO
Digital Strategy & Technology Innovation

items

Your board doesn't want to see EBITDA. It wants to understand why it changed. And that's the problem: between 60% and 70% of the reporting companies produce drives no business action at all. Gartner is even harsher: fewer than 20% of analytics insights deliver concrete results. The QlikSense variance analysis with waterfall charts attacks exactly that gap. Instead of showing two numbers —this year's and last year's— it builds the bridge that explains every peso of difference: how much came from price, how much from volume, how much from product mix. I've presented results to boards for years and learned something uncomfortable: nobody remembers a table. Everybody remembers a bridge. If your results meetings are still a parade of figures with no narrative, this article shows you how to turn them into a strategic conversation. With real code, step by step.

QlikSense Variance Analysis - The bridge that explains your numbers
Variance Analysis — The bridge that explains your numbers

The real problem: numbers that explain nothing

Picture the scene. The finance manager projects a table: 2025 sales against 2024 sales. The difference is +8%. Someone asks the inevitable: «so why did it go up?». Silence. Then speculation. Each manager offers a favorite theory and the meeting turns into a debate of opinions, not data.

That silence is expensive. According to recent research, 77% of executives admit they only sometimes —or rarely— question the data presented to them. Not because they trust it blindly, but because the format doesn't invite analysis. Furthermore, 87% of leaders agree that a clearer presentation of data produces more evidence-based decisions. Clarity isn't cosmetic: it's the difference between deciding and postponing.

That's why 71% of executives now prioritize data storytelling skills when reporting to the C-level. The question is no longer «do you have the data?». It's «can you explain the why in under a minute?».

QlikSense variance analysis - financial charts and reports on a desk
A variance without decomposition is just a number. The bridge turns it into an explanation.

QlikSense variance analysis: the anatomy of the bridge

A waterfall (or bridge) chart breaks the variance between two periods down into its causes. It starts from the opening value, adds and subtracts each effect, and lands on the closing value. The standard in corporate finance is the price-volume-mix decomposition. We're going to build the full version in QlikSense.

Step 1: the base measures with Set Analysis

First, we need sales and units for each period, independent of the user's year selection. We define variables in the variables panel:

// vVentasAct: sales for the selected year
Sum({<Año={$(=Max(Año))}>} Monto)
// vVentasAnt: sales for the prior year
Sum({<Año={$(=Max(Año)-1)}>} Monto)
// vUnidAct and vUnidAnt: units per period
Sum({<Año={$(=Max(Año))}>} Unidades)
Sum({<Año={$(=Max(Año)-1)}>} Unidades)

Let's break down the first expression. Sum(Amount) sums sales. The set {<Año={$(=Max(Año))}>} modifies the context: it ignores the year selection and forces the highest available year. The dollar-sign expansion $(=Max(Año)) is evaluated before the formula, returning the concrete number (2025). That way the same object responds correctly even when the user selects months, products or regions.

Step 2: the three effects, formula by formula

// VOLUME EFFECT: how much changed from selling more or fewer units?
// (Current units - Prior units) * Prior average price
($(vUnidAct) - $(vUnidAnt)) * ($(vVentasAnt) / $(vUnidAnt))
// PRICE EFFECT: how much changed from charging differently?
// Current units * (Current price - Prior price)
$(vUnidAct) * (($(vVentasAct)/$(vUnidAct)) - ($(vVentasAnt)/$(vUnidAnt)))
// MIX EFFECT by product (with AGGR):
Sum(AGGR(
  (Sum({<Año={$(=Max(Año))}>} Unidades)
   - Sum({<Año={$(=Max(Año)-1)}>} Unidades))
  * (Sum({<Año={$(=Max(Año)-1)}>} Monto)
     / Sum({<Año={$(=Max(Año)-1)}>} Unidades)
     - $(vVentasAnt) / $(vUnidAnt))
, Producto))

The mix effect deserves an explanation. The Aggr() calculates, product by product, how far that product's average price deviates from the overall average price of the prior year. It then multiplies that deviation by the change in units. If you sold more units of premium products, mix adds. If the growth came from cheap products, mix subtracts even though total volume went up. That's the trap a waterfall catches and a table hides.

Step 3: building the native waterfall

QlikSense ships with a native «Waterfall chart» object. The correct configuration:

  1. Measure 1: $(vVentasAnt) — measure type: Subtotal. Label: «Sales 2024».
  2. Measure 2: Volume Effect — type: Add.
  3. Measure 3: Price Effect — type: Add.
  4. Measure 4: Mix Effect — type: Add.
  5. Turn on «Subtotals» at the end: QlikSense calculates the closing total «Sales 2025» on its own.

For colors, use the convention the board already knows: green for positive contributions, red for negative, neutral gray for the opening and closing totals. No rainbows. Color is a signal, not decoration.

💡 Key point: the sum of the three effects has to tie out exactly to the total variance. If it doesn't, add an explicit «Other» bar. A bridge that doesn't close destroys trust in two seconds, and winning it back takes months.
QlikSense variance analysis - data visualization with an upward trend
The waterfall answers the question every table leaves open: where did the change come from?

Business impact: from 40 minutes to 4

The return on this technique isn't in the chart. It's in the time and the quality of the executive conversation. In my experience leading results meetings, variance decomposition cuts the «understand what happened» phase from 40 minutes to under 5. The rest of the meeting goes to what matters: deciding what to do.

There's a second, deeper effect. When the price effect and the volume effect are exposed every month, sales managers stop hiding discounts inside growth. Transparency changes behavior faster than any policy. One industrial client discovered this way that its 8% growth concealed a price effect of -3%: it was buying volume with margin. That single conversation paid for the entire BI project.

Common Mistakes and How to Avoid Them

⚠️ Common error: calculating average price on data with returns and credit notes mixed in. Negative units distort the unit price and the bridge stops tying out. Filter the returns or separate them as an effect of their own.

Mistake 2: the 14-bar bridge. If you break it down into too many causes, the narrative is lost. Three to five effects is the most an executive audience will process. Group the smaller ones into «Other» and give the detail on a separate analysis sheet.

Mistake 3: dividing by zero. If a product is new, it has no units in the prior year and the price formula blows up. Protect every division with Alt(expresión, 0) and treat new products as a separate bar: «New products». As a bonus, you gain an insight the board always appreciates.

Mistake 4: showing the waterfall without commentary. The chart explains the what; the leader supplies the why behind the why. Always pair the bridge with one line of cause and one of proposed action. Data opens the conversation, it doesn't close it.

Best practices from the trenches

First, standardize the bridge categories across periods. If March's bridge shows «Price effect», April's has to show exactly the same thing. Comparability builds institutional memory.

Second, create the measures as master items with the variables inside them. When the business logic changes, you fix it once and it propagates to every sheet. Also, document each formula in the master item description: your six-months-from-now self will thank you.

Third, validate the tie-out with a hidden control table comparing the sum of effects against the actual variance. If the difference is above 0.5%, check it before presenting. And if you want to go deeper into structuring your whole KPI layer with this discipline, at hectorpincheira.com you'll find the full BI strategy series.

Strategic conclusion

A dashboard that shows numbers competes with email and the phone for the board's attention. A bridge that explains causes wins that competition every time. The technical difference is three formulas and a native object. The strategic difference is moving from reporting the past to driving the conversation about the future.

This week, take your most-debated KPI and build its bridge. At the next meeting, don't show the figure: show the path that produced it. Then tell me how long the silence lasted.

Most Read

QlikSense Hierarchy: parent-child chart of accounts expanded by levels
QlikSense Hierarchy: the Chart of Accounts That Doesn't Add Up
QlikSense Sum TOTAL: share of each family over the total
QlikSense Sum TOTAL: the Percentage That Changes When You Filter
SAP Business One Inventory Revaluation - featured image of the tutorial
SAP Business One Inventory Revaluation: Fix Wrongly Loaded Costs
Empty chamber with wooden benches: the counterweight that required being present to be used
The Veto You Had to Say in Person: Your Decisions With No Counterweight
SAP Business One customizations - featured image of the pre-upgrade audit tutorial
SAP Business One Customizations: Pre-Upgrade Audit
SAP Business One Customer Concentration - featured image of the tutorial
SAP Business One Customer Concentration: Measure Your Risk with SQL

RELATED ARTICLES