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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

SEARCH FUNCTION WITH A LIST VALUE COMMAS

Hi guys,

I found answer for that : we have 2 lists. Now we want to check if list 1 contains any value from list 2. 

sonicmaster_0-1648656107224.jpeg

which values in list are in current value? =

CONCATENATEX (

    CALCULATETABLE (

        VALUES ( List[Keyword] ),

        FILTER ( List, SEARCH ( List[Keyword], 'Messy names'[Name], 1, 0 ) > 0 )

    ),

    [Keyword],

    ","

)

sonicmaster_1-1648656129300.jpeg

 

My question is how to display which values in list are NOT in current value? Any idea please ?

1 ACCEPTED SOLUTION
tamerj1
Community Champion
Community Champion

Hi @Anonymous 

nice code. Well done 👍. I think you just need to replac > with =

CONCATENATEX (

    CALCULATETABLE (

        VALUES ( List[Keyword] ),

        FILTER ( List, SEARCH ( List[Keyword], 'Messy names'[Name], 1, 0 ) = 0 )

    ),

    [Keyword],

    ","

)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Works.... 🙊 Thank You so much for that.

tamerj1
Community Champion
Community Champion

Hi @Anonymous 

nice code. Well done 👍. I think you just need to replac > with =

CONCATENATEX (

    CALCULATETABLE (

        VALUES ( List[Keyword] ),

        FILTER ( List, SEARCH ( List[Keyword], 'Messy names'[Name], 1, 0 ) = 0 )

    ),

    [Keyword],

    ","

)

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.