Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9071

Re: Routine for WEEK to MONTH SALES calculation

$
0
0

Hi Tooshar,

 

Suppose,

 

W1 01.01.2014 to 05.01.2014

W2 06.01.2014 to 12.01.2014

W3 13.01.2014 to 19.01.2014

W4 20.01.2014 to 26.01.2014

W5 27.01.2014 to 02.02.2014

 

W6 03.02.2014 to 09.02.2014

and so on

 

Till W5 client is considering month1 data.

And i have been given conversion logic of sales depending on which day last day of month comes.

 

So: W1 + W2 + W3 + W4 + W5(58% of sales value) will go to first month

rest 42% will go for calculation of sales for next month.

 

Data will be available in BI Data Source, so i have to write routine to convert to month data.

 

Kindly help me with which routine will surve my purpose.


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>