Count if with list

Hi , i have a column tipe LIST , where in each cell can be stored a list of value ( enum-list) that refers to another table

i need to count in that column how many times a certain value ([value-to-check]) from table2 is present

i have an expression like that
count(select( Table[column], in(table2[value-to-check],Table[column])))

but does not work

0 5 732
5 REPLIES 5

Steve
Platinum 4
Platinum 4

Where are you attempting to use this expression? Iโ€™d guess in a virtual column in table 2?

yes, i explain better with photos the problem is that column is enum_list :
2X_0_0826c53caca83f8d2684847b53e1253814867f4d.jpeg 2X_8_853bd9485913ec1413c5b7c4798ad12ef3a3a046.jpeg

i try also contains formula , not working

Assuming the KEY value can only occur once in any given Materialli column value, youโ€™re actually counting the number of rows in table 2 that have a Materialli column that includes table 1โ€™s KEY column value:

COUNT(FILTER("Table 2", IN([_THISROW].[KEY], [Materialli])))

Thank You it works goodโ€ฆ
my foult to not consider " IN([_THISROW].[KEY], [Materiali])"

Top Labels in this Space