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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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