Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there anyway that i can change this expression to automatically calculate 14 days back?
Thanks
Expression:
let vFromDate=floor(Date#('2014-04-10','YYYY-MM-DD'));
Not sure if understood right. May be like:
Let vBackDate=Num(Today()-14); // now you can replace today() with any date. Integer 1 is equivalent to 1 day.
Here you go
vFromDate=floor(Date#('2014-04-10','YYYY-MM-DD'))-14;
Never Mind, Figured it Out...
let vFromDate=date(floor(today()-14))
Date(floor(Date#('2014-04-10','YYYY-MM-DD'))-14,'YYYY-MM-DD')