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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
byronholloway
Regular Visitor

Slicer Picklist Contains multiple Values

I have a fairly large dataset (25K records)  with a fairly straightforward dataset:

We use these generally to priortize how we make sales calls.  We want to call on manufaturers and designer.  

Account     Industry                               other data

aa Corp     Audio/Video;Electronics

BB Corp     Contract Manufacturer

CC Corp     Distirbutor - Audio Video

DD Corp     Electric Supply

EE Corp      Robotics;Battery;UAV

FF Corp      Oil & Gas - Wireline;MRO

 

All in all there are 125 categories.   I am trying to filter by industry, but Robotics;Battery is a different selection from Robotics;MRO and Robotics;Game\Consumer.     I tried to use the example contained here:

https://community.powerbi.com/t5/Desktop/Dynamic-filtering-slicing-if-text-contains/m-p/425504#M1957...

but I could not make it work on my dataset.   

Ideally I would like to import a list of data set values and have it filter for "contains exactly"  (so it can discriminate between "Audio/Video" and "Distributor Audio/Video" )  I would also like to figure out how to exclude values like "MRO"   
Can someone point me in the right direction ?    

 

Thanks

Sincerely, 

Byron Holloway

 

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

@byronholloway 

 

You might try using the DAX function CONTAINSSTRINGEXACT

CONTAINSSTRINGEXACT FUNCTION DAX Guide 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






rainer1
Resolver III
Resolver III

Hi byronholloway,

 

maybe try using the conditional columns function in Edit Queries Tab. And modifiy your conditions.

 

Like this.

 

conditional.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.