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: 
Not applicable

Create a simple table like a pivot table

Don't know how to do this ?

Thanks

C__QlikView_TEST.png

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You should create a numeric order number field in your script:

LOAD

     Order,

     keepchar(Order,'0123456789') as OrderNum,

     ...

Then you can use e.g. for 1. orders:

=FirstSortedValue(Order,OrderNum,1)

and second orders:

=FirstSortedValue(Order,OrderNum,2)

See also attached.

View solution in original post

2 Replies
swuehl
MVP
MVP

You should create a numeric order number field in your script:

LOAD

     Order,

     keepchar(Order,'0123456789') as OrderNum,

     ...

Then you can use e.g. for 1. orders:

=FirstSortedValue(Order,OrderNum,1)

and second orders:

=FirstSortedValue(Order,OrderNum,2)

See also attached.

Not applicable
Author

Thank you very mutch. This is exactly that i want