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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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