Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Store outcome of an expression in a variable

Dear all,

I have the following dataset:

LOAD * INLINE [
ACTIVITY_ID2
1
2
3
]
;

Right now I have a text box that shows the number of ACTIVITY_ID. This works fine but now I would like to store the value in a variable. So I create a variable called varTest with the following:

=count(ACTIVITY_ID2)

But if I want to insert this variable in a textbox now like this:

=$(varTest)

I do get anything. Any thoughts on where this goes wrong?

3 Replies
lakshmikandh
Valued Contributor II

Re: Store outcome of an expression in a variable

Re: Store outcome of an expression in a variable

Try just varTest without the dollar sign expansion

Re: Store outcome of an expression in a variable

or do not use '=' when creating variable.

I

Community Browser