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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.