There is problem in one of our grouping object( P group ) . According to Business Requirement the definition of grouping object :
Pgroup =
CASE
WHEN P_CD IN ('05','73','74','81','82') THEN 'FYR'
WHEN P_CD IN ('08') THEN 'LTG'
WHEN P_CD IN ('07','77','78','15','61','62') THEN 'WTR'
WHEN P_CD IN ('16','75','76') THEN 'AR'
WHEN P_CD IN ('26','45','60') THEN 'AP'
WHEN PCD IN ('05','08','10','73','74','81','82') THEN 'FYR & LTG'
ELSE 'OTHER'
END
Now the problem is that the same P_CD mark in red are getting gropued in various gp , so Business Objects will only show the grp in the fisrt grp they appear . For eg PCD 08 appear in FYE and FYR a& LTG .
Has any one faced this problem and how they resolved the same .
I though a case statement would only return 1 value, not multiple values.
If you want PCD 08 to return “LTG, FYR and LTG” then you could have a line in the case statement that returns just that. You would then remove PCD 08 frm the other parts of the case statement.