Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi, I want to adjust a stage conversion calculation for a funnel in PowerBI desktop.
The complexity in properly calculating it is that many opportunities skip stages or even jump back stages which makes it hard to analyze the data in a funnel way and see at which stage opps normally drop.
This is a measure I used in order to account for the skipping of the stages:
Nr. of opps per stage =
VAR CurrentStageId = MAX('Opportunity History'[Order])
RETURN
CALCULATE (
SUMX (
SUMMARIZE (
'Opportunity History',
'Opportunity History'[OpportunityId],
"Max Stage", MAX('Opportunity History'[Order])
),
IF([Max Stage] >= CurrentStageId, 1)
),
ALLSELECTED()
)
This is how my data looks like more or less:
Opportunity Id | Order | Stage Name | Territory | Lead Source | … | … |
1234 | 1 | A | US | MKT | ||
1234 | 2 | B | US | MKT | ||
1234 | 3 | C | US | MKT | ||
1234 | 4 | D | US | MKT | ||
1234 | 5 | E | US | MKT | ||
1234 | 6 | F | US | MKT | ||
1234 | 7 | G | US | MKT | ||
1234 | 8 | H | US | MKT | ||
1234 | 9 | I | US | MKT |
The measure works almost always as expected (image 1), however when the scope I filter on contains only opps that didn't go through the whole sales cycle but rather got lost, I get a count for all the opps for the stages that followed the lost stage (image 2 example - out of 19 opps in 1st stage, 9 went to 2nd stage, 5 to 3rd stage and only 1 to 4th stage and as of stage 5 all opps were lost but based on the logic in my DAX to count skipped stages there's 19 counts for all those stages when they should in fact not appear in the funnel at all) In my visual I filter out the stage "Lost" from my chart.
Do you know how can I adjust my DAX to filter out these stages when the opps are lost?
Hello @Ira_Ira
I have similar issues with my funnels.
Did you find a solution? How do you manage your data and measures?
Thanks!
Hey @Ira_Ira ,
Please take the time and create a pbix file that contains the sample data for the 19 opportunities but still reflects your data model. Upload the pbix to onedrive, google drive, or Dropbox and share the link. If you are using Excel to create the sample data, share the Excel file as well. Make sure that pbix contains a "working" example measure in question.
Regards,
Tom
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |