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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
AVINASH22
Contributor II
Contributor II

DOUCUMENT TRIGGER

In my dashboard i have 5 years of data.Requirements is that on open the dashboard, recent year data and previous year data is to be selected...so how to implement this by using trigger.

Labels (1)
1 Solution

Accepted Solutions
Claudiu_Anghelescu
Specialist
Specialist

1. Create 2 variables:

  max1=max(Year)

   max2= max(Year)-1

 

2. Trigger -> Select in field:

 Year

='(' & $(max1) & '|' & $(max2) & ')'

 

 

See my attached sample.

To help community find solutions, please don't forget to mark as correct.

View solution in original post

1 Reply
Claudiu_Anghelescu
Specialist
Specialist

1. Create 2 variables:

  max1=max(Year)

   max2= max(Year)-1

 

2. Trigger -> Select in field:

 Year

='(' & $(max1) & '|' & $(max2) & ')'

 

 

See my attached sample.

To help community find solutions, please don't forget to mark as correct.