Need help to filter rows using slice

I have two tables.
Table one name โ€œDataโ€, with a column named โ€œStatusโ€. Column Status have few values such as โ€œOpenโ€, โ€œCloseโ€, โ€œPendingโ€.
Table two name โ€œFilterโ€ with a column named โ€œFilter.keyโ€ and a column named โ€œFilter.valueโ€.
The value of column โ€œFilter.valueโ€ is enumlist in this data format โ€œOpen , Pending , ElseValueโ€.
I can retrieve the data in โ€œFilter.valueโ€ column by this expression
LOOKUP ("search.value", "Filter", "Filter.key", "Filter.value")
and I believe that the return value is text in this format โ€œOpen , Close , ElseValueโ€

Using Slice, I can list all rows in table Data with Status: Open, Pending as below:
IN ([Status] , LIST("Open","Pending"))

but I am unable to archive what i want with following expression:
IN ([Status] , LOOKUP ("search.value", "Filter", "Filter.key", "Filter.value"))
or this
IN ([Status] , SPLIT(LOOKUP ("search.value", "Filter", "Filter.key", "Filter.value"), " , ")

What should I do in this case?

0 1 543
1 REPLY 1

Steve
Platinum 4
Platinum 4

The first argument to LOOKUP() should be the value you want to find as an expression. Your examples suggest you may be trying to supply the name of a column as a quoted string ("search.value"), which wonโ€™t work. If search.value is the name of a column, try LOOKUP([_THISROW].[search.value], "Filter", "Filter.key", "Filter.value").

Top Labels in this Space