Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rishimessi19
Contributor II
Contributor II

Field Event Trigger vs Back Action

Hi

I have the following data:

   

YearProjected Year
20152015
20152016
20152017
20152018
20152019
20152020
20152021
20152022
20152023
20162016
20162017
20162018
20162019
20162020
20162021
20162022
20162023
20162024

Requirement:

1. I need to display 2 filters:

  • "Year"
  • "Projected Year"

2. Both filters must be "Always one selected" filters.

3. "Projected year" must always only display the possible values of the year selected in the "year" filter.

4. Projected year default selection must always be the most latest year. e.g for "Year"=2015 "Projected Year" must be defaulted to "2023" and for  "Year"=2016"Projected Year" must ne defaulted to "2024"

Challenges I am facing:

1. No able to show the possible values in "Projected Year" based on the "Year" filter selection.

2. I tried using field event trigger to select the most latest year in the "Projected Year" but this is affecting the Back Button functionality. Somehow QlikView is considering the trigger action as a separate action and therefore I need to click on Back button twice to achieve the previous state.

Please provide guidance.

3 Replies
neelamsaroha157
Specialist II
Specialist II

Try this

1. Capture1.PNG

2. Capture2.PNG

3.Capture3.PNG

rishimessi19
Contributor II
Contributor II
Author

Hi

By using field event triggers, I am loosing the back button (I have a back button on my dashboard) functionality. So, whenever the trigger is applied, I need to click on back button twice to return to the previous state.

jonathandienst
Partner - Champion III
Partner - Champion III

Perhaps your interface will work better if you remove the 'always one selected' option from Projected Year. And if you set the latest Projected Year in the expression filter (using set analysis, and override the year)

{<[Projected Year] = {"$(=(Max([Projected Year]))"}, Year=>}

then you would not need a trigger at all.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein