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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jsw94
Regular Visitor

How to filter within a measure?

Hello,

 

I'm very new to Power BI. I'm trying to create a single funnel to show a pipeline of partner companies for materials sourcing. I have created a custom measure that makes these stages add up cumulatively in the funnel.

 

Here is part of my table:

jsw94_1-1732570357837.png

 

My measure: 

 

Count of Current Status running total in Current Status 2 =
CALCULATE(
    COUNTA('Potential partners'[Current Status]),
    FILTER(
        CALCULATETABLE(
            SUMMARIZE('Status', 'Status'[Order], 'Status'[Current Status]),
            ALLSELECTED('Status')
        ),
        ISONORAFTER(
            'Status'[Order], MIN('Status'[Order]), ASC,
            'Status'[Current Status], MIN('Status'[Current Status]), ASC
        )
    )
)

 

And my funnel:

 

jsw94_0-1732570176003.png

 

I would like to include the "Disqualified" stages in my main funnel, but I do not want those numbers to be cumulative. How can I exclude them so that "Disqualified - Preliminary" stays 3, instead of becoming 6 when added to the main funnel with the measure included. In this case, "Inquired Made" would equal 28 and preliminary discussions would be 9 because those three that have been disqualified would be counted in the main funnel.

 

3 REPLIES 3
lbendlin
Super User
Super User

You cannot measure a measure directly. Either materialize it first, or create a separate measure that implements the entire business logic.

 

Could you point me to resources on how to do so?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors