COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: NewGuy1983 on 20 Feb 2019 07:31:50 AM

Title: Conditional Visualization rendering
Post by: NewGuy1983 on 20 Feb 2019 07:31:50 AM
Hello,

I have some table rows that contain different charts and I want to hide and show different table rows based on the results from the query.

Ex: One table row contains multiple combination charts. I would like to display different charts if the results returned are less than a certain number.

What is the best way to go about this? Javascript or would I have to put a singleton at my table row level. Also trying to limit the number a calls to the database.

Thanks.
Title: Re: Conditional Visualization rendering
Post by: neha_cognos on 22 Feb 2019 01:41:52 AM
if your requirement is just to render multiple visualization based on some condition then your can achieve it through render variable .

within the expression you need to write your condition and map it with your all visualization