Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

1adam_haj
New Contributor III

Set vs let variable

Hello guys, simple question, what is the difference between Set Variable Statement and Let Variable Statement?
And is there any difference when i will set the variable in the Load in script or in the variable editor ?

Thank´s for answers

1 Solution

Accepted Solutions
OmarBenSalem
Esteemed Contributor

Re: Set vs let variable

To put in very simple words:

Set 5+3 will return 5+3 (the string)

Let 5+3 will return 8 (performs a calculation)

4 Replies

Re: Set vs let variable

check it out here:

QlikView Addict: SET vs. LET

dberkesacn
Contributor III

Re: Set vs let variable

basically: Set stores the value as a text, Let evaluates an expression.

OmarBenSalem
Esteemed Contributor

Re: Set vs let variable

To put in very simple words:

Set 5+3 will return 5+3 (the string)

Let 5+3 will return 8 (performs a calculation)

1adam_haj
New Contributor III

Re: Set vs let variable

Yes, i get it now. Thank´s guys

Community Browser