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.
Not applicable

how NOT to evaluate dollar-expansion

Hi,

Say that i have the following expression:

vBigMoney = sum($(dateRange)bigMoney)

this $(dateRange) contains, lets say, the date span of YTD based on the current date selection. give text as an input

For some reason (don't ask...) I want to replace $(dateRange) with $(NewdateRange). I just want to replace the two variable and evaluate them later on . so text with text. Qlikview, however keeps on trying to evalute $(dateRange).

Is there away to let qlikview rest and not calculate every time?

4 Replies
Not applicable

Re: how NOT to evaluate dollar-expansion

While creating the variable don't use the "=" on the expression window.

Not applicable

Re: how NOT to evaluate dollar-expansion

I didn't. created the variable in the variables module. without '='

bwisenosimenkg
Valued Contributor

Re: how NOT to evaluate dollar-expansion

Are you trying to change the expression in the Variable Overview?


In that case, make sure that the expression is not defined in the script. If it is defined in the script it will be reset to the script version on reload.

Not applicable

Re: how NOT to evaluate dollar-expansion

I've learned my lesson already. That's why it's only defined in the variable overview

Community Browser