Jump to content

BIRT Developer Center Download


Photo
- - - - -

Date parameter result to be previous year


  • Please log in to reply
No replies to this topic

#1 Tinwolf

Tinwolf

    Member

  • Members
  • PipPip
  • 22 posts

Posted 11 August 2017 - 05:16 AM

I have a a couple of very simple parameters setup (`cos simple is all I know how to do) which return a start date and an end date.

How can I use the dates entered to return values which are the same dates from the previous year?

So I`d want to be able to enter 01/01/17 and 31/05/17 to get this year`s data but I would also want to see the data from the previous year without entering 2 new dates.

 

and invoice.taxdate >= ?
and invoice.taxdate <= ?