Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
Can i add variables in expressions? if so how?
What am i doing wrong?
Sum({<PRODUCT={"xxxxxxx"},SID_MONTH={$('vMonthPreviousX12')}>}Value)
//vMonthPreviousX12
Hi Lak,
If you are using this in script try some thing like this:
let varPrev = year(today())&num(month(addmonths(today(),-1)));
load *;
SQL SELECT *
FROM db.table
WHERE field > '$(varPrev)';
Thanks Guys, i'll try this later on or tomorrow and let you guys know how i get on.