Forum Discussion
fhfon
4 years agoRegular Visitor
Lookupvalue between tables with partial text
Hello all, I need a help with the situation below. I have two table: Table1: Part number Description Status 1252 Bearing Critical 993 Filter Non critical Table2: ...
- 4 years ago
fhfon , Try a new column in Table2 like
Maxx(filter(Table1, search(Table1[Description], Table2[Description],,0) >0 ), Table1[Status])
- 4 years ago
Thank you!
This worked as I wanted.
smpa01
Community Champion
4 years agofhfon you can write a measure like this
Measure =
MAXX (
FILTER (
CROSSJOIN (
VALUES ( 'Table 2'[Description] ),
SELECTCOLUMNS (
SUMMARIZE ( 'Table 1', 'Table 1'[Description], 'Table 1'[Status] ),
"_description", [Description],
"status", [Status]
)
),
CONTAINSSTRING ( [Description], [_description] )
),
[status]
)
fhfon
4 years agoRegular Visitor
Thanks! But I could not make this work.