COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Robl on 12 Jan 2015 04:50:57 AM

Title: Prompt/Condition based Suppression
Post by: Robl on 12 Jan 2015 04:50:57 AM
I have a report that uses a token prompt to alter whcih dimension is displayed as the crosstab columns.
I need to have one dataset with zero/blank columns supressed and one dataset with no suppression.

Is there a way to change this based on a prompt/condition?

My current workaround is to create two different reports and drill between them when changing the column, but I'd rather keep it all in one report if possible.

Thanks.
Title: Re: Prompt/Condition based Suppression
Post by: Lynn on 13 Jan 2015 08:06:52 AM
I don't know of a way to change suppression options conditionally, but you could have two crosstabs in the layout, both referencing the same query, but one with suppression and one without. Then conditionally render only one or the other based on the prompt.