cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
srikanthgunnam
Helper I
Helper I

Fuzzy Match / Merge uses which algorithm

Hello, Can someone help me with which algorithm does Power BI use to perform fuzzy match? I would like to replicate that algorithm on the database side. Please help me with this.
Thanks

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @srikanthgunnam ,

 

You may use merge and append feature in Query Editor, see more detail:Append vs. Merge in Power BI and Power Query , Tutorial: Shape and combine data in Power BI Desktop.

 

In addition, you can create column or measure to get matched items using RELATED function, LOOKUPVALUE function, or FIRSTNONBLANK function .

 

For example:

 

Column1=RELATED([one side field of relationship])

 

Column1= LOOKUPVALUE(tableA[goal field], tableA[linked field], tableB[linked field]))

 

Column1= CALCULATE (FIRSTNONBLANK ( tableA[goal field], 1 ),FILTER ( ALL ( Shifts ), tableA[linked field] = tableB[linked field] ))

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xicai
Community Support
Community Support

Hi @srikanthgunnam ,

 

You may use merge and append feature in Query Editor, see more detail:Append vs. Merge in Power BI and Power Query , Tutorial: Shape and combine data in Power BI Desktop.

 

In addition, you can create column or measure to get matched items using RELATED function, LOOKUPVALUE function, or FIRSTNONBLANK function .

 

For example:

 

Column1=RELATED([one side field of relationship])

 

Column1= LOOKUPVALUE(tableA[goal field], tableA[linked field], tableB[linked field]))

 

Column1= CALCULATE (FIRSTNONBLANK ( tableA[goal field], 1 ),FILTER ( ALL ( Shifts ), tableA[linked field] = tableB[linked field] ))

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors