Forum Discussion
_Martin123
2 years agoFrequent Visitor
Lookup string value from unrelated table in ranked order
Hi Community, I need your support. I have two unrelated tables, where Table 1 consists of comments made by sales reps, whereas table 2 consists of lookup texts used to group comments in table...
- 2 years ago
CalculatedColumn=MAXX(TOPN(1,FILTER(Table2,FIND(Table2[LookupText],Table1[Comments],1,0)),Table2[textRank],ASC),Table2[Comment group])
- 2 years ago
Comment Group = MAXX( TOPN( 1, FILTER( Table2, CONTAINSSTRING( Table1[Comments], Table2[Lookup text] ) ), Table2[Rank], ASC ), Table2[Comment group] )
ThxAlot
Super User
2 years agoComment Group =
MAXX(
TOPN(
1,
FILTER( Table2, CONTAINSSTRING( Table1[Comments], Table2[Lookup text] ) ),
Table2[Rank], ASC
),
Table2[Comment group]
)