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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.