I am trying to generate a report where in I should get 12 months rolling data when triggered on that Month ie say when you generate the report in Nov 08, you should get a report from Dec 07 to Nov 08 and so on...
Also the same should be presented in the graph and on cross tab.
Could someone guide me step by step to execute this like, what would be my selection cirteria?
Please check the formula that I have used.
if {CHG_Change.Create-date} in dateserial(year(currentdate-1), month(currentdate)-11, 1)to
dateserial(year(currentdate),month(currentdate)+1, 1)-1 then {CHG_Change.Create-date}
Though the above formula is correct, in one column it gives a blank field.
I would limit my data through the database query.. Syntax for that depends which dbms you are using.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
Bookmarks