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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Improving Script Performance

Hello,

Looking to inprove the load script within my application, and in particular the below script,

I think its running slower than expected as its checking against a variable for each row (?1),

If there are ANY suggestions on how I could improve this segment please let me know.

Thanks

BR.

LET vToday = num(today());

ControlTemp:

LOAD

id,

Case,

User,

Team,

Date,

[Task 1 Due Date],     

[Task 1 Done Date],   

[Task 2 Due Date],      

[Task 2 Done Date],

[Task 3 Due Date],

[Task 3 Done Date]

From Data.QVD (QVD)

Conversion:

LOAD

'Opportunity' as [Type],

id,

User,

Team,

Date

Resident ControlTemp

WHERE

[Task 1 Due Date] <= $(vToday);

Concatenate

LOAD

'Achieved' as [Type],

id,

User,

Team,

Date

Resident ControlTemp

WHERE

([Task 1 Due Date] <= $(vToday))

AND

([Task 1 Due Date] >= [Task 1 Done Date]);

..... and so on.......

1 Reply
IAMDV
Master II
Master II

Hi BlockRocker,

Please read the below thread for perfomance optimization.

http://community.qlik.com/message/111454#111454

Good luck!

Cheers - Dv