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
CarlsBerg999
Helper V
Helper V

Filtering Matrix on the highest level of hierarchy

Hi,

 

I have a PowerBI Matrix that has two levels of hiearchy. I want to filter on the highest level. The Filter i want to build is "Show all customers with Sales over 100€". How do I do this? If i set a filter for 100€ on the filter's pane, in the example below, it would filter away Project 1 from Customer 1 and Project 4 from Customer 2. This will lead to an incorrect situation, because i just wanterd to remove Customer 2.  

 

CarlsBerg999_0-1619362574822.png

 

Thanks for the help! 

 

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @CarlsBerg999 

Try to create a measure below:

Over 100 =
VAR _SumOfMeasure =
    CALCULATE ( SUM ( 'Table'[Measure] ), ALLEXCEPT ( 'Table', 'Table'[Customer] ) )
RETURN
    IF ( _SumOfMeasure >= 100, "True", "False" )

Assign it to the visual filter and show items when the value is “True”

Sample:

v-angzheng-msft_0-1619518729799.jpeg

v-angzheng-msft_1-1619518729800.jpeg

Result:

v-angzheng-msft_2-1619518729802.jpeg

Please refer to the attachment below for details

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
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

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @CarlsBerg999 

Try to create a measure below:

Over 100 =
VAR _SumOfMeasure =
    CALCULATE ( SUM ( 'Table'[Measure] ), ALLEXCEPT ( 'Table', 'Table'[Customer] ) )
RETURN
    IF ( _SumOfMeasure >= 100, "True", "False" )

Assign it to the visual filter and show items when the value is “True”

Sample:

v-angzheng-msft_0-1619518729799.jpeg

v-angzheng-msft_1-1619518729800.jpeg

Result:

v-angzheng-msft_2-1619518729802.jpeg

Please refer to the attachment below for details

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Fowmy
Super User
Super User

@CarlsBerg999 

Create a measure that calculates the total ignoring the Product and assign to the visual filter in the filter pane and set it equal to 1:

Over 100 Customers = 

INT(CALCULATE(SUM(Table[Measure]),REMOVEFILTERS(Table[Project])) > 100 ) 

Fowmy_0-1619388549235.png

 

 

 





Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.