Ok, let’s try this again and hopefully I can better explain my question. I am using XIR2 Webi and I have created a Universe object called “State” with the following CASE statement:
CASE
WHEN tablename.columnname = ‘1’ THEN ‘WV’
WHEN tablename.columnname = ‘2’ THEN ‘GA’
WHEN tablename.columnname = ‘3’ THEN ‘SC’
WHEN tablename.columnname = ‘4’ THEN ‘AL’
WHEN tablename.columnname = ‘5’ THEN ‘NC’
WHEN tablename.columnname = ‘6’ THEN ‘VA’
WHEN tablename.columnname = ‘7’ THEN ‘FL’
WHEN tablename.columnname = ‘8’ THEN ‘TN’
WHEN tablename.columnname = ‘9’ THEN ‘KY’
ELSE "
END
It is working properly and the report is prompting the user to choose one of the ‘State’ names in the list.
I need to add a ‘Regional’ to the list of prompts which is (2,3,4,5,6,7,8,9) everything EXCEPT 1.
When I add the following:
WHEN tablename.columnname IN (‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’)THEN ‘REGIONAL’
in the line above ELSE ", it does not show up because on of the prior has already been true.
If I add: WHEN tablename.columnname IN (‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’) THEN ‘REGIONAL’ in the second line of the CASE, then ONLY ‘WV’ and ‘Regional’ show up in the prompt and I need ALL to show up PLUS the ‘Regional’
Is there a way to add this ‘Regional’ prompt?
bohonkus (BOB member since 2008-04-10)