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

The 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.

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?

2 REPLIES 2
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors