<?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: alternate state! is this a bug? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745095#M266036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see the problem when I add in the selection of 2104. No bug, just a change required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection in the [GROUP1] OFFICIAL listbox does indeed cause a change in Month. You have defined an OnChange trigger for Month, which fires as expected. In your computation of the SetVariable value, your expression does not contain a Set ID, therefore the expression uses data from the inherited GROUP1 state. Change your expression to explicitly reference the Default group which is where you want to get your CALENDAR_DATE value from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(daystart(Yearstart(date(min( {&lt;STRONG&gt;$&lt;/STRONG&gt;&amp;lt;RECORD_TYPE={'waste'}&amp;gt;} CALENDAR_DATE)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 18:35:14 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-01-21T18:35:14Z</dc:date>
    <item>
      <title>alternate state! is this a bug?</title>
      <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745092#M266033</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 QVW SR8&lt;/P&gt;&lt;P&gt;I have a variable vFromDate&lt;/P&gt;&lt;P&gt;i'm giving it values on document triggers on select and on change of two fields (Month and Year)&lt;/P&gt;&lt;P&gt;now I added an alternate state and give it to a list box for the field OFFICIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why the selection on the list box with an alternate state shall change the value of vFromDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check attached &lt;/P&gt;&lt;P&gt;clear&lt;/P&gt;&lt;P&gt;then select N or Y from OFFICIAL list box on the right (alternate state Group1)&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>Wed, 21 Jan 2015 16:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745092#M266033</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-01-21T16:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: alternate state! is this a bug?</title>
      <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745093#M266034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't recreate the problem from your example file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745093#M266034</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-21T16:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: alternate state! is this a bug?</title>
      <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745094#M266035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may you please clear selections first, then select 2014 from the year list box finally there is a list box on the right side having an alternate state defined&lt;/P&gt;&lt;P&gt;select any value and you will see how the value of the variable vFromDate changes &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 17:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745094#M266035</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-01-21T17:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: alternate state! is this a bug?</title>
      <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745095#M266036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see the problem when I add in the selection of 2104. No bug, just a change required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection in the [GROUP1] OFFICIAL listbox does indeed cause a change in Month. You have defined an OnChange trigger for Month, which fires as expected. In your computation of the SetVariable value, your expression does not contain a Set ID, therefore the expression uses data from the inherited GROUP1 state. Change your expression to explicitly reference the Default group which is where you want to get your CALENDAR_DATE value from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(daystart(Yearstart(date(min( {&lt;STRONG&gt;$&lt;/STRONG&gt;&amp;lt;RECORD_TYPE={'waste'}&amp;gt;} CALENDAR_DATE)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 18:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745095#M266036</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-21T18:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: alternate state! is this a bug?</title>
      <link>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745096#M266037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well yes you are right&lt;/P&gt;&lt;P&gt;it works now&lt;/P&gt;&lt;P&gt;thank you very much indeed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 07:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alternate-state-is-this-a-bug/m-p/745096#M266037</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-01-22T07:47:54Z</dc:date>
    </item>
  </channel>
</rss>

