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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Autonumber by group

Hello,

I have a table that contains calendar information. I am trying to apply "autonumber" such that I have sequential numbers for month & year combination. The enclosed file has the calendar table and desired output in column F.

I tried autonumber (Year & Month) but it did not give the right output. It always gives higher priority to month than year. I hope I am clear.

Thanks for any suggestions.

2 Replies
Miguel_Angel_Baeyens

Hello,

I'd try as follows

MonthYear:LOAD StartDate, EndDate, Month, Qtr, Year, AutoNumber(Month & Year) AS Sequential, [Desired Output]FROM File.xls;


Hope this helps

Not applicable
Author

It works! Thanks