Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

zhaohaifeng
New Contributor III

Set analysis

Hi Folks,

One question regarding set analysis and variable need your help.

Sometimes we need to add = before variable for set analysis, sometimes we cant add=. So my concern is that what condition need we add = and when we dont need.

For example below:

have=: Sum({<Time_key={=$(v_defaultdate)}>}Sales)

dont have =Smiley Frustratedum({<Time_key={$(v_defaultdate)}>}Sales)


Thanks for your help in advance.


Best Regards,

Haifeng

Tags (1)
1 Solution

Accepted Solutions

Re: Set analysis

Take a look here: The Little Equals Sign

- Marcus

2 Replies
brunobertels
Valued Contributor

Re: Set analysis

Hi

If your variable store an interger or string ( Eg '220' or 'New York') you Don't need = sign

If your variable is a mesure ,(Eg sum(Sales) )  then the variable need to be evaluate , therefor you need an equal sign

Bruno

Re: Set analysis

Take a look here: The Little Equals Sign

- Marcus

Community Browser