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

Function in a Variable

Hi

I have a pivot chart where I display data group by Technician's teams , per technicians ...

In the expression I use a function stored in a variable  "=$(vBcPossible)"

this variable should make the calculation for each row (when I expand  the pivot) but now It always display the result for ALL the lines display . So I have a SUM for the total Team , and not per technician

the function is doing a SUM based on condition

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

Remove the '=' sign in the variable defintion. Having equal sign in here forces QlikView to evaluate the expression first and then pass the result into the chart. Without it it will interprate expression per dimensions.

Regards,

Janusz

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,

Remove the '=' sign in the variable defintion. Having equal sign in here forces QlikView to evaluate the expression first and then pass the result into the chart. Without it it will interprate expression per dimensions.

Regards,

Janusz

jagan
Luminary Alumni
Luminary Alumni

Hi,

Remove = sign in the variable declaration, if you give = it will evaluate the expression, that is why you are getting the same value for all the rows.

Regards,

Jagan.

Not applicable
Author

perfect , now I understand and it's logic