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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Atifz
Frequent Visitor

Filtering Table with partial text search from another

Hi,

 

I am quite new to Power BI and i'm trying to filter one table based on a partial text match from another table.

 

Table1: Products

ProductID       Description

1                     Rolex 1995 Men's Watch

2                     Submariner Wall Clock -Rolex

3                     Compact Processor/Blender

4                     Prolex Cordless kettle

 

Table2: AlertTerms

Term

Rolex

Watch

Car

Motorcycle

 

I want to have table 2 as a slicer and when I select Rolex, only products 1 & 2 show up, Not product 4. Is there any way to do this?

 

Any help will be appreciated. Thanks

 

 

 

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Atifz ,

 

You could add below measure into fiter pane, set its value to 1.

Check =
IF (
    ISERROR (
        FIND ( SELECTEDVALUE ( 'Term'[Term] ), SELECTEDVALUE ( 'Table'[Description] ) )
    ),
    0,
    1
)

1-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

hi @v-eachen-msft,

 

Thanks for this.

 

It works for some of the terms but there are issues with different cases or space before the search term.

e.g 1: If the search term is "Rolex", it will not show "rolex" or "ROlex"

e.g 2: If the term is " rolex", it will not show "rolex".

 

Is there a way to modify the DAX to include all varients of the search term and not just the exact match? 

 

Thanks.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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