I need your help on below issue.
I have a report, returning the Billing Date and the quantity and I created my own variable KE Wk Range; basically adding 7 days to the billing date.
Now I want to see the total quantity between these days.
My report is showing the billing dates, the KE Wk Range as dates.
I am adding below, however I am getting the total qty and not only the quantity for the next 7 days for each billing date record.
=Sum([NR Tot Qty]) Where ([Billing Date] Between ([Billing Date]; [KE Wk Range]))
make sure that all date-fields are formatted correctly as date.
test every single comparing-step with a simplified formula
and try using <= and >= instead of “between”
For the billing date 12/1 I want to get sum of all values from 12/1 until 12/8 returned in the same line, 139.2 Mu.
For 12/2, the total from 12/2 until 12/9, 146.5 Mu
if there is always the same 7days-distance you can try this:
=RelativeValue([NR Tot Qty];([Billing Date]);1)+
RelativeValue([NR Tot Qty];([Billing Date]);2)+
RelativeValue([NR Tot Qty];([Billing Date]);3)+
RelativeValue([NR Tot Qty];([Billing Date]);4)+
RelativeValue([NR Tot Qty];([Billing Date]);5)+
RelativeValue([NR Tot Qty];([Billing Date]);6)+
RelativeValue([NR Tot Qty];([Billing Date]);7)