<?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: Set variable from the load table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135902#M755764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tab:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as RowNum &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Variable.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let vNoOfRows=NoOfRows('Tab');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let v75RowNum=FieldValue('RowNum', vNoOfRows*.75);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let &lt;STRONG&gt;v75Value&lt;/STRONG&gt;=Lookup('ID','RowNum', v75RowNum);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 05:21:37 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-09-18T05:21:37Z</dc:date>
    <item>
      <title>Set variable from the load table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135901#M755763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Users,&lt;/P&gt;&lt;P&gt;I am trying to set the variable from the excel table which is loaded.&lt;/P&gt;&lt;P&gt;The value of the variable is set based on the condition that it should pick the value of 0.75 of the total rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;Based on the attached excel sheet, value of the variable should be 'i' as it is the 0.75 of total rows from the excel (total rows=20, 0.75 of total row is 15(=20*.75=15),so 15th row of the excel sheet is 'i' from column ID.&lt;/P&gt;&lt;P&gt;Need to the set the variable value in load script not in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="213772" alt="Value.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213772_Value.JPG" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135901#M755763</guid>
      <dc:creator>haribabugv</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable from the load table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135902#M755764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tab:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as RowNum &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Variable.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let vNoOfRows=NoOfRows('Tab');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let v75RowNum=FieldValue('RowNum', vNoOfRows*.75);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Let &lt;STRONG&gt;v75Value&lt;/STRONG&gt;=Lookup('ID','RowNum', v75RowNum);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 05:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135902#M755764</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-18T05:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable from the load table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135903#M755765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;RowNo() as RowNumber&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Variable.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vNofrows=NoOfRows('Temp')*0.75;&lt;/P&gt;&lt;P&gt;LET Row= peek('ID', $(vNofrows)-1,'Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 05:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/135903#M755765</guid>
      <dc:creator>pooja_prabhu_n</dc:creator>
      <dc:date>2018-09-18T05:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable from the load table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/1819450#M1213321</link>
      <description>&lt;P&gt;The "peek" function solved my issue. I've been trying to figure out how to dynamically write qvds using a value in a table and add a date to the end.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 18:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-from-the-load-table/m-p/1819450#M1213321</guid>
      <dc:creator>mscottiaawg</dc:creator>
      <dc:date>2021-07-02T18:57:53Z</dc:date>
    </item>
  </channel>
</rss>

