COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: kapil on 20 Oct 2005 02:22:28 AM

Title: [Closed] Drill through value passed
Post by: kapil on 20 Oct 2005 02:22:28 AM
I have two reports - parent and child
parent report has a text item as date, which when i chooses comes as :

Date : Aug 12 , 2005

When i drill through and goes to child report which also has date text item, it changes to:

Date : 2005-08-12

How shud i ensure that i get same format in child report as well?
help
Title: Re: drill through value passed
Post by: sir_jeroen on 20 Oct 2005 02:23:33 AM
Have you thought about setting the date format?
Title: Re: drill through value passed
Post by: kapil on 20 Oct 2005 04:54:56 AM
i have included date like this in my parent report:

'Promised Date ' +  IF(ParamDisplayValue("Parameter1")=ParamDisplayValue("Promise Date Key")) then (' On '+ ParamDisplayValue("Parameter1") ) else (' Between ' + ParamDisplayValue("Parameter1")+ ' And ' + ParamDisplayValue("Promise Date Key"))

and same in child
in parent when i select dates from promt , i get format as eg.  Aug 10 , 2000

but when i drill thru to child report
it doesnt accept the default format
and make it
2000-08-10

pls advice
date format in child report shud i work on?




Title: Re: drill through value passed
Post by: sir_jeroen on 20 Oct 2005 05:57:51 AM
What is the displayvalue of your parameter and what is the value?
Eg.  if you have 1 = Yes and 2 = No then Displayvalue for 1 = Yes and value = 1