Skip to main content Skip to complementary content


The generic prefix unpacks a tall table, creating one field per attribute value. This is similar to pivoting a table, except that it results in a separate table per field created.


Generic( loadstatement | selectstatement )


Tables loaded through a generic statement are not auto-concatenated.



Generic LOAD * INLINE;


Key, Attribute, Value

Bob, Jan, 100

Bob, Feb, 200

Bob, Mar, 300

Kate, Jan, 400

Kate, Feb, 500

Kate, Mar, 600




This will result in 3 tables:


Example 1
Key, Jan
Bob, 100
Kate, 400


Example 2
Key, Feb
Bob, 200
Kate, 500


Example 3
Key, Mar
Bob, 300
Kate, 600

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: