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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
emmetk
Frequent Visitor

Remove Values From Visual Based On Slicer Selection

Hello,

 

I need help hiding values from a visual based on a slicer selection instead of simply zeroing them out. I've provided some examples of my data, results, and desired results below. Any help would be appreciated!

 

I have multiple tables detailing various country level data. In order to simplify filtering across each table, I've employed a handful of reference tables. I've included examples of each below:

 

Example Data Table
CountryCategoryCount
USA150
CAA175
DEA125
FRA100
CAA50
DEA75
USA100
USB175
CAB125
DEB100
FRB50

 

Example Filter Table
CountryCategoryType
USA1
CAA1
DEA1
FRA0
USB0
CAB0
DEB1
FRB1

 

In this case, these tables have a relationship based on the Country fields with one other reference table (composed of only Country values) between them (in order to maintain One to Many relationships). However, whenever I filter on Type, I don't get the results I am looking for.

 

Results, Filter on Type = 1

US250
CA225
DE200
FR0

 

Desired Results, Filter on Type = 1

US250
CA225
DE200

 

The only difference between these results is that FR has been completely removed from the table. How can I get these values removed entirely from the table using slicers only?

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi  @emmetk 

You could just create a simple measure

Measure=CALCULATE( SUM(Count) ) 

Do not add "+0" in this formula.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
VasTg
Memorable Member
Memorable Member

@emmetk 

 

Based on your sample data, aren't you suppose to get 150 for FR?

Connect on LinkedIn

Helpful resources

Announcements
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!

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.

Top Solution Authors