Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
arsenal83
Contributor

square brackets in variable name

Hi,

In my data source I have a variable with square brackets in name - 'NET PROFIT [USD]'

I need to rename this variable in loading stage, how should I do this?

L

1 Solution

Accepted Solutions
chrwolf64
Contributor III

Re: square brackets in variable name

Use it with apostrophes: "NET PROFIT [USD]"

6 Replies

Re: square brackets in variable name

variable or field value?

buzzy996
Honored Contributor II

Re: square brackets in variable name

are u tried this way, Team[UK] as Team ?

arsenal83
Contributor

Re: square brackets in variable name

the name of the column in my data source

chrwolf64
Contributor III

Re: square brackets in variable name

Use it with apostrophes: "NET PROFIT [USD]"

Chanty4u
Esteemed Contributor III

Re: square brackets in variable name

try with double quotes

Re: square brackets in variable name

or even this should work, I think

NET PROFIT [[USD]]


Look here for escape sequence: Escape sequences

Community Browser