Apr 27, 2010 #1 socalvelo Technical User Jan 29, 2006 128 US CR11 Oracle DB I need a formula that will return all dates from {date.field} for last year so I can count incidents occurring last year for a chart //@ incidents last year if {table.date} in LastYear then 1 else 0
CR11 Oracle DB I need a formula that will return all dates from {date.field} for last year so I can count incidents occurring last year for a chart //@ incidents last year if {table.date} in LastYear then 1 else 0
Apr 27, 2010 1 #2 lbass Technical User Feb 9, 2002 32,816 US if year({table.date}) = year(currentdate)-1 then 1 -LB Upvote 0 Downvote