<?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: Create a list from a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/1628358#M759106</link>
    <description>Great solution, thank you!</description>
    <pubDate>Thu, 26 Sep 2019 01:41:12 GMT</pubDate>
    <dc:creator>twon23</dc:creator>
    <dc:date>2019-09-26T01:41:12Z</dc:date>
    <item>
      <title>Create a list from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112122#M759101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to load a list of values into a variable, which I want to use next to loop through in my qliksense script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this many times before, but it seems I lost my reference file and can't seem to find myself how I did it in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my (non working) script:&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Websites:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebsiteID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;&lt;P&gt;FROM [lib://Data/180820-website-datastructure.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is GAIDs);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vGAIDs&amp;nbsp; = peek('WebsiteID',0,'Websites');&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only seems to load the first field into the variable. Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Christophe&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/Create-a-list-from-a-table/m-p/112122#M759101</guid>
      <dc:creator>christophebrock1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112123#M759102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the below link helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/188920" title="https://community.qlikview.com/thread/188920"&gt;How to assign multiple values to a single varia... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112123#M759102</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-08-22T15:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112124#M759103</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;Let LoopNumber=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &lt;SPAN style="font-size: 13.3333px;"&gt;LoopNumber&lt;/SPAN&gt;= 1 to NoofRows('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Websites&lt;/SPAN&gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vCountry= Peek('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WebsiteID&lt;/SPAN&gt;', &lt;SPAN style="font-size: 13.3333px;"&gt;LoopNumber&lt;/SPAN&gt;-1,&amp;nbsp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Websites&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112124#M759103</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-22T15:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112125#M759104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm understanding that you want a comma separated list of single quoted WebsiteID values to use in a For Each loop. Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// Build a string list in a single field, one row table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;TempW&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ebSite&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ListTable&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;chr(39) &amp;amp; Concat(&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;WebsiteID&lt;/SPAN&gt;, chr(39) &amp;amp; ',' &amp;amp; chr(39), &lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;WebsiteID&lt;/SPAN&gt;) &amp;amp; chr(39)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;as TempW&lt;SPAN style="font-size: 13.3333px;"&gt;ebSite&lt;/SPAN&gt;List&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Websites&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// Put the website list in a variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET &lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;vGAIDs&lt;/SPAN&gt; = peek('&lt;SPAN style="font-size: 13.3333px;"&gt;TempW&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ebSite&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;List&lt;/SPAN&gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// Delete the temp table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP TABLE &lt;SPAN style="font-size: 13.3333px;"&gt;TempW&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ebSite&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ListTable&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.easyqlik.com" rel="nofollow" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 04:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/112125#M759104</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-08-23T04:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/1628358#M759106</link>
      <description>Great solution, thank you!</description>
      <pubDate>Thu, 26 Sep 2019 01:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-list-from-a-table/m-p/1628358#M759106</guid>
      <dc:creator>twon23</dc:creator>
      <dc:date>2019-09-26T01:41:12Z</dc:date>
    </item>
  </channel>
</rss>

