Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Yesterday 1

Status
Not open for further replies.

cai21rsh

IS-IT--Management
Jun 24, 2009
1
0
0
US
I am trying to make a report that pulls up only the transactions for the previous day (ie. yesterday). Ideally I would like to set the the report date so that it always computer the new date for "yesterday" so that all users need to do is launch to report.
 
I am trying to make a report that pulls up only the transactions for the previous day (ie. yesterday). Ideally I would like to set the the report date so that it always compute the new date for "yesterday" so that all users who access the report can see the report for yesterday with that date.
Ex: If i generate the report for yesterday,in the report after receive it, it shows the yesterday's date either in the subject line of the mail or at bottom of the report page.
 
Cognos product used?

soi la, soi carré
 
_add_days(current_date,-1) would yield the value for yesterday's date.

as stated in my other reply :)


Ties Blom

 
I assume you have a "Transaction Date" of some kind on your database row.
In the filter for the report add:
[TRANSACTION_DATE] = _add_days(current_date,-1)


SLN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top