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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Moniek
Resolver I
Resolver I

Search another table

Hi, 

 

I have a table (TableA) with many many rows and many columns, one column is named Despriction. In another table (TableB) are serveral rows with a part of some discriptions. I want to know in TableA witch rows contains (parts) descriptions of TableB. How can I make this? In Power Query or Dax?

 

Thankx!

 

2 ACCEPTED SOLUTIONS

Hi @Moniek ,

In the merge step, there is an option "Fuzzy matching options", expand the option, you can set the similarity threshold, which controls how many words the two values are matching, the defalt value is 0.8, you can reset it based on the fact data. Here I reset it to 0.5, then the "gele banana" matchs "banana".

There still a option "Ignore case", select it to ignore case when match.

vkalyjmsft_0-1669022058906.png

vkalyjmsft_1-1669022291239.png

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Super!!!! Thanks!!!!

View solution in original post

6 REPLIES 6
v-yanjiang-msft
Community Support
Community Support

Hi @Moniek ,

According to your description, here's my solution. I create a sample to clarify.

TableA:

vkalyjmsft_0-1669018654656.png

TableB:

vkalyjmsft_1-1669018682963.png

1. If the values are exactly match, you can use List.Contains function. Create a custom column.

if List.Contains(TableA[Description],[Description]) then true else false

vkalyjmsft_2-1669018752214.png

2. If the values are partially match, you can merge queries.

vkalyjmsft_3-1669019009994.png

Select the option "Use fuzzy matching to perform the merge".

vkalyjmsft_4-1669019060950.png

Then the partially matched values are filtered out. You can do further calculation based on the column.

vkalyjmsft_5-1669019162541.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thanks, this is a part of the solution, this solution does not regocnise when the search desciption contains a part of the discripton. In my example, "gele banaan".

And uppercase letters. Is there somthing you can add it in the Custom coloumn? 

Moniek_0-1669021384674.pngMoniek_1-1669021394475.png

 

Hi @Moniek ,

In the merge step, there is an option "Fuzzy matching options", expand the option, you can set the similarity threshold, which controls how many words the two values are matching, the defalt value is 0.8, you can reset it based on the fact data. Here I reset it to 0.5, then the "gele banana" matchs "banana".

There still a option "Ignore case", select it to ignore case when match.

vkalyjmsft_0-1669022058906.png

vkalyjmsft_1-1669022291239.png

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Super!!!! Thanks!!!!

lbendlin
Super User
Super User

Needs more details.  You can do this in either Power Query od DAX but the performance considerations will have a big impact on the eventual choice.

 

Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

Hi Thanks for your time,

Sample Data:

 

Moniek_0-1669019572803.png

Searching on description in TableA / List TableB. Is the desription something contains of the list than Yes (or 1 of someting like that) else No (or 0 something like that) in the result (tableA and additional Column Check). Hopefully it's clear what I want to do. 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.