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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors
Top Kudoed Authors