<?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: Store excel data into variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848843#M297815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I have changed the value of vl to 0 &lt;STRONG&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;For vI = 0 to NoOfRows('Variables')&lt;/SPAN&gt;)&lt;/STRONG&gt; and the code is working as expected. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 07:35:28 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2015-05-13T07:35:28Z</dc:date>
    <item>
      <title>Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848838#M297810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="86386" alt="animated-red-hello-smiley-emoticon.gif" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/86386_animated-red-hello-smiley-emoticon.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store the below table into variables while loading the file. Can anyone suggest me a load script (loop!!) for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="86384" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86384_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output should be loaded as variables like below&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="86385" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86385_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 06:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848838#M297810</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-05-13T06:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848839#M297811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hie...&lt;/P&gt;&lt;P&gt;What is your exact requirment????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848839#M297811</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-05-13T07:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848840#M297812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should looklike this .... I am typingon my phone so it might not be working 100%...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sample.xlsx (....);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR row=1 TO NoOfRows('Input')&lt;/P&gt;&lt;P&gt;&amp;nbsp; Target.$(=Peek('Parameter',row-1)) = Peek('Target',row-1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Weight.$(=Peek('Parameter',row-1)) = Peek('Weight',row-1);&lt;/P&gt;&lt;P&gt;NEXT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Input;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848840#M297812</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-13T07:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848841#M297813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellooo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to explain. I need to concatenate the above values with some expressions. I can manage and provide the output by using this method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848841#M297813</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-05-13T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848842#M297814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;LOAD Parameter, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Sample.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 1 lines, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;Load 'Target.' &amp;amp; Parameter As Variable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target As Value resident Sample;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load 'Weight.' &amp;amp; Parameter As Variable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight As Value resident Sample;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; For vI = 1 to NoOfRows('Variables')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vVariable_Name = Peek('Variable',vI,'Value');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let [$(vVariable_Name)] = Peek('Value',vI,'Value');&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Next vI&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848842#M297814</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-05-13T07:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848843#M297815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I have changed the value of vl to 0 &lt;STRONG&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;For vI = 0 to NoOfRows('Variables')&lt;/SPAN&gt;)&lt;/STRONG&gt; and the code is working as expected. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848843#M297815</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-05-13T07:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Store excel data into variables</title>
      <link>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848844#M297816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have adopted the code but the parameter names are not fetched correctly. So it's replacing the value again and again. See the below screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="86391" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86391_Capture.PNG" style="height: auto;" /&gt;&amp;nbsp; &lt;IMG __jive_id="86392" alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86392_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I guess we need to adjust the below part.&amp;nbsp; &lt;IMG __jive_id="86393" alt="wondering-smiley-emoticon.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/86393_wondering-smiley-emoticon.png" style="height: auto;" /&gt;&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;&lt;STRONG&gt; Target.$(=Peek('Parameter',row-1)) &lt;/STRONG&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;&lt;STRONG&gt; Weight.$(=Peek('Parameter',row-1)) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 07:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-excel-data-into-variables/m-p/848844#M297816</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-05-13T07:45:47Z</dc:date>
    </item>
  </channel>
</rss>

