<?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 creation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868645#M995497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set vVariable1=1&lt;/P&gt;&lt;P&gt;Set vVariable2=25&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 05:06:25 GMT</pubDate>
    <dc:creator>gautik92</dc:creator>
    <dc:date>2015-07-02T05:06:25Z</dc:date>
    <item>
      <title>Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868642#M995493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a requirement where I should create variables dynamically.&lt;/P&gt;&lt;P&gt;The variable names along with its value will be entered in a Excel sheet. Have attached the sample Excel file for reference.&lt;/P&gt;&lt;P&gt;There will be two columns in the Excel file. First column will have the variable name and second column will have the value to be assigned to the variable.&lt;/P&gt;&lt;P&gt;In qlikview i should create the variables and assign them the values entered in the Excel.&lt;/P&gt;&lt;P&gt;Note: The number of variables may change. Number of variables may increase each day.&lt;/P&gt;&lt;P&gt;Is there a way to do so? Please help me on this.&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 04:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868642#M995493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T04:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868643#M995494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you will have to do it via macros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link out&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/" title="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/"&gt;Importing and exporting variables - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 04:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868643#M995494</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-02T04:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868644#M995495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;VarTable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Load * Inline [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;VariableName,Value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;vVariable1,1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;vVariable2,25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;vVariable4,74&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;vVariable7,4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;vVariable8,55&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;For i=1 to NoOfRows('VarTable')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vName=Peek('VariableName',-$(i));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let '$(vName)'=Peek('Value', -$(i));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Next i&lt;/SPAN&gt;&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 05:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868644#M995495</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-02T05:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868645#M995497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set vVariable1=1&lt;/P&gt;&lt;P&gt;Set vVariable2=25&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 05:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868645#M995497</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-07-02T05:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868646#M995499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this I found in qlikfix and is 100% match with what you are looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The import and export of variables are done via macors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is the sample copy both the file to the same folder and try it out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 05:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868646#M995499</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-02T05:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868647#M995500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868647#M995500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T07:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868648#M995501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice solution , also worked like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;For i=0 to NoOfRows('VarTable')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vName=Peek('VariableName',$(i));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let '$(vName)'=Peek('Value', $(i));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;Next i&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco; color: #3d3d3d;"&gt;Thank You.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 11:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868648#M995501</guid>
      <dc:creator>ankitbisht01</dc:creator>
      <dc:date>2015-07-02T11:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variable creation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868649#M995502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice that people are looking at my blog for solutions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; In this case though, I'd like to suggest another post from my blog which does exactly what you ask:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2011/09/21/storing-variables-outside-of-qlikview/" title="http://www.qlikfix.com/2011/09/21/storing-variables-outside-of-qlikview/"&gt;Storing variables outside of QlikView - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 11:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Variable-creation/m-p/868649#M995502</guid>
      <dc:creator>barryharmsen</dc:creator>
      <dc:date>2015-07-06T11:26:24Z</dc:date>
    </item>
  </channel>
</rss>

