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

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

Reply
Anonymous
Not applicable

Filtering only the top level of a visual

Hello, 

 

I have a visual that i have drilling down by client and product type. I want the top level client visual to show only a certain threshold (i.e. >400 and <0 for big positiives and negatives), but when i drill down i want to show all values. 

 

I've tried creating a filter measure to exclude the 2nd level of the hierarchy (product type), but it isnt doing the trick. Heres the calc im using for that:

 

CALCULATE( [Var to plan], ALLEXCEPT('Communications Revenue','Communications Revenue'[Product type]))

 

 

Anyone have any ideas? Greatly appreciated. Thanks!

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your descrition, you can try to create a measure like this:

Measure =
IF (
    ISINSCOPE ( 'Table'[Product type] ),
    SUM ( 'Table'[Value] ),
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALL ( 'Table' ),
             ( 'Table'[Value] < 0
                || 'Table'[Value] > 400 )
                && 'Table'[Client] IN DISTINCT ( 'Table'[Client] )
        )
    )
)

before.pngafter.png

Attached a sample file in the below, hopes to help you.

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your descrition, you can try to create a measure like this:

Measure =
IF (
    ISINSCOPE ( 'Table'[Product type] ),
    SUM ( 'Table'[Value] ),
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALL ( 'Table' ),
             ( 'Table'[Value] < 0
                || 'Table'[Value] > 400 )
                && 'Table'[Client] IN DISTINCT ( 'Table'[Client] )
        )
    )
)

before.pngafter.png

Attached a sample file in the below, hopes to help you.

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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