Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Dynamically calculating/marking varying festival period of 50 days for 3 years

$
0
0

Hi fellas,

 

   I am trying to create a report wherein i need to show the sales performance week & day wise for last three years. I am required to create a bucket of 50 days for analysis. Problem is that these 50 days do not falls on same date in all years e.g for 2013, I need to create a bucket of 50 days starting from 1st sept 2013 till 20 oct 2913,for 2014 this bucket will start from 20 sept 2014 till 10 nov 2015 and so on for subsequent years. 

  I am unable to use sameperiodlastyear function else this analysis would have been a piece of cake. Can somebody help me in creating this buckets dynamically year wise as per requirement. Further there is one more thing which i do not want to do & that is to create a calculated column & mark corresponding transaction day in sales table as festival in that column & do that for all the years.

 

   Awaiting ideas & advices.

 

Regards,


Viewing all articles
Browse latest Browse all 213819

Trending Articles