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: 
nareshthavidishetty
Creator III
Creator III

hard code ID

Hi,

We need to create an ID like

ID = 90001,90002,9003...................

I have used 9000+rowno()


but it gives some random results like 9006,90010......


Thanks..

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Then it would seem that something is removing the other lines, such a a join later in the script.

RowNo() is a count of the output from the load statement. RecNo() is a count of the input and can be affected by a where clause.

I suggest that you post more information about your load script if you would like more detailed help.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

7 Replies
sunny_talwar

May be try with RecNo() and see if that helps?

9000 + RecNo()

jonathandienst
Partner - Champion III
Partner - Champion III

Do you mean in script or in a chart/table?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
nareshthavidishetty
Creator III
Creator III
Author

In Script

nareshthavidishetty
Creator III
Creator III
Author

Hi,

Both gives same results.

Please find below.

Capture.PNG

Thanks..

jonathandienst
Partner - Champion III
Partner - Champion III

Then it would seem that something is removing the other lines, such a a join later in the script.

RowNo() is a count of the output from the load statement. RecNo() is a count of the input and can be affected by a where clause.

I suggest that you post more information about your load script if you would like more detailed help.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

Do you have where clause or Left/Right Joins/Keeps?

nareshthavidishetty
Creator III
Creator III
Author

yes! We have left join.