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
vinayaka123
Regular Visitor

Fuzzy vlookup in power query

Hi Experts,

 

please help me on this.

 

i have table1 and table 2  in power query

 

in table1, vendor_name

in table2, vendor_name, and cateogory

I need to create a new field as category in TABLE1 by doing fuzzy vlookup as vendor names entered by users because of this names doesn't match exactly and suffixed/prefixed with digits, space, special character etc.,

I tried with merge query by joining left but it is giving lot of duplication. What should be the best solution for this.

 

Thanks,

1 ACCEPTED SOLUTION
jgeddes
Super User
Super User

If you have not already tried it, adding a column in Table 2 with Table.AddFuzzyClusterColumn() may help with your relationship to Table 1. Here is the link to the learn document.learn.microsoft.com - table.addfuzzyclustercolumn() 

As a quick example it turned this...

jgeddes_0-1724960227228.png


into this...

jgeddes_1-1724960247654.png

It is not perfect, but it might help.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
jgeddes
Super User
Super User

If you have not already tried it, adding a column in Table 2 with Table.AddFuzzyClusterColumn() may help with your relationship to Table 1. Here is the link to the learn document.learn.microsoft.com - table.addfuzzyclustercolumn() 

As a quick example it turned this...

jgeddes_0-1724960227228.png


into this...

jgeddes_1-1724960247654.png

It is not perfect, but it might help.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.