Forum Discussion
Match value after fuzzy lookupvalue between two tables
- 6 years ago
Hi QuintonLi
As tested,
In Edit queries, trim and clean columns "STREET" and "SUBURB' in both tables, then add merged columns in both tables
Close&&apply, create a new table
Lookup Table = FILTER ( CROSSJOIN ( VALUES ( Table1[lookup value] ), VALUES ( Table2[location1] ) ), LEFT ( [location1], LEN ( [lookup value] ) ) = [lookup value] )Then create a calculated column in Table1
final = LOOKUPVALUE ( 'Lookup Table'[location1], 'Lookup Table'[lookup value], Table1[lookup value] )Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi QuintonLi
As tested,
In Edit queries, trim and clean columns "STREET" and "SUBURB' in both tables, then add merged columns in both tables
Close&&apply, create a new table
Lookup Table =
FILTER (
CROSSJOIN ( VALUES ( Table1[lookup value] ), VALUES ( Table2[location1] ) ),
LEFT ( [location1], LEN ( [lookup value] ) ) = [lookup value]
)
Then create a calculated column in Table1
final =
LOOKUPVALUE (
'Lookup Table'[location1],
'Lookup Table'[lookup value], Table1[lookup value]
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.