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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator III
Creator III

Need Help

HI Community,

Variable Event Trigger not working in my Application.

I have created one Trigger, If i am click MonthList field and input field i want to effect to chart..

PFA,

Thanks in Advance...

6 Replies
tresesco
MVP
MVP

Couple of issues :

  • The variable definition could be simplified
  • Trigger field should be DATE rather than MonthList

Not really sure about your exact expected output. May be you can start like I showed in attached sample.

paulwalker
Creator III
Creator III
Author

Hi Tre,

Is it possible to Effect only Variable Event Trigger.

based on MonthList selection and variable..

Expression should be Count({<Date = {'6/29/2015'}>}ID)  or Count(Distinct ID)

I want to effect based on Trigger,... If i am use expression, don't need trigger

is it possible..????

tresesco
MVP
MVP

Sorry, could not get your requirement. Could you explain a bit more?

paulwalker
Creator III
Creator III
Author

Here, we are using this expression in Barchart.

=count(distinct (if($(vMonthList)>=Date-$(v3)  and $(vMonthList)<=Date-$(v4), ID)))

this expression works fine to me... but

if we are using this expression, no need Variable event trigger right?

Actually my requirement i want effect chart based on Trigger...

This expression i am using in Trigger

=if($(vMonthList)>=Date-$(v3)  and $(vMonthList)<=Date-$(v4), DATE)

Chart expression Should be Count(Distinct ID)

is it possible???

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

FYI..................

tresesco
MVP
MVP

I guess there would be a simpler approach to your solution, which could have been suggested with more more info. However, not going into that try trigger expression like:

='('&Concat(distinct if($(vMonthList)>=Date-$(v3)  and $(vMonthList)<=Date-$(v4), DATE),'|')&')'

with v3 and v4

PFA