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

Storing the column name in a variable

Hi All,

Can we store the column name in a variable.

If an excel contains 5 columns in it. So in Qlikview, I wish to store the first column name in a variable. Is it possible?

Thanks,

Asma

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, add a line in the script to create the variable and give it a value:

SET vMyFirstColumnName = ThisIsTheNameOfTheFirstColumn;


talk is cheap, supply exceeds demand