COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: cognostechie on 27 Oct 2006 07:40:15 PM

Title: [Solved] Markers in Dashboard
Post by: cognostechie on 27 Oct 2006 07:40:15 PM
Guys:

Guys:

I have to make a report like this:

ProductsÃ,  Ã,  (^, 1200), (^, 345)

This would be to indicate that the sales for a product went up/down during a certain time period. Is there a way to achieve this?Ã, 

Would really appreciate your help.
Thanks
Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 

Title: Re: Markers in Dashboard
Post by: cognostechie on 07 Nov 2006 11:50:48 AM
Found the solution.
Title: Re: Markers in Dashboard
Post by: BIsrik on 14 Nov 2006 04:48:54 AM
plz share ur solution and update the status of the topic as [solved]

srik
Title: Re: Markers in Dashboard
Post by: cognostechie on 22 Nov 2006 09:34:46 AM
Here's the solution:

Made a list report, took out the borders, formatted to look pretty, inserted 'image' as a column, then pointed that image column to read a .gif file which is an arrow and made it a report expression to read an UP arrow if measure is positive (measure is previous column in the list report), DOWN arrow if measure is negative. Those arrows pointing upward/downward (UP/DOWN arrows) are diferent gif files. There are 4 relative time categories as measures and four arrows linked to them.


Title: Re: [Solved] Markers in Dashboard
Post by: fedix on 07 Feb 2007 07:58:27 AM
Sorry cognostechie but I haven't understand how to create this kind of column. Can you re-explain?

Many thanks
Title: Re: [Solved] Markers in Dashboard
Post by: nonooo on 08 Feb 2007 06:26:29 AM
you have to create a dataitem with the expression Current_Year - Previous_Year
sign of this dataitem will show the evolution...

if that works you can edit this dataitem with something like this:

if ((current_yer - prev_year)> 0) then
('../images/uparrow.gif')
else
('../images/downarrow.gif')

and you add a column with an image inside (url of image is of course your new dataitem...)
Title: Re: [Solved] Markers in Dashboard
Post by: fedix on 09 Feb 2007 02:09:25 AM
Quote from: nonooo on 08 Feb 2007 06:26:29 AM
you have to create a dataitem with the expression Current_Year - Previous_Year
sign of this dataitem will show the evolution...

if that works you can edit this dataitem with something like this:

if ((current_yer - prev_year)> 0) then
('../images/uparrow.gif')
else
('../images/downarrow.gif')

and you add a column with an image inside (url of image is of course your new dataitem...)

many many thanks for the reply.

bye
Federico