<?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: Dynamic Variable selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315618#M408513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me test it then I will let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, thank you guys for your prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amalesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 06:35:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-02T06:35:44Z</dc:date>
    <item>
      <title>Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315613#M408508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some trouble to create a dynamic variable in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;key, code&lt;/P&gt;&lt;P&gt;1,x&lt;/P&gt;&lt;P&gt;2.y&lt;/P&gt;&lt;P&gt;3,z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable : vkey=Max(Key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will set 3 as a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how can i set the variable 2 as a default?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however it will still can change dynamically and can not be hard coded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your response will be highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ Please need you help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 19:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315613#M408508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-29T19:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315614#M408509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain your business case in a bit more detail? May be with a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315614#M408509</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-31T09:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315615#M408510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15014933394009508 jive_text_macro" jivemacro_uid="_15014933394009508"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;key, code&lt;/P&gt;
&lt;P&gt;1,x&lt;/P&gt;
&lt;P&gt;2.y&lt;/P&gt;
&lt;P&gt;3,z&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Fetch the maximum key value&lt;/P&gt;
&lt;P&gt;tmpData:&lt;/P&gt;
&lt;P&gt;LOAD Max(key) AS maxkey&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vkey = Peek('maxkey', 0, 'tmpData');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tmpData;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315615#M408510</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-07-31T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315616#M408511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amalesh,&lt;/P&gt;&lt;P&gt;Do you want vkey to be no lower than 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vkey = rangemax(2, max(Key))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315616#M408511</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-31T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315617#M408512</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Max(&lt;STRONG&gt;{1}&lt;/STRONG&gt;Key)&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;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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max(&lt;STRONG&gt;total&lt;/STRONG&gt; Key)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 10:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315617#M408512</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-31T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315618#M408513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me test it then I will let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, thank you guys for your prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amalesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 06:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315618#M408513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-02T06:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315619#M408514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vkey value could be less than 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a horizontal list box and there are different value available, in the list box 2 will be defult value while I click other options the value will change accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can set max value as a defult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amalesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 05:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-selection/m-p/1315619#M408514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-05T05:22:28Z</dc:date>
    </item>
  </channel>
</rss>

