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

Grouping dates by week instead of min to max

Started by que1983, 08 Apr 2016 02:43:33 PM

Previous topic - Next topic

que1983

Please see diagram enclosed.  It groups all dates individually from min to max. 

cast([min_lock_date],varchar(10))+' '+cast([max_lock_date1],varchar(10)) this formula produces the minimum date and max date of the lock date.  I want this data item to select the min and max based on one week intervals instead of just one min and max date.  The aggregate function does not allow me to summarize based on another data item so how would I accomplish this in a weekly grouping

BigChris

You probably want to include a _week_of_year calculation in your query.