Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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