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
JuanBolas
Helper II
Helper II

Match based on data from another table


Hello

I'm a newbie in Power BI and I need a bit of help.

I need see if the values in a column (cargo) in table called Transaction Table match the Item keywords in a table called Categories table.

 

If there is a match with the Item keywords, the corresponding Category to that Item should be added to a new column in the Transaction table called.

 

If there are multiple matches, we just need to keep the first match.

 

Here are the tables.  This dummy data can be found here:  https://docs.google.com/spreadsheets/d/1HVohp0SgMZ9B39F2l36IJ0tGDLmoGB3cfc9-BNk-QiU/edit?usp=sharing

 

I tried a fuzzy merge query (left outer join) with varying thresholds. 0.6 gave me too bad matches and 0.7 skipped too many items

 

Thanks in advance

 

2 REPLIES 2
JuanBolas
Helper II
Helper II

Hello @Vijay_A_Verma,

 

I tried what you proposed but with real life data I'm getting a considerable number of false matches.  I tried changing the fuzzy match threshold but above 0.7 it gives me very few matches (even though the keywords are present). Any suggestions? 

 

Thanks in advance.

 

Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors