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: 
fredy777
Contributor
Contributor

Error in script

[DATA]:

     LOAD

         '1162'   as IDcounter,

          'IM16706505' as ID,

         date('41485.940335648' + RowNo() - 1) as OpenDays,

         '41485.940335648' as CreationDate,

         '41279.686145833'  as CloseDate   

         AutoGenerate('41279.686145833' - '41485.940335648' + 1)

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Autogenerate parameter must be a positive integer

('41279.686145833' - '41485.940335648' + 1) returns -206

View solution in original post

2 Replies
Clever_Anjos
Employee
Employee

Autogenerate parameter must be a positive integer

('41279.686145833' - '41485.940335648' + 1) returns -206

MK_QSL
MVP
MVP

Yes, Clever is right, USE INTEGER while using AUTOGENERATE