Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Custom Sort at script level

Dear All,

As qlikview loads the data bydefault in chronological order at script level, How can i change it to the load oder.

Because of this sorting , i am not able to get the exact data while applying concat function on 2 fields.

Ex: Source,Destination

       A, C

       D, F

       Z, Q

As per my requirement it should give :   Z-F/D-C/A-Q

But after concat it is giving :                 A-Q/D-C/Z-F

I have used the following formulae: concat((Source&'-'&Destination),'/')




Thanks in advance

            

2 Replies
Anonymous
Not applicable
Author

One can sort with the order by clause of a resident load :

load

     Source,

     Destination

resident YourTable

order by Source, Destination ;

anbu1984
Master III
Master III

Load *,RowNo() As RowNo Inline [
Source,Destination
A, C
D, F
Z, Q ]
;

=concat((Source&'-'&Destination),'/',-RowNo)