Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
A user asked me to display in one table, SALES for the current month and SALES for the previous THREE months.
With Dimensions being the "CAR MAKE", "MONTHS" and then one expression "SALES COUNT". I have tried using variables and the AddMonths function etc, but it's not working.
How can I achieve this?
Regards.
Do you want the sum of the sales for the previous 3 months? If so, then use rangesum
rangesum(below(total sum(sales),1,3))
Hi
Try like this
http://community.qlik.com/docs/DOC-4252