If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

12 Months Rolling Data

Hi,

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.

Re: 12 Months Rolling Data

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

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.