Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date ,Year and Month sequence number generation

Hi Experts,

i have  Data like this

load * inline [

 

YearMonthQuarter
fy151/1/2015fy15q1
fy151/2/2015fy15q1
fy161/3/2016fy16q1
fy161/7/2016fy16q3
fy171/1/2017

fy17q1

];

i want generate a sequence number all the year and month and quarter

here year is having duplicate record i want sequence number like

fy15  is 1

fy16 is 2

autonumber is not giving correct values

pls suggest

5 Replies
eduardo_dimperio
Specialist II
Specialist II

Hi,

I dont understand how you want your numeration, that'll be by year?

What kind output you need, Type 1 or 2?

Output Type 1

YearMonthQuarter Number
fy151/1/2015fy15q11
fy151/2/2015fy15q12
fy161/3/2016fy16q13
fy161/7/2016fy16q34
fy171/1/2017

fy17q1

5

Output Type 2

YearMonthQuarterNumber
fy151/1/2015fy15q11
fy151/2/2015fy15q11
fy161/3/2016fy16q12
fy161/7/2016fy16q32
fy171/1/2017

fy17q1

3
el_aprendiz111
Specialist
Specialist

Hi,

tmp:
LOAD *, AutoNumber(Quarter & 'Quarter') as nw;
load * inline
[
Year,Month,Quarter
fy15,1/1/2015,fy15q1
fy15,1/2/2015,fy15q1
fy16,1/3/2016,fy16q1
fy16,1/7/2016,fy16q3
fy17,1/1/2017,fy17q1
]
;
idqr.png

Anonymous
Not applicable
Author

i have 3 period tables when I apply same , it is giving alternate number but I want see only sequence number

Anonymous
Not applicable
Author

I want generate unique number for month ,quarter and year separately and unique number

when I have 3 tables autogenerate  wont work properly this way

Anil_Babu_Samineni

Expected result from given data?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful