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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors