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
helpmeonPBI
New Member

Merge Table with multiple possibilities

Hello,

 

I am looking to get country info based on multiple filters

 

I have 2 tables

Table 1

Code1Code2Code3KEYCountry
NL201245C4434NL20.1245.C4434 
NL201246C4434NL20.1246.C4434 
NL221247C4436NL22.1247.C4436 
NL231248C4437NL23.1248.C4437 

 

Table 2 is the mapping table with filter including special caracter meaning all field

For istance row 1 Nevertheless Code 1 and Code 3 if Code 2 is 1245 it's France

KeyCountry
*.1245.*France
*.*.C4434Spain

 

Do you have an idea how I can process this ?

 

Thanks you so much for your help,

 

Olivier

1 ACCEPTED SOLUTION

3 REPLIES 3
Thingsclump
Resolver V
Resolver V

Hi @helpmeonP

For row 1 in table 1, country is France or Spain? It has both 1245 and C4434. Any preference?

 

Thingsclump

www.thingsclump.com 

Hello,

 

Any preference let's imagine this configuration will not exist.

 

Olivier

Hello,

I find the answer on this great post.

https://community.powerbi.com/t5/Power-Query/Merge-tables-using-wildcards/td-p/1463971

 

Have a nice WE,

 

Olivier

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.