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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.