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
fernandoC
Helper V
Helper V

Funnel Formula

Hi!

 

I've built a formula to show a funnel including all candidates from each stage so that if they move from one stage to the other it replicates it's value instead of having 6-7 candidates with each stage by using a stage numeric order. The formula I'm using is:

 

- Funnel =
CALCULATE (
[- Applications],
FILTER (
ALL ( 'Region 2020 - Candidates'[Status], 'Region 2020 - Candidates'[Status Order] ),
'Region 2020 - Candidates'[Status Order] >= MAX ( 'Region 2020 - Candidates'[Status Order] )
)
)
----------------------------
[Applications] = countrows [candidate table]
 
The problem I've been having is that if there's no candidate that has passed an specific stage (i.e hires) that specific stage goes to the top of the funnel with stage order 0 which I know is expected of the formula. I would like to make a change in the formula so that if theres a stage without any value it doesn't show up in the visualization at all. 
 
In the image below the stage "Hire" should not be present since there's no values with stage "Hire" at the moment. 
 
funnel.PNG
 
Thanks in advance.
 
Best,
1 ACCEPTED SOLUTION

Hi @mwegener @v-she-msft ,

I found the solution to my problem.

Just created a new measure with

IF(ISBLANK('Region 2020 - Candidates'[Total Status]),BLANK(),[- Funnel])
Thanks again for your help!.

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @fernandoC 

 

Kindly check below whether helps:

- Funnel =
SUMX (
FILTER (
ALL ( 'Region 2020 - Candidates'[Status]),
'Region 2020 - Candidates'[Status Order] >= MAX ( 'Region 2020 - Candidates'[Status Order] )
),[- Applications]
)

If not,  you might consider providing your dummy pbix that would be helpful for us to investigate it further. 

You can upload it to the onedrive for business and share the link here. please don't forget to disclose the expected results and remove the confidential info.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @fernandoC ,

 

can you provide an example file?

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Hi @mwegener @v-she-msft ,

I found the solution to my problem.

Just created a new measure with

IF(ISBLANK('Region 2020 - Candidates'[Total Status]),BLANK(),[- Funnel])
Thanks again for your help!.

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.