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

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


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