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: 
jblomqvist
Specialist
Specialist

What is Load Order in QlikView?

Hello,

Does anyone have an example of what is a Load Order in Qlikview?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Take this load as example:

LOAD * INLINE [

FieldA

B

Z

A

];

The Load Order of the values of FieldA is first B, then Z and finally A. The A-Z text sort order of those same values is A, B, Z. So in this case the load order is different than the A-Z text sort order.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Take this load as example:

LOAD * INLINE [

FieldA

B

Z

A

];

The Load Order of the values of FieldA is first B, then Z and finally A. The A-Z text sort order of those same values is A, B, Z. So in this case the load order is different than the A-Z text sort order.


talk is cheap, supply exceeds demand
jblomqvist
Specialist
Specialist
Author

Thank you Gysbert, so if I wanted to change the load order in the script I could use Order By maybe?

Is there other techniques?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use Order By to change the order, but you'll have to rename the field. Try the example below and after reloading add two listboxes for FieldA and FieldB and set the sort order of both to Load Order.

T1:

LOAD * INLINE [

FieldA

B

Z

A

];

T2:

Noconcatenate

LOAD FieldA, FieldA as FieldB

Resident T1

ORDER BY FieldA desc;

DROP TABLE T1;


talk is cheap, supply exceeds demand
maxgro
MVP
MVP

try this to change sort load order

a:

load * inline [

field

a

b

c

]

;

b: NoConcatenate load field as field1  Resident a order by field desc;

DROP Table a;