Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Table transform on Script

I've this table:

ID|FIELD_1        |FIELD_2   |FIELD_3

1 |SOLTEIRO     |FEMININO        |NAO

2 |SOLTEIRO     |FEMININO        |SIM

3 |CASADO        |MASCULINO    |SIM

And i need transform this table in (on script time):

FIELD_XX          |VALUE

FIELD_1             |SOLTEIRO

FIELD_1             |SOLTEIRO

FIELD_1             |CASADO

.

.

and so on.

Someone have idea?     

Thanks

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

So you want to transform your crosstable into a straigh table, right?

Try a CROSSTABLE load prefix:

Crosstable (FIELD_XX, VALUE) Load * from ...;

View solution in original post

2 Replies
swuehl
Champion III
Champion III

So you want to transform your crosstable into a straigh table, right?

Try a CROSSTABLE load prefix:

Crosstable (FIELD_XX, VALUE) Load * from ...;

Not applicable
Author

Thank´s Swuehl.

It Works fine.

Sds