<?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 How to assign list value to a variable in Qlikview script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-assign-list-value-to-a-variable-in-Qlikview-script/m-p/1809969#M1212494</link>
    <description>&lt;P&gt;I have a directory which contains sub directory&amp;nbsp; 'a',&amp;nbsp; 'b', 'c', 'd', 'e' ....&amp;nbsp; I want load data conditionally, for example:&lt;/P&gt;&lt;P&gt;set vDirList = ['a', 'b', 'c'];&amp;nbsp; //Only load sub directory 'a', 'b', 'c';&lt;/P&gt;&lt;P&gt;//set vDirList = []; //Load all sub directory&lt;/P&gt;&lt;P&gt;if len($(vDirlist )) = 0&amp;nbsp; then //for all sub directory&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; let vDirs = DirList('D:\*');&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; let vDirs = $(vDirList);&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;for each dir in $(vDirs)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do load ...&lt;/P&gt;&lt;P&gt;next dir;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write the script?&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 00:32:16 GMT</pubDate>
    <dc:creator>wrsjar_qlik</dc:creator>
    <dc:date>2021-05-24T00:32:16Z</dc:date>
    <item>
      <title>How to assign list value to a variable in Qlikview script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-list-value-to-a-variable-in-Qlikview-script/m-p/1809969#M1212494</link>
      <description>&lt;P&gt;I have a directory which contains sub directory&amp;nbsp; 'a',&amp;nbsp; 'b', 'c', 'd', 'e' ....&amp;nbsp; I want load data conditionally, for example:&lt;/P&gt;&lt;P&gt;set vDirList = ['a', 'b', 'c'];&amp;nbsp; //Only load sub directory 'a', 'b', 'c';&lt;/P&gt;&lt;P&gt;//set vDirList = []; //Load all sub directory&lt;/P&gt;&lt;P&gt;if len($(vDirlist )) = 0&amp;nbsp; then //for all sub directory&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; let vDirs = DirList('D:\*');&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; let vDirs = $(vDirList);&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;for each dir in $(vDirs)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do load ...&lt;/P&gt;&lt;P&gt;next dir;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write the script?&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 00:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-list-value-to-a-variable-in-Qlikview-script/m-p/1809969#M1212494</guid>
      <dc:creator>wrsjar_qlik</dc:creator>
      <dc:date>2021-05-24T00:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign list value to a variable in Qlikview script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-list-value-to-a-variable-in-Qlikview-script/m-p/1809996#M1212495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95017"&gt;@wrsjar_qlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/loop-through-to-load-all-files-from-a-folder-and-its-subfolders/m-p/439799" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Dev/loop-through-to-load-all-files-from-a-folder-and-its-subfolders/m-p/439799&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.quickintelligence.co.uk/convert-drop-folder-files-qvd/" target="_blank" rel="noopener"&gt;https://www.quickintelligence.co.uk/convert-drop-folder-files-qvd/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;this too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Documents/Loop-through-Folders-and-sub-folders-to-get-file-names/ta-p/1486293" target="_blank"&gt;https://community.qlik.com/t5/Documents/Loop-through-Folders-and-sub-folders-to-get-file-names/ta-p/1486293&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 08:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-list-value-to-a-variable-in-Qlikview-script/m-p/1809996#M1212495</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-05-24T08:18:55Z</dc:date>
    </item>
  </channel>
</rss>

