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.
tuxo9999
New Contributor II

Expression name Variables

Hello,

I have in a table i have the value of different indicators this way:

  

TYPEVALUE
UNITS3
UNITS_OBJECTIVES5
COST5
COST_OBJECTIVES7

The problem is that there may be changes so i do not want to work to change all the variable expressions.

I would like to know if it is possible in the scrip to do something like this.

if type = units_objectives then type = objective_units.

With this i want to do some variables with objective_units, and if the given name changes i just have to change in the script once, reload and have everything ok.

thank you

pd: i have more than 4 types of indicators.

Community Browser