index="home2" | bin _time span=1mon | stats sum(AMOUNT) as thismonth by _time | eval finmon=strftime(_time,"%m") | eval previousyear=if(finmon<4,-1,0) | eval finyear=strftime(_time,"%Y") | eval finyear=previousyear+finyear | eventstats sum(thismonth) as financialyear by finyear | eval currentmonth=strftime(now(),"%B") | eval currentmon=strftime(now(),"%m") | eval currentyear=strftime(now(),"%Y") | eval finyear=if(finyear=currentyear,"current","current-".(currentyear-finyear)) | where finmon=currentmon | table finyear thismonth financialyear Same code yesterday i got results for current, current-1,current-2 but now it displaying only current-2 .......today change in the month happend i mean today is july 1st is that the case??
... View more