Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
zagzebski
Creator
Creator

Setting Variable with Text Box Trigger vs Field Event Trigger

I am trying to set a variable:

Variable = vVariable1

Value  =If(GetSelectedCount(District)>1,vVariable1,GetFieldSelections(District))

If I create this trigger from a  text box this works perfectly fine. But when I try to do the exact same thing on a field (District) event trigger nothing happens.

Any thoughts?

Thanks,

Z

Labels (1)
1 Reply
shawn-qv
Creator
Creator

You may have to play around with setting the trigger OnSelect / OnChange or (possibl) both.

Alternatively, you may consider moving this condition into the Expression of your chart (instead of using triggers, which may often have unexpected results).

S.