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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
anf1sher
Frequent Visitor

"Loose string matching" in two columns

I have data from two different sources in a table and I want to do a "loose pattern match".

 

For example, data in the first column might be "Harvard University" and data in the other column might he "Harvard U".

 

I want the two columns to show as a match even though they are not identical.

 

Does that make sense?

4 REPLIES 4
Phil_Seamark
Employee
Employee

Hi @anf1sher

 

There might be some R based functions that allow you to match as per your needs.  Have you done anything similar in other tools/languages?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

I've done something similar in Perl but I haven't seen any way to do this in Power BI.

Or would you be happy to match simply based on the sequence of characters from the shorter of the two?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

I'm not sure I understand what you're asking.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors