COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: adpruett on 01 Dec 2008 12:55:49 PM

Title: Date Comparison Text Prompt
Post by: adpruett on 01 Dec 2008 12:55:49 PM
I am comparing 2 dates.... current_date - [Release Date]... to create an aging data item

I want to then create a text prompt that includes only days while using that aging data item.

How can I create a text prompt that uses only days when writing my filter in the query?

Right now, my filter is as follows.... [Aging] >= ?Aging?
Title: Re: Date Comparison Text Prompt
Post by: nonooo on 04 Dec 2008 08:54:38 AM
are you using dimensionnaly datasource or sql datasource ?

in sql you must have a prebuilt function... in dimensionnaly you have function head (<set> , <nb>) where <set> will be the day level and nb is your ?aging? prompt (I do not say this is the proper way to do it, but it should work)