hello,
if you want to display it monthwise then you need to create 12 formulas for dat...one formula for each month.
use 'month' function to get month number...
following are the field names i hav used...
Start Date:{StartDate}
End DAte:{EndDate}
Amount:{Amount}
in january formula code will be:
if (Month({StartDate}) <= 1 and Month({EndDate}) >= 1) then {Amount} else 0
in February formula code will be:
if (Month({StartDate}) <= 2 and Month({EndDate}) >= 2) then {Amount} else 0
in March formula code will be:
if (Month({StartDate}) <= 3 and Month({EndDate}) >= 3) then {Amount} else 0
and so on....
then create one formula to get total of all...
code:
place each formula next to each oder and u'll get the output...
kindly let me knw if it is useful...okies...al da best!!
Edited by Crystal Bee - 06 Sep 2010 at 11:49pm