I want a portal to be filtered depending on the value of a global variable. When $$global_variable = 0, the portal should not be filtered. This is what I am currently using to filter the portal:
$$global_variable = 0;
Field_to_be_filetered = "1"
It works fine when $$global_variable is not "0". However, the portal should not be filtered when $$global_variable = 0. I don't seem to make it work.
Any ideas on how to aproach this?