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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with Rowno()

Hi guys,

I'm facing issue to create rowno based on ID. Please check the below image for your reference what i'm expecting output

rowno should starts with 1 for every new ID.  Please help me out...Capture.PNG

1 Solution

Accepted Solutions
Anil_Babu_Samineni

You can do like below in Preceding Load

AutoNumber(RowNo(), ID) as RowNo

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

View solution in original post

4 Replies
prma7799
Master III
Master III

Please share some sample data....

Anil_Babu_Samineni

You can do like below in Preceding Load

AutoNumber(RowNo(), ID) as RowNo

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
prma7799
Master III
Master III

row.pngOr Please try like this

LOAD * , RowNo();

LOAD *  Inline [

Id,

1,

1,

1,

2,

2,

2,

3,

4

];

daveamz
Partner - Creator III
Partner - Creator III

Hi Siva,

You can use AutoNumber(RecNo(), ID) AS RowNo

Regards,

David