Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ira_Ira
Frequent Visitor

Stage Conversion Rate Funnel

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 IdOrderStage NameTerritoryLead Source
12341AUSMKT  
12342BUSMKT  
12343CUSMKT  
12344DUSMKT  
12345EUSMKT  
12346FUSMKT  
12347GUSMKT  
12348HUSMKT  
12349IUSMKT  

 

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.

 

Ira_Ira_0-1682278843245.pngIra_Ira_1-1682278849962.png

 

 



Do you know how can I adjust my DAX to filter out these stages when the opps are lost?

3 REPLIES 3
G23
Frequent Visitor

@Ira_Ira Hello! Did you ever find a solution for this? I have a very similar business need to address related to skipped stages in a funnel and I am also having difficulty working this one out. Thanks!

Agucho76
Frequent Visitor

Hello @Ira_Ira 
I have similar issues with my funnels. 
Did you find a solution? How do you manage your data and measures?

Thanks!

TomMartens
Super User
Super User

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



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.