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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
zagzebski
Creator
Creator

Renaming a field with a variable

Is it possible to rename a field with a variable some thing like:

Date as [Update Date-]&$(vTableName)

Basically I want the name of the field to be "Update Date-Revenue" as an example. (The variable in this example being "Revenue")

Thanks in advance,

Steve

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Yes then write like below script and do not use & String concatenation symbol write variable name only $(vTableName) with filed name for more see example.

Let vTableName = 'Revenue';

Load

Date as UpdateDate_$(vTableName)

From Location;

Regards

Anand

View solution in original post

2 Replies
its_anandrjs
Champion III
Champion III

Yes then write like below script and do not use & String concatenation symbol write variable name only $(vTableName) with filed name for more see example.

Let vTableName = 'Revenue';

Load

Date as UpdateDate_$(vTableName)

From Location;

Regards

Anand

zagzebski
Creator
Creator
Author

So simple! Thanks!