You are on page 1of 1

Creating Data During Reload

Include AUTOGENERATE
During script execution, the statements in the external file are substituted for AutoGenerate instructs the preceding LOAD block to execute a set number of
the include statement, and executed as if they were directly located in the times
data load script of the app

ID RandomNum One
TableName:
LOAD 1 0.90761948330328 1
ROWNO() AS ID, 2 0.31250862265006 1
RAND() AS RandomNum,
3 0.89658267889172 1
1 AS One
AUTOGENERATE 4 0.51915582502261 1

5 5 0.30935776000842 1
;

INLINE RESIDENT
• Small volume of infrequently changing hard-coded data • Enables Qlik Sense to create a copy of any table already loaded at that
• Data which only architect should change point during script execution
• Custom sort orders • Removes the need to re-acquire the same dataset from the
TableName: field_1 field_2 field_3 physical media again
LOAD f1_r1 f2_r1 fn_r1
TableName:
* f1_r2 f2_r2 fn_r2 LOAD
INLINE [ f1_rn f2_rn fn_rn *
field_1, field_2,
field_n RESIDENT
f1-r1, f2-r1, fn_r1 <table name>
f1-r2, f2-r2, fn_r2 WHERE <criteria>
f1-rn, f2-rn, fn_rn ORDER BY <field name>
]; ;
© 2019 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik Cloud®, Qlik DataMarket®, Qlik Analytics Platform®, Qlik NPrinting®, Qlik Connectors®, Qlik GeoAnalytics®, Qlik Core®, Associative Difference®, Lead with Data™, Qlik Data Catalyst™, Qlik Associative
Big Data Index™, Qlik Insight Bot™ and the QlikTech logos are trademarks of QlikTech International AB that, where indicated by an “®”, have been registered in one or more countries. Other marks and logos mentioned herein are trademarks or registered trademarks of their respective owners.

You might also like