Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
patrou38
Creator
Creator

Variable to update

hello,

I'm wondering If it's possible to set a variable with the expression result.

I tried directly with the set function without success 😞

thank you in advance

patrick

13 Replies
patrou38
Creator
Creator
Author

hello,

my Text is not in the text chart but in the 'title in the chart, in general menu'.

=choice2 &' % lot in hold <= 3 days'

and before the sympbol '%' I would like to put the result of my expression which is equal to 39% in this case.

my expression is :

=round(count({<Availability={'WIP'},[Product Type Code]={'DI'}, [Hold Status]={'HOLD'}, Division={$(choice2)}>} [Lot number]))/
round(count({<Availability={'WIP'},[Product Type Code]={'DI'}, Division={$(choice2)}>} [Lot number]))

and my dimension :

=if(Ceil(CutOffDate-[Last Op Move In])<=3,1).

if I put my expression as it is, it's working but the number is wrong because it doesn't take my dimension into account.

hopping that you understand my problem.

Regards,

Patrick

vishsaggi
Champion III
Champion III

It is now time to share your sample app, it is tough to give you assuming answers coz i am not sure until i have something to work on? Can you scramble your data and send me your sample app?

vishsaggi
Champion III
Champion III

Can you use

= '$(choice2)' &' % lot in hold <= 3 days'

patrou38
Creator
Creator
Author

hello,

the variable "choice2" works properly. what I would like to stock on another variable is the result of my expression taking into account my dimension.

do you have any idea of how I can do that ?