Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have created 2 variables to figure out last month start date and End Date. Both this variables are working fine at script level but in Expression these variables are not working. Though expression is not throwing syntax error at front end I am not getting any value. Below given is the expression. I have attached screen-shot as well.
Sum({<PAYOUT_DATE={'>=$(vStartDate)<=$(vEndDate)'},CONSIDER_NOT_CONSIDER={"CONSIDER"}>} PAYOUT_AMT)/10000000
Can you pl help to resolve issue.
Thanks in advance.
Hi,
Double quotes resolved the issue for me
Sum({<PAYOUT_DATE={">=$(vStartDate)<=$(vEndDate)"},CONSIDER_NOT_CONSIDER={"CONSIDER"}>} PAYOUT_AMT)/10000000
Thanks
The syntax isn't quite right - try it in this way:
... PAYOUT_DATE={">='$(vStartDate)'<=$(vEndDate)'"},CONSIDER_NOT_CONSIDER={'CONSIDER'} ...
Further the date-format from the field and the variables must be equally.
Hi,
Double quotes resolved the issue for me
Sum({<PAYOUT_DATE={">=$(vStartDate)<=$(vEndDate)"},CONSIDER_NOT_CONSIDER={"CONSIDER"}>} PAYOUT_AMT)/10000000
Thanks
The syntax isn't quite right - try it in this way:
... PAYOUT_DATE={">='$(vStartDate)'<=$(vEndDate)'"},CONSIDER_NOT_CONSIDER={'CONSIDER'} ...
Further the date-format from the field and the variables must be equally.
Thanks Marcus_sommer,
Got it.