Discussion Board for collaboration related to QlikView App Development.
Hi All,
I have to find sum of sales of previous 7 days when i select a date (including the selected date).
Any idea ?
Regards
Renjith
in expression replace 7 with 6
and copy to text
see the attched file
hope this may helps
Hi,
Try this
Sum({<DateField={">=$(=Max(Floor(Num(DateField))-7)<=$(=Max(DateField))"}>} Sales)
Thanks for the reply, but its not working!!
Sum({<DateField={">=$(=Date(Max(Floor(Num(DateField))-7))<=$(=Date(Max(DateField)))"}>} Sales)
see the attched file
hope this helps
I want it in a text box, i dont know for what reason, it shows the sales only for the selected date, its not returning for 7 days sales.
in expression replace 7 with 6
and copy to text
see the attched file
hope this may helps