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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

Rank Date

Dear All,

here is my Case :

have a data contains Dates Monthly my concern is to rank the date (in the Script)

Objective: to compare this month with the previous month.

Case :

   

AccountDateProduct Bucket
1Dec-16Car L0
2Dec-16Car L1
1Jan-17Car L1
2Jan-17Car L0
1Feb-17Car L2
2Feb-17Car L1

Ranking:

   

DateRank
Dec-161
Jan-172
Feb-173

Output:

   

AccountBucket Current Month Bucket Previous Month Rank
1011
2101
1122
2012

Hope you can help Thank you,

0 Replies