COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: coghost on 04 Apr 2008 06:59:30 AM

Title: Single date prompt, 5 queries
Post by: coghost on 04 Apr 2008 06:59:30 AM
i require a report where the user selects a a date from a single prompt, and this selected date should be applied on 5 queries present in my report, where all the date cols are from different facts.

i have created a date prompt ( ie created a parameter)which is not associated with any query. then i placed a filter on the date cols of all my 5 queries using the created parameter. but i am getting error. need sol ASAP  :(
Title: Re: Single date prompt, 5 queries
Post by: blom0344 on 04 Apr 2008 08:02:23 AM
What's the error? Are you sure that you are matching a date to only date type columns in your queries?
Title: Re: Single date prompt, 5 queries
Post by: coghost on 07 Apr 2008 07:43:24 AM
yes i all the date cols are of datatype DATE ! :(
Title: Re: Single date prompt, 5 queries
Post by: almeids on 07 Apr 2008 08:08:37 AM
So what's the error?
Title: Re: Single date prompt, 5 queries
Post by: coghost on 08 Apr 2008 04:20:56 AM
the result is ...when the report is gettign displayed, no dat is coming at all.only the headers are being shown !
Title: Re: Single date prompt, 5 queries
Post by: blom0344 on 08 Apr 2008 06:03:00 AM
Which may be the result of wrong filters / joins etc. In the stricted sense your report runs without an error, only no data is fetched. Does it return data if you supply a hardcoded value instead of using a prompt?
Title: Re: Single date prompt, 5 queries
Post by: Suraj on 15 Apr 2008 09:05:53 AM
Try casting the date columns to date type.