<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Force Variables to Act in Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410198#M426535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: Group 4 = AltState4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 16:28:45 GMT</pubDate>
    <dc:creator>luke_eshbach</dc:creator>
    <dc:date>2017-09-13T16:28:45Z</dc:date>
    <item>
      <title>Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410191#M426528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to force a variable to act in a specific alternate state? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to define a variable and tell it which state to act in within the same object.&amp;nbsp; For example, salary proposals.&amp;nbsp; I'd like to be able to show the % increase of proposed salary over current salary.&amp;nbsp; Salary is defined using a variable but differs depending on the state it's in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410191#M426528</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T14:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410192#M426529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't you use 2 variables? One for State1 and the other for the other state?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410192#M426529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410193#M426530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the individual values brought into the dashboard that way - two text objects in two alternate states.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the % increase I want to show is in a single text object.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;The text object itself has only one state.&amp;nbsp; Thus, that state will dictate the values brought into the function and they will be the same number (x/x=1).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410193#M426530</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410194#M426531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand, do you mind sharing a sample to explain what you are trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410194#M426531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T15:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410195#M426532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not the full thing, but this might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(vProposedSalary*(1+[BonusPercent])) / (Current_ANNUAL_SALARY*(1+[BonusPercent])) - 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Numerator:&lt;/STRONG&gt; Proposed Salary + Bonus (Bonus based on the Job Title selected, Proposed Salary is an Input), info needs to be pulled from AltState4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Denominator:&lt;/STRONG&gt; Current Annual Salary + Bonus (Bonus is based on the person selected), info needs to be pulled from AltState1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The whole idea is to select an associate in AltState1 and a proposed title they will be moving to in AltState4 - I want to show the % increase when bonus is taken into consideration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If the text object is in AltState4, the proposed Job Title select in AltState4 is dictating the bonus/annual salary for the numerator and denominator.&amp;nbsp; If in AltState1, then the annual salary is correct but the bonus is dictated by the associate selected in AltState1.&amp;nbsp; If I could move the numerator into a variable and a denominator into another, and tell them which AltState to reference in the quotient, that would solve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410195#M426532</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T16:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410196#M426533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(vProposedSalary*(1+ &lt;SPAN style="color: #ff0000;"&gt;Only({[AltState4]}&lt;/SPAN&gt;[BonusPercent]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)) / (Current_ANNUAL_SALARY*(1+&lt;SPAN style="color: #ff0000;"&gt;Only({[AltState1]}&lt;/SPAN&gt;[BonusPercent]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)) - 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410196#M426533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410197#M426534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gets me what I need.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one follow up question (I'm trying now but not having much luck) to try and simplify my expressions a bit.&amp;nbsp; Can this logic be applied to a variable? e.g., Only({[Group4]}vVariableName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410197#M426534</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T16:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410198#M426535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: Group 4 = AltState4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410198#M426535</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T16:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410199#M426536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the def. of the variable? Is it an expression or hard-coded value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410199#M426536</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410200#M426537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be either an expression or field name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410200#M426537</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T16:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410201#M426538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you will have to use it within the expression of the variable or you can use something like this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9045"&gt;Variables with Parameters&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410201#M426538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Force Variables to Act in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410202#M426539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-Variables-to-Act-in-Alternate-States/m-p/1410202#M426539</guid>
      <dc:creator>luke_eshbach</dc:creator>
      <dc:date>2017-09-13T16:39:48Z</dc:date>
    </item>
  </channel>
</rss>

