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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If condition

I have Date field in the table

I did some calculation like weekstart(Date) as call_week

now I need to show ' W1' in the place of 1-oct-2015  next 'W2' in the place of 14-oct-2015

2 Replies
swuehl
MVP
MVP

Maybe like

....

NewTable:

LOAD *,

          'W' & Autonumber(call_week,'WeekNum') as WeekNum

RESIDENT YourTable

ORDER BY call_week ASC;

DROP TABLE YourTable;

prashantbaste
Partner - Creator II
Partner - Creator II

Hi Naveen,

You can try 'Ceil (datefieldname / 7)' as Weeknumber and use this 'Weeknumber' field in your charts.

Hope this will be helpful.