Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to use a variable in my Set Analysis.
I created the variable Tomorrow by defining it as Today () + 1
Then I use the following expression:
= Sum ({$ <delivery_date = {'$ (= Tomorrow)'}>} QuantityProduction) but I can not get consistent values
Can someone help me?
Jorge
Thank you all !! I discovered my error. I had badly defined the variable Tomorrow in the script
May be this?
= Sum ({$ <delivery_date = {'$ (Tomorrow)'}>} QuantityProduction)
Remove = symbol in variable or use two $ symbol around variable
Try Using
= Sum ({$ <delivery_date = {"=$ (= Tomorrow)"}>} QuantityProduction)
What is your date format for your delivery_date?
= Sum({< delivery_date = {"$(=Date(Tomorrow, 'Yourdeliverydateformat here')"} >} QuantityProduction) like
= Sum({< delivery_date = {"$(=Date(Tomorrow, 'MM/DD/YYYY') " } >} QuantityProduction)
You can try this:
In the load script or variable editor:
Let Tomorrow = Date(Today(1)+1)
Expression:
=Sum ({<delivery_date = {'$(Tomorrow)'}>} QuantityProduction)
Thanks for your help, but it throws me a zero value
Thanks for your help, but while it gives me correct results for the Tomorrow variable, it gives me the same results for the variable Past Tomorrow which is incorrect
I throw the following error: "Error in set modifier ad hoc element list; ',' or ')' expected
Thanks for your help, but it throws me a zero value
How is your date displayed? mm/dd/yyyy ???