Forum Discussion

cmbcmb's avatar
cmbcmb
Regular Visitor
1 year ago
Solved

Fuzzy Lookup in Power BI

Hello,   Novice Excel and Power BI user here.   I want to compare two datasets, one containing data on all UK businesses (address, company type etc - almost 3 million rows on Power BI) and the ot...
  • v-kpoloju-msft's avatar
    1 year ago

    Hi cmbcmb,

     

    Thank you for reaching out to the Microsoft Fabric Community Forum.

     

    We really apologies for the inconvenience, after reviewing the issue of fuzzy lookup in power bi, here are few steps to may resolve the issue.

     

    • Please import both datasets into power bi by selecting get data and choosing the appropriate data sources. Excel for your tenants and the larger dataset for uk businesses. After the data is loaded, select transform data to access the power query editor.
    • In the power query editor, navigate to the home tab and select merge queries. Choose the two tables you wish to merge and select the columns for comparison, such as address or company type. At the bottom of the merge dialog box, ensure to check the option for using fuzzy matching to perform the merge.
    • Please click on the fuzzy matching options link to adjust the similarity threshold and other settings. The similarity threshold defines how closely the values need to match. A lower threshold will result in more matches, while a higher threshold will be more restrictive.
    • Once you have configured the fuzzy matching options, click ok to proceed with the merge. Review the merged results to ensure they align with your expectations. If necessary, you can adjust the similarity threshold and other settings. Finally, click close & apply to save the changes and load the data back into power bi.

    Also, I provided some documents related to the thread. Please go through the below following links for better understanding:
    How fuzzy matching works in Power Query - Power Query | Microsoft Learn
    Create a fuzzy match (Power Query) – Microsoft  Support
    Fuzzy merge - Power Query | Microsoft Learn

     

    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

     

    Thankyou.