COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Topic started by: Arsenal on 14 Aug 2007 08:52:12 AM

Title: Dynamic Report Header
Post by: Arsenal on 14 Aug 2007 08:52:12 AM
Hey guys,

I need to have a part of the report header(report based on relational FM model) based on the parameter being passed from a cube in Analysis Studio via drill through.

So, for example, if the parameter which is to drive the header has a value of New York, I need the following:

Cognos Corporation
New York, USA

Similarly, if the parameter has a value of Maine, I would need:

Cognos Corporation
Maine, USA


I thought we could do it by dragging a layout cal and having something like paramdisplayvalue contains york (etc.), but that keeps giving me a parsing error

Any other suggestions?

Title: Re: Dynamic Report Header
Post by: COGNOiSe administrator on 28 Aug 2007 05:05:39 PM
You should be able to creat an optional parameter in the destination report, then create a conditional header based on the parameter value.