Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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