Many times we write case statement in columns and Prompts to populate a hard coded values.
Example:
Case when 1=0 Then Employee.Name else “Value1′ end
Here the first condition would be always false, so it will display the hardcoded value.
So basically we can use any dummy column in Then clause.
Now, what I would suggest is before giving any column name in Then clause, make sure it does not contain any outer joined table in the repository.
Generally while developing, we don’t see this but I am suggesting you based on my experience.
In my project I had similar case, where one of the prompt was using a dummy column which had 5 outer joined tables in the repository and just for fetching 2 hard coded values in the prompt it was taking around 20 minutes.
Once I changed the dummy column, the performance improved drastically.