<?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 Previously selected cyclic group value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701776#M253273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the context of cyclic group, we can find out the current selected group value through "GetCurrentField(cyRegion)" .&lt;/P&gt;&lt;P&gt;But Is there any way to find out previously selected group value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 10:07:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-18T10:07:45Z</dc:date>
    <item>
      <title>Previously selected cyclic group value</title>
      <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701776#M253273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the context of cyclic group, we can find out the current selected group value through "GetCurrentField(cyRegion)" .&lt;/P&gt;&lt;P&gt;But Is there any way to find out previously selected group value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 10:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701776#M253273</guid>
      <dc:creator />
      <dc:date>2014-06-18T10:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Previously selected cyclic group value</title>
      <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701777#M253274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no getpreviousfield() function. I think the only way is to use bookmarks with the option Include Layout State enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing you can try is create a table in the script with a field that contains the fieldnames you now use in the group. You can use the listbox to select a fieldname and use that value as dimension name for your chart. Now you can get the previous selection with =only({$1}Field). See attached example. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701777#M253274</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-18T11:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Previously selected cyclic group value</title>
      <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701778#M253275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am storing the Current value in Variable1 by using below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable1&lt;/P&gt;&lt;P&gt;=MinString&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(GetCurrentField(cyRegion)='VCC',VCC_CUR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(GetCurrentField(cyRegion)='COMP2',COMP2_CUR&lt;/P&gt;&lt;P&gt;&amp;nbsp; ))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable1 changes at every selection.&lt;/P&gt;&lt;P&gt;Now I want to store the previously calculated value in Variable 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 12:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701778#M253275</guid>
      <dc:creator />
      <dc:date>2014-06-18T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Previously selected cyclic group value</title>
      <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701779#M253276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer is pretty much the same. Either use bookmarks and enable to option to include variable values in the bookmark or use a field like I did in my example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 12:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701779#M253276</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-18T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Previously selected cyclic group value</title>
      <link>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701780#M253277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means I have to apply the trigger on Change Event of variable 'Variable1' to add bookmark and extract the previous value using bookmark name. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 05:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previously-selected-cyclic-group-value/m-p/701780#M253277</guid>
      <dc:creator />
      <dc:date>2014-06-19T05:07:27Z</dc:date>
    </item>
  </channel>
</rss>

