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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
JustinDallas
Specialist III
Specialist III

QlikSense-Rename Field to Contain '$'-sign

Hello Folks,

Is there a way to rename a field so that it contains a $-sign?  I've got the following test script and it seems to try to expand the dollar-sign.

 

[Test Table]:
Load * Inline
[
'Dummy Column'
1
]
;
Rename Field [Dummy Column] To 'Awarded $(by Compensation)'
;
Exit Script
;

 

Dollar Sign.PNG

 

I would like to see the field name say Awarded $(by Compensation)

I've tried using variables but to no avail.

Any help is greatly appreciated.

Labels (2)
3 Replies
henrikalmen
Specialist II
Specialist II

I'm not sure this will work, or if it is even allowed to have a dollar sign in a field name, but try this:

rename Field [Dummy Column] To [$(='Awarded '&chr(63)&'(by Compensation)')];

 

BrunPierre
Partner - Master II
Partner - Master II

Hi @JustinDallas 

How about creating a variable as such,

LET vRenameField = 'Awarded '&chr(36)&chr(32)&'(by Compensation)';

and then reference the variable in the rename syntax.

Rename Field [Dummy Column] To '$(vRenameField)';
Mathumitha
Partner - Contributor III
Partner - Contributor III

Hi @JustinDallas 

Try this,

Rename Field [Dummy Column] to [Awarded $ (by Compensation)];

Mathumitha_0-1677233957577.png