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

Week to date logic

Started by pammassey, 05 May 2017 01:25:26 PM

Previous topic - Next topic

pammassey

Has anyone been able to figure out the logic for week to date, standing on yesterday's date, and using Monday as day 1?
Thanks.

Ravisha

[Week Start Data Item]
Week Start Date : _add_days (current_date, (_day_of_week (current_date, 1) -1) *-1)

[Week End Data Item]
Week End Date: _add_days (current_date, - 1)

You filter would look like...

[Your Date Column] BETWEEN [Week Start Data Item] AND [Week End Data Item]

hope that helps!