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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to make 1 display last year 2016 ? Now is 2017

Hi All


I have create a var = vYn1 = 1 , and i need it display 2016 , may i know how to do it ?


Now when i click 2016 , it display 1


Now when i click 2015 , it display 2



How to make 1 display 2016 and 2 display 2015 ?


Paul Yeo

1 Solution

Accepted Solutions
prma7799
Master III
Master III

6 Replies
paulyeo11
Master
Master
Author

my QVW

prma7799
Master III
Master III

You want to show respective year when you select above button ?

paulyeo11
Master
Master
Author

Hi PM

Yes  , when i click on right button , i want it to show 2016.

prma7799
Master III
Master III

Like This???

paulyeo11
Master
Master
Author

Hi P M

your QVW attachment work fine.

But when i copy and paste the syntax to my production copy , it does not work.

Paul

prma7799
Master III
Master III

You can do changes in your own file in every button you have change "vYn1" value...