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: 
chiso_chiso
Creator
Creator

Renaming fields of data in Crosstable

Gurus,

Kindly advise if it is possible to rename Data fields in a crosstable.

I have two rows of headers that are making up the data for my crosstable. I want to rename the fields in one of the rows that is making up the header.

Please assist

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, use a preceding load to change the field name:

Example:

Crosstable(K,V)

LOAD A, B as Q, C as R, D, E, F;

LOAD * INLINE [

A, B, C, D, E, F

X, 1, 2, 3, 4, 5

Y, 9, 8, 7, 6, 5

]

;


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, use a preceding load to change the field name:

Example:

Crosstable(K,V)

LOAD A, B as Q, C as R, D, E, F;

LOAD * INLINE [

A, B, C, D, E, F

X, 1, 2, 3, 4, 5

Y, 9, 8, 7, 6, 5

]

;


talk is cheap, supply exceeds demand
chiso_chiso
Creator
Creator
Author

Thanks Gysbert..!

chiso_chiso
Creator
Creator
Author

Hi there, I am trying to rename some healders in my 2nd row of headers but not successful. could you please guide with an example?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

What do you mean by 2nd row of headers? When data is loaded from a source table there can only be one row with field names.


talk is cheap, supply exceeds demand