Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
dmxmikey
Creator
Creator

How to define week numbers

I would like to define my week nos fo my sales, so that if invoice date is between certain dates in the attached csv file, the sales are reported in relevant week eg invoice date 28/12/2015 as week 1.

Thank you

4 Replies
marcus_sommer

You could use week([invoice date]) and if it's not exactly fits to your requirement you implement a small offset or an adjustment with a if-loop.

- Marcus

sunny_talwar

Try not to create duplicate threads for the same requirement: Calculating Week numbers

dmxmikey
Creator
Creator
Author

I currently load the invoice date from Database, so do i need to load the csv to Qlik?

marcus_sommer

My suggestion is unrelated to from where the data are coming from. If you could access your database directly from qlikview you didn't need the detour to the csv.

- Marcus