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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
DannyMcMate
Frequent Visitor

Merging data based on a partial match

Hi there,

 

I have two tables I want to merge in power query:

 

The first table has two colums; a column of partial direct debit bank references, and a second column showing the accounting code each relates to.

 

My second table is essentially a bank statement including a column with the full direct debit references.

 

My aim is for power query to reference the first table, indentify if any of the partial references exist in the bank statetment full references, and then return the accounting code in a new column accordingly.

 

Any help appreciated.

 

Kind regards

 

D

1 ACCEPTED SOLUTION

Hi,

 

I found the following solution to this problem:

 

Table.SelectRows conditional join 

 

Many thanks,

 

D

 

 

 

View solution in original post

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @DannyMcMate ,

Have you solved the problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share more details.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

I found the following solution to this problem:

 

Table.SelectRows conditional join 

 

Many thanks,

 

D

 

 

 

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @DannyMcMate ,

To understand your scenario better, please share some data sample and your desired output so that we could copy and test on it.

In addition, you could have a reference of this blog which should be helpful.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@DannyMcMate 

The Fuzzy merge option should help you in this situation. Please check out this resource:

https://radacad.com/fuzzy-matching-in-power-bi-and-power-query-match-based-on-similarity-threshold





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

Proud to be a Super User!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors