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
Kartic21
Helper I
Helper I

Filter ( slicer ) to work on comma separated value

Hi ,

i have below table "HumanPets" which has value comma sepearted. I am trying to build a slicer where has unique value from LovesPets column  . ( cant split the coumn in power editor as data is huge but any thing with column creation and modeling will help )

NameLovesPetsComments
Sheldonnull 
AmyDog 
PennyBird,Dog,Cat 
HowardCat,Turtle 
LeonardDog,Cat 

 

Now, i want to have a slicer (filter) with multi-select like distinct uniue values :

 

Pet:

  • Dog
  • Cat
  • Bird
  • Turtle
  • Blank
    Once i select the value from above slicer it should filter the complete page with that value.
    For eg if i select Dog, it show give me 3 rows in for HumanPets table or if i select turtle it should give me 1 row or if i multi slect ( dog / turtle ) it should give me 4 rows.

    Thanks in advnace for the support .


 

1 REPLY 1
lbendlin
Super User
Super User

You need to prepare a disconnected table that lists all possible options separately. Then you can use ContainsString in your measure.

 

 

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.