Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
IMPORTANT security patches for GeoAnalytics Server available to download: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
luke_eshbach
Contributor
Contributor

Force Variables to Act in Alternate States

Good morning.,

Is there a way to force a variable to act in a specific alternate state?

I want to define a variable and tell it which state to act in within the same object.  For example, salary proposals.  I'd like to be able to show the % increase of proposed salary over current salary.  Salary is defined using a variable but differs depending on the state it's in.

I would expect it to function like this: ((vSalary in AltState2 / vSalary in AltState1) - 1), where state 2 is proposed and state 1 is current.

Any suggestions would be appreciated.

Thank you,

Luke

11 Replies
sunny_talwar

Then you will have to use it within the expression of the variable or you can use something like this

Variables with Parameters

luke_eshbach
Contributor
Contributor
Author

Thank you Sunny