Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jblomqvist
Specialist
Specialist

What is the best way to create this type of variable? I heard putting an = before a variable expression is bad in the UI?

Hello all,

Is it bad to put an = before an expression inside a variable in the user interface?

For example:

In Variables Overview:

I create a variable called:

vVariableMonth

Inside I put: =Month(Date)

Then I want to use this variable in Set Analysis:

Sum(Month={$(vMonth)}Sales)

What is the best way to write a set analysis like this in terms of performance when using a variable?

I heard putting an = before the expression is bad in the user interface because it impacts the performance. But I am not sure whether this is right or not.

1 Reply
marcus_sommer

AFAIK there is no performance impact if a equal-sign is used or not - but the context in which it is used is very important. See for it: The Little Equals Sign.

- Marcus