Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I must calculate stock on two given dates. Set analysis are
Sum({1<Date={"<=$(vFirstDate)"}>}Quantity)
Sum({1<Date={"<=$(vSecondDate)"}>}Quantity)
Both results are always same despite different dates.
Any ideas?
TIA
I have table with posting dates and quantity. If I wish get stock on the certain date I must sum all quantity transactions from first date. My result table must show stock on two different selected dates .
try to exclude other period filters
Sum({1<Date={"<=$(vFirstDate)"}, Year, Month, Quarter>}Quantity)
Sum({1<Date={"<=$(vSecondDate)"},Year, Month, Quarter>}Quantity)
Actually I don't have any other period filter..
How about this?
Sum({1<Date={"<=$(=vFirstDate)"}>}Quantity)
Sum({1<Date={"<=$(=vSecondDate)"}>}Quantity)
or
Sum({1<Date={"<=$(=$(vFirstDate))"}>}Quantity)
Sum({1<Date={"<=$(=$(vSecondDate))"}>}Quantity)
I think you already have identifier as 1, I didn't noticed. But how you are getting the values in both the variables?
From Slide/Calendar object
Thx a lot, first solution works for me
I owe you a beer
What's the address?