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

Naming Cognos report dynamically

Started by lifzgud, 28 Apr 2010 12:14:47 AM

Previous topic - Next topic

lifzgud

Hi,
I am preparing a report in which  i have to name the country and date in the report name .
It should be like
Country<Value>IBT<Date>
Is it possible?
I am using 8.2

vinu

Check ParamDisplayValue() function.

lifzgud

But how do i implement that in the Report name?

vinu

#3
Drag Layout Calculation from toolbox in to your Report Header and write a expression ParamDisplayValue('country Parameter name') and ParamDisplayValue('Date Parameter name')

It will be like in your Report Header at Report Name 'Country calculation expression for Country IBT calculation expression for Date'.

calculation expression for Country:ParamDisplayValue('country Parameter')

calculation expression for Date : ParamDisplayValue('country Parameter')

HTH
venu

srinu1253

you can also so this by dragging a text item into the header and change the property to report expression and then put the paramdisplay funtion of the coutry prompt ....

actcognosuser

Hi Srinu,
               The param display value holds good only for the report header but not the actual report name.
Is there a way to change the report name at runtime?or append a timestamp while sending it out via email?

mrcool

Hello All,

Any one got solution for this?I have same requirement.
@actcognosuser 
Please let me know if you have got solution for this.

Cheers
Mrcool

eliza_jane

Try bursting the report. You can use a dummy data item for the burst group such that you get 1 report output and create a data item with the required dynamic name logic that can be used for report label.