<?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: Triggers on Alternate State in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850088#M298214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try as variable definition&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(daystart(monthEnd(&lt;STRONG&gt;only({MAIN} Date))&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 09:55:36 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-18T09:55:36Z</dc:date>
    <item>
      <title>Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850087#M298213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Got a document in which the selection on the Date field sets a variable called vFromDate to a value = num(daystart(monthEnd(Date))&lt;/P&gt;&lt;P&gt;now I got the same list box for Date but put in an alternating state called MAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the selection on this list box to set the same variable vFromDAte to the same expression but calculated in state MAIN&lt;/P&gt;&lt;P&gt;I added another action and selected the STATE MAIN but the variable vFromDATE only changes on the inherited state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850087#M298213</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-06-18T09:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850088#M298214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try as variable definition&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(daystart(monthEnd(&lt;STRONG&gt;only({MAIN} Date))&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850088#M298214</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-18T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850089#M298215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did but it didn't work&lt;/P&gt;&lt;P&gt;it is changed only selections made on original state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 10:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850089#M298215</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-06-18T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850090#M298216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I test a OnSelect trigger, it's getting fired also when selecting on a field list box in alternate state.&lt;/P&gt;&lt;P&gt;I am on 11.20 SR11, which version are you running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 10:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850090#M298216</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-18T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850091#M298217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 11.2 SR8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 10:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850091#M298217</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-06-18T10:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850092#M298218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what I want is to give different values for the same variable depending on the selection made on Date in the diverse states&lt;/P&gt;&lt;P&gt;if in original state I select 2014 feb the variable should take feb 2014&lt;/P&gt;&lt;P&gt;whereas if I select 2015 feb from the list box which got an alternate state I want the same variable to take feb 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;knowing that the 2 listboxes are in different tabs (sheets)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 10:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850092#M298218</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-06-18T10:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850093#M298219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I currently don't know how this should work out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can do it another way: Create an OnActivate sheet trigger for both sheets that is setting the variabel to either&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='=num(daystart(monthEnd(Date))'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(daystart(monthEnd(only({MAIN} Date)))'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So you are using two different definitions for your single variable depending on the sheet you are working.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 11:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-Alternate-State/m-p/850093#M298219</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-18T11:09:47Z</dc:date>
    </item>
  </channel>
</rss>

