Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Offset not working on single date entry

$
0
0

Hi,

 

Have requirement as below:

 

User inputs order date. User needs count of all orders which have the order date within the specific time range from the given input date.

 

If its 1st Nov 2013 as entry, then below count should be calculated in the past as last 30 days and last 60 days from the input date i.e., Oct1 to Nov 1 and Sep 1st to Nov 1st etc.,

 

Material  Stock<30    Stock 30 - 60    Stock 60 - 90

 

I would have done this through aging bucket scenarios with exception aggregation but that doesn't help as it calculates only for the given input date and not the range.

 

User input char value: chardate

Tried using offset for Count<30 as Between chardate and chardate-29. 

For 30 - 60 days, chardate-30 to chardate-59

But when executed its asking me to give interval as an input. Same applies to other buckets.

 

Can I try this in CMOD? Or can I implement it without CMOD..If so please correct


Viewing all articles
Browse latest Browse all 8076

Trending Articles