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
Anonymous
Not applicable

Contains Filter issue

Hi All,

I have these values in a column in a table

AEP
AEP
AEP,AO
AEP,AO,SQI
AEP,SQI
AO
AO,SQI
SQI

From this I have created a slicer in power BI using "contains" which has the follwing values

AEP
AO
SQI
 
My issue:
     i) When I select  "AEP" in the slicer, all related values should appear ex: AEP, (AEP,AO), (AEP,SQI).... should appear ,
       but when i  deselect  "AEP" ,only AEP should be removed and rest all values associated with it should appear.
similarly AO and SQI values should behave.
Thanks in Advance!
2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

I am afraid that it cannot be achieved at present.

Powerbi cannot obtain the status of your last step. Each change of the selected state is compared with the unselected state of the slicer and you cannot compare the last selection state of the slicer with the current selection state.

 

Best Regards,
Community Support Team _ Eason

mahoneypat
Microsoft Employee
Microsoft Employee

You should be able to use a measure like this in your table visual with your column of values to be searched (or as a visual level filter = 1).

 

Visible =
VAR slicervalues =
    VALUES ( Table1[SlicerColumn] )
VAR thisvalue =
    MIN ( Table2[SearchColumnValues] )
VAR rowsfound =
    FILTER ( slicervaluesSEARCH ( Table1[SlicerColumn], thisvalue10 ) > 0 )
RETURN
    IF ( rowsfound > 01BLANK () )

 

Pat

 

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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