Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
zhaohaifeng
Contributor III
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 =:Sum({<Time_key={$(v_defaultdate)}>}Sales)


Thanks for your help in advance.


Best Regards,

Haifeng

1 Solution

Accepted Solutions
marcus_sommer
MVP & Luminary
MVP & Luminary

2 Replies
brunobertels
Specialist II
Specialist II

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

marcus_sommer
MVP & Luminary
MVP & Luminary