This content has been marked as final. Show 2 replies
I''m trying to filter records that are older than jan 01 2013 in the script dynamically i.e. conceptually something like filter sale_date > = year(today()-1),
Let vMaxdate =Year (today);
where year (sales_order_date) >= $(vMaxdate) -1;
My requirements are as follows:
I do not want to hard code 01/01/2013 in the script , it has to be dynamic.The dashboard shows data from this year and last year.
It has to be neat and elegant and has to be done in the script editor and not front end.