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.

 

jsw94
Regular Visitor

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

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (25)