Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rolling Of Months for given Data

Hi all,

As i have been attached a excel file  SALESDATA  and i wanted Sum of [Sales amount] with rolling of 3 months

use [Invoice Date] for rolling month purpose.

the problem is the dates which are in [Invoice Date] are not in single form.

pls help me out.

Thanks

5 Replies
sunny_talwar

Are not in single form? What exactly do you mean/

Not applicable
Author

some are lik MM-DD-YYYY

and some M/D/YYYY

Anonymous
Not applicable
Author

Hi

Please find the qvw you want...

I have used following expression for changing different FORMATS.

  Date#(Date([Invoice Date],'MM/DD/YYYY'),'MM/DD/YYYY') as [Invoice Date]

and

MonthInvoice     (please see the QVW)  is the KEY field for SELECTING last 3 months for Rolling  sum

Please check and let me know ..

Not applicable
Author

thanks,

Anonymous
Not applicable
Author

Hi

FYI

Modified PIVOT TABLE

Please mark this as "Answered' if it is okay for you...