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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Microsoft Employee
Microsoft 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.