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! Request now

Reply
Smackcat
Helper I
Helper I

Slicer don't filter table, but do filter one column of the table

Hi experts

 

I have the following table:

Category_sellsCategory_expectedItemSalesSales_expected
MakeupClothesA1040
ClothesSkincareB2050
SkincareMakeupC3060

 

I need a slicer that filters "Category_sells", and shows me on a matrix the "Item" column and "Sales_expected" measure filtering its equivalent value in "Category_expected". So, when I filter Category_sells as "Makeup", this should be my output:

ItemSales_expected
C60

 

I have already created a measure for Sales_expected, using calculate when Category_expected = selectedvalue(Category_sells) and this works fine. Neverthless, I have a problem showing the "C" item, because I don't want this column to be filter by "Category_sells" but do be filtered by its equivalent in Category_expected

 

I can't hide this interaction on the matrix because I need it to build the "Sales_expected" filtered value using the selected slicer.

 

Any advice on this would be highly appreciated. Thanks

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Smackcat 

 

You can try the following methods.

New Table:

Slicer = VALUES('Table'[Category_sells])
Measure = 
IF ( SELECTEDVALUE ( Slicer[Category_sells] ) = BLANK (),
    1,
    IF ( SELECTEDVALUE ( 'Slicer'[Category_sells] )
            = SELECTEDVALUE ( 'Table'[Category_expected] ),
        1,
        0
    )
)

Put measure in the filtered view and set equal to 1.

vzhangti_0-1677638228013.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors
Top Kudoed Authors