Can i add a repeater filter logic in a variable?

Hi all,

I’m trying to filter a repeater adding some || logic. It works if I use a string as a filter but fails if I use the same string as a global variable value.

Can you tell where it’s going wrong?
Is there any other way of achieving this?

Many thanks in advance!
Evgenia

File:
Multi-facet-filter-test.rp (52.8 KB)

Global variables will be treated as strings.
so your filter

[[FilterLogicVariable]]

equals to

[[" TargetItem.Column0 == ‘Pia Spade’ || TargetItem.Column0 == ‘Thuy Ardon’ "]]

not

[[TargetItem.Column0 == ‘Pia Spade’ || TargetItem.Column0 == ‘Thuy Ardon’ ]]

1 Like

Oh, I wasn’t aware of that.
Thank you!