Funnel charts in Power BI: stages, drop-off, conversion

How a funnel chart in Power BI shows a process through its stages, the conversion rate and stage-to-stage drop rate in its tooltip, the Category and Values fields, the DAX for each rate, and the mistakes that break a funnel.

Short answer: a funnel chart shows a process with stages in a fixed order, each stage a bar centred on the one above, so the shape shows where people drop out: visits, product views, cart, checkout, order. Put the stage in Category and a count in Values. Hover a stage and Power BI shows its value, the overall conversion (% of the first stage) and the stage-to-stage rate (% of the previous stage). Microsoft recommends at least four stages, with the first larger than the last.

The chart, part by part: What is a funnel chart? draws its parts and shows how to read one, its kinds and the mistakes to avoid.

A table that says "480 orders from 10,000 visits" gives a conversion rate of 4.8%. It does not say where the other 9,520 went. The funnel shows that most left before looking at a product, and that the cart step lost two thirds.

What does a funnel chart look like?

10KVisits4,200Product views42%1,300Add to cart13%620Checkout started6%480Orders5%
An online shop's month, from visit to order

The percentages on the right are of the first stage. The widest drop in absolute numbers is the first one; the most telling rate is Product views to Add to cart, where only 31% go on.

When is it the right chart?

Microsoft's list: progress of sequential data through at least four stages; items where the first stage is larger than the last; potential (revenue, deals) by stage; conversion and retention rates; bottlenecks in a linear process; a shopping cart's workflow; and click-through campaigns. A sales pipeline is the classic case: lead, qualified lead, proposal, contract, closed.

How do you build one?

  1. In Visualizations pick Funnel.
  2. Drag the stage to Category and the count (a measure) to Values.
  3. Sort the stages in process order, not by value: give the stage table a Stage Order column and use Sort by column on the stage name.
  4. Turn on Data labels and Conversion rate label in Format visual to show the overall rate on the chart.

Hover a bar for the tooltip: stage name, its value, the % of the first stage and the stage-to-stage rate (Microsoft also calls this the drop rate). Selecting a stage cross-filters or highlights the other visuals on the page; Ctrl plus select picks several stages.

How do you calculate the rates in DAX?

The funnel shows them on hover. For a table, a card or a KPI they need measures. With a Stages table (Stage, Stage Order) and a fact table of events counted per stage:

Stage Count = DISTINCTCOUNT ( Events[Session ID] )

First Stage Count =
CALCULATE ( [Stage Count], 'Stages'[Stage Order] = 1, REMOVEFILTERS ( 'Stages' ) )

% of First Stage =
DIVIDE ( [Stage Count], [First Stage Count] )

Previous Stage Count =
VAR ThisOrder = SELECTEDVALUE ( 'Stages'[Stage Order] )
RETURN
    CALCULATE ( [Stage Count], 'Stages'[Stage Order] = ThisOrder - 1, REMOVEFILTERS ( 'Stages' ) )

% of Previous Stage =
DIVIDE ( [Stage Count], [Previous Stage Count] )
StageStage Count% of First Stage% of Previous Stage
Visits10,000100%
Product views4,20042%42%
Add to cart1,30013%31%
Checkout started6206.2%48%
Orders4804.8%77%

The weakest step is the one with the lowest % of Previous Stage: here, product view to cart at 31%. That is where the work is.

What goes wrong?

  • Stages sorted by value. Usually the same as the process order, until a later stage is bigger than an earlier one (a promotion sends people straight to checkout); then the funnel reorders itself. Always sort by a stage order column.
  • Counting events instead of people. One person who views ten products counts ten times in "Product views". Count distinct sessions or customers in every stage.
  • Stages from different periods. Leads from March and deals closed in March are not the same people. For a true conversion, count each cohort through all its stages.
  • Fewer than four stages. Two or three numbers read better as cards with the rates.
  • Reading only the % of the first stage. It always falls; the stage-to-stage rate shows where it falls fastest.

Where can you check this?

Where do you start?

Build the funnel on distinct counts, sort the stages by a stage order column, and read the stage-to-stage rates first. Conversion rate and win rate turn the same numbers into KPIs.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.