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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AutoGenerate in nested Load

Can someone explain why this statement:

load

  a;

load

  RowNo() as a

AutoGenerate(10);

behave like this:

load.JPG.jpg

?

1 Solution

Accepted Solutions
arbernardez_old
Partner - Contributor III
Partner - Contributor III

Hello,

You may use RecNo() instead RowNo()

Load

A

;

LOAD

RecNo() as A

autogenerate(10);

Regards

View solution in original post

6 Replies
Not applicable
Author

Hi

PFA...

Not applicable
Author

I don't understand your point.

arbernardez_old
Partner - Contributor III
Partner - Contributor III

Hello,

You may use RecNo() instead RowNo()

Load

A

;

LOAD

RecNo() as A

autogenerate(10);

Regards

Not applicable
Author

Thanks. Now i see what is wrong hire.

Not applicable
Author

See my script

A:

LOAD * Inline [

A,Name,Sales

1,Nirmal,1000

];

LOAD

RecNo() as A

autogenerate(10);

hic
Former Employee
Former Employee

RowNo() is only defined in the topmost Load statement. So, either you move your RowNo() to this Load, or you use the RecNo() function instead.

HIC