<?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 Load statement from external file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-statement-from-external-file/m-p/1228584#M850451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some issue in loading QVDs. Here's my case :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm storing my variables in an excel file called 'variables.xls' with this structure :&lt;/P&gt;&lt;P&gt;VariableName !&amp;nbsp; VariableValue !&amp;nbsp; FieldsName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VariableValue contains the name of my different QVD to load.&lt;/P&gt;&lt;P&gt;FieldsName contains the list of my different fields related to each QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all i loaded my variable list from variables.xls :&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;variables:&lt;/P&gt;&lt;P&gt;LOAD NomVariable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valeur&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\00_Configuration\Fichiers\variables.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Feuille1$);&lt;/P&gt;&lt;P&gt;Let vNombreLigne = NoOfRows('variables');&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;for vI=0 to $(vNombreLigne)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let vDimensions = peek('VariableName',vI,'variables');&lt;/P&gt;&lt;P&gt;Let [$(vDimensions)] = peek('VariableValue',vI,'variables');&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;My issue now is in the load statement. How can i load my files using the $(vDimensions) variable and its fields automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Load statement from external file</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement-from-external-file/m-p/1228584#M850451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some issue in loading QVDs. Here's my case :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm storing my variables in an excel file called 'variables.xls' with this structure :&lt;/P&gt;&lt;P&gt;VariableName !&amp;nbsp; VariableValue !&amp;nbsp; FieldsName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VariableValue contains the name of my different QVD to load.&lt;/P&gt;&lt;P&gt;FieldsName contains the list of my different fields related to each QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all i loaded my variable list from variables.xls :&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;variables:&lt;/P&gt;&lt;P&gt;LOAD NomVariable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valeur&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\00_Configuration\Fichiers\variables.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Feuille1$);&lt;/P&gt;&lt;P&gt;Let vNombreLigne = NoOfRows('variables');&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;for vI=0 to $(vNombreLigne)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let vDimensions = peek('VariableName',vI,'variables');&lt;/P&gt;&lt;P&gt;Let [$(vDimensions)] = peek('VariableValue',vI,'variables');&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;My issue now is in the load statement. How can i load my files using the $(vDimensions) variable and its fields automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours&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/Load-statement-from-external-file/m-p/1228584#M850451</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

