I have a parameter field (static) where are two values: XX and YY and field allows multiple values. And code in selection formula is:
if {?department} = "XX"
then {WORK_ORDER.DEP_CODE_C} in ["AAAA", "BBBB"]
else if {?department} = "YY"
then {WORK_ORDER.DEP_CODE_C} in ["AAAA", "CCCC"]
Problem is that when I choose both values XX and YY in parameter field report shows only values for XX. I think I should change my code in selection formula somehow?
if {?department} = "XX"
then {WORK_ORDER.DEP_CODE_C} in ["AAAA", "BBBB"]
else if {?department} = "YY"
then {WORK_ORDER.DEP_CODE_C} in ["AAAA", "CCCC"]
Problem is that when I choose both values XX and YY in parameter field report shows only values for XX. I think I should change my code in selection formula somehow?