Vizlib filter with condition
I am having hard time trying to use a conditional statement for the filter. Please help!
I have couple value that I want to display on the filter button.
If A+ and B+ then "TypeA+/TypeB+"
If A+ and B- then "TypeA+/TypeB-"
If A- and B- then "TypeA-/TypeB-"
If A- and B+ then "TypeA-/TypeB+"
so far I can only made it work with two
if(match(type='A+' and type='B+', type='A+' and type='B-'), 'TypeA+/TypeB+', 'TypeA+/TypeB-)
if I add another condition in there I will get Error in expression: if takes 2-3 parameters. Any suggestion? Thanks!