Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Edited to elaborate on solution needed and expected results
I have to match up customers from one system with another system. One system has First Name, Lasst Name, ID and date of service.
The other system has a combined Laast name,First name which includes Juniors, IIIs and hyphenated names. it also has the same date of service and a different account number.
I want to get the id from the second system combined with the data from the first system. I think that the first name and the last name from the first system are included in the combined last name,first name in the second system. I don't want to do this using Fuzzy Joins, I would like to do this with either power query or dax measures. Below is a link to my fake data. In excel I can do this by a formula that matches up rows containg the partial string.
The solution I want, but don't know how to achieve is this: for each row in system 1 find the row in system 2 where the name column includes the first name from system 1 and the name column in system 2 also contains the last name from system 1 and the dates match. Then the account number from the matching row in system 2 will be added to the row that it matched in system 1.
For example Baker Jr, Mike in system 2 would not match a combined helper column in system 1 because system 1 does not have the "Jr", but if you can recognize that the Mike in system 1 is included in the Baker Jr, Mike, and the Baker from system 2 is also included in the Baker Jr, Mike and the Date of 6/30/25 in system 1 matches the date in system 2, therefore the 1212 would be matched up with the row in system 1.
Here is a link to the solution in excel with excel formulas. Is there a way to do this in Power bi or power query?
Hi @BaldAccountant ,
Thank you for reaching out to the Fabric Community.
FYI:
This output meets your requirements by matching records across both systems using partial name logic and exact date alignment, without needing fuzzy matching. This provides a straightforward way to enrich System1 with IDs from System2.
If I misunderstood any part of your scenario or if you’re still experiencing issues, please let us know—I'm happy to assist further.
For reference, please attach the PBIX file so we can review and confirm the logic in your model.
Regards,
Yugandhar.
Thank yoou for your solution, but it looks like one I tired, but it would not work for accounts where the full name in system 2 has additional info like a Jr or III or a hyphenated name. I edited my post to give an example.
Hi,
Show the expected result very clearly.
Thank you, I updated the post to give an example of what I want
hello @BaldAccountant
i assumed it is a table when you said a system.
in your sample file, there is only one table.
is that table from the first table since i dont see Juniors, IIIs, etc?
Smith,Jethro | 1/3/2025 | 1111 |
Smith,Jethro | 4/25/2025 | 1212 |
Baker JR,Mike | 6/30/2025 | 2222 |
Smith-Jenkins,Sall | 2/2/2025 | 3333 |
Wiley,Celeste | 1/29/2025 | 1892 |
Ramirez,Florine | 6/3/2025 | 6472 |
Callahan,Dorsey Jr | 4/22/2025 | 5989 |
Shaw,Wanda | 5/24/2025 | 7382 |
Mcconnell,Greta | 3/3/2025 | 3872 |
Carson III,Ben | 3/17/2025 | 4570 |
Huber,Alexis | 4/26/2025 | 8322 |
Alvarado,Ulysses | 1/20/2025 | 8524 |
Calderon,Santos | 3/22/2025 | 4090 |
Heath-Down,Franc | 4/3/2025 | 3050 |
Robinson,Nathani | 3/27/2025 | 4091 |
Barton,Franklyn | 6/4/2025 | 2441 |
Doyle,Madeline | 1/29/2025 | 7418 |
Vincent,Clara | 2/23/2025 | 1401 |
Boyer,Tracie | 5/25/2025 | 6446 |
Short,Britt | 6/8/2025 | 6478 |
Cannon,Sonia | 4/2/2025 | 7686 |
Carrillo,Jackson | 3/24/2025 | 4688 |
Alvarez,Jeremiah | 3/9/2025 | 2676 |
Cruz,Ike | 2/21/2025 | 5134 |
Hendrix,Billie | 3/24/2025 | 6565 |
Brooks,Jody | 1/31/2025 | 4767 |
Francis,Dwight | 3/9/2025 | 6377 |
Whitehead,Vicki | 4/26/2025 | 3965 |
Baird,Paris | 3/4/2025 | 7264 |
Villa,Keneth | 2/24/2025 | 4478 |
Mcgrath,Todd | 4/16/2025 | 5026 |
Peters,Roseann | 4/22/2025 | 1589 |
Lynn,Darin | 2/12/2025 | 5727 |
Dorsey,Jewell | 6/12/2025 | 5527 |
Lamb,Howard | 2/23/2025 | 9283 |
Merritt,Colleen | 1/24/2025 | 2952 |
Roach-Heart,Noe | 2/9/2025 | 1717 |
Hughes,Wilma | 4/23/2025 | 3532 |
Nash,Kristine | 5/23/2025 | 5715 |
Fernandez,Demarc | 2/18/2025 | 7943 |
Hatfield,Ernesto Sa | 5/3/2025 | 4351 |
Mcgee,Rae | 2/12/2025 | 9303 |
Lawrence,Erwin | 6/17/2025 | 7176 |
Hicks,Christoper | 4/3/2025 | 1119 |
Patterson,Rowena | 1/23/2025 | 3308 |
Pittman,Rodolfo L | 1/1/2025 | 4629 |
Robbins,Fran | 2/28/2025 | 4139 |
Boyle,Reynaldo | 4/5/2025 | 1141 |
Gordon,Joshua | 1/9/2025 | 9950 |
Guzman,Barbara | 4/26/2025 | 7259 |
Woods,Mike | 1/5/2025 | 4201 |
Shaffer,Rachael | 3/11/2025 | 5677 |
Van Weber,Rey | 1/7/2025 | 4412 |
Garret,Alejandro | 6/7/2025 | 6267 |
how is your 2nd table looks like?
Thank you.
There are 2 tabs in the file