If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Displaying different images for different variables - solved

Started by Marvin Falentin, 18 Apr 2017 06:18:50 AM

Previous topic - Next topic

Marvin Falentin

Hey everyone,

in our active report we want to be able to display one of two different images depending on current situation (green for status "ok" and red for "not ok", typical traffic light logic).

How can I best achieve this? Right now I'm experimenting with having the variables declared in my report and two images directly next to each other, each in a cell of a table but it looks weird in the actual report because the "not in use cell" will be blank space and there is always one either left or right depending on the status.

Thank you very much in advance for your help on this topic!

Kind regards,

Marvin

EDIT: using Cognos 11 active report

MFGF

Quote from: Marvin Falentin on 18 Apr 2017 06:18:50 AM
Hey everyone,

in our active report we want to be able to display one of two different images depending on current situation (green for status "ok" and red for "not ok", typical traffic light logic).

How can I best achieve this? Right now I'm experimenting with having the variables declared in my report and two images directly next to each other, each in a cell of a table but it looks weird in the actual report because the "not in use cell" will be blank space and there is always one either left or right depending on the status.

Thank you very much in advance for your help on this topic!

Kind regards,

Marvin

Hi,

You can use a conditional style for this. They are not just limited to colours - you can display images conditionally too. :)

Cheers!

MF.
Meep!

Marvin Falentin

#2
Hey MFGF,

thank you very much for your quick response, conditional styles are working perfectly for me!

Kind regards,

Marvin