title: New demand generation from available in the form of buckets
body: <p>I have a requirement where in there are forecasted values of few offices which are linked to one main office.
  For example,office 1,office 2, office 3 are linked to mainoffice.Forecasted values are for entire month.Now I need to use some formula to create demand for mainoffice based on its link offices.</p>
  
  <pre><code>          1     2    3     4    5                                 28   29    30 
  office1   100  200  300  150   120                               100   130   160
  
  office2   200  100  150  200   130                               160   120   100
  
  office3   400  350  200  400   260                               100   130   200
  </code></pre>
  
  <p>now main office in the month
  required output -  ((officetotal1+officetotal2+officetotal3)/30)*5</p>
  
  <p>This same value has to be put in the form of 3 buckets for month
  i.e 1st 11th and 21st </p>
  
  <pre><code>             1                         11                           21
  mainoffice1   X                          X                           X
  mainoffice2   Y                          Y                           Y
  </code></pre>
  
  <p>Mapping
  office       mainoffice
  ------       ---------
  office1      mainoffice1/n</p>
  
  <p>office2      mainoffice1/n</p>
  
  <p>office3      mainoffice2/n</p>