<?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: dynamically loading excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394377#M610465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis,&lt;/P&gt;&lt;P&gt;you are correct. For people who are having a similar issue. You need to do what Luis Said. Here is my code:&lt;/P&gt;&lt;P&gt; If wildmatch( ComputerName(), 'WP*' ) , then&lt;/P&gt;&lt;P&gt;LET variablename =&amp;nbsp; &lt;A href="https://community.qlik.com/"&gt;\\wvsdppx1\......\&lt;/A&gt;...........;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;LET variablename = &lt;A href="https://community.qlik.com/"&gt;\\.......\\&lt;/A&gt;......;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then on your load statement do FROM $(variableName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 21:36:23 GMT</pubDate>
    <dc:creator>diwaskarki</dc:creator>
    <dc:date>2017-12-13T21:36:23Z</dc:date>
    <item>
      <title>dynamically loading excel file</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394374#M610462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I have an excel file in a drive, which I am loading to create a qvd table.&lt;/P&gt;&lt;P&gt;When I push the code to my production environment, the hardcoded path for the excel file wont work.&lt;/P&gt;&lt;P&gt;So, I need to do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt; If(ComputerName() like 'WP*') then&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;read from this location.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp; read from this location. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px 2pt 0.75in; text-indent: -0.25in;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;How can I do this? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394374#M610462</guid>
      <dc:creator>diwaskarki</dc:creator>
      <dc:date>2017-12-12T21:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically loading excel file</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394375#M610463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;If &lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;wildmatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Times New Roman', serif; font-size: 16px; text-indent: -24px;"&gt;ComputerName()&lt;/SPAN&gt;, 'WP*') =1 &lt;/SPAN&gt;then&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load / &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt; &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;read from this location.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load / read from this location&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: 'Times New Roman', serif;"&gt;end if&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;I hope this helps,&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0 2pt 0.75in; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-indent: -0.25in;"&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 23:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394375#M610463</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T23:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically loading excel file</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394376#M610464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other system functions just in case:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/November2017/Subsystems/Hub/Content/Scripting/SystemFunctions/system-functions.htm" title="http://help.qlik.com/en-US/sense/November2017/Subsystems/Hub/Content/Scripting/SystemFunctions/system-functions.htm"&gt;http://help.qlik.com/en-US/sense/November2017/Subsystems/Hub/Content/Scripting/SystemFunctions/system-functions.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 23:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394376#M610464</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T23:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically loading excel file</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394377#M610465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis,&lt;/P&gt;&lt;P&gt;you are correct. For people who are having a similar issue. You need to do what Luis Said. Here is my code:&lt;/P&gt;&lt;P&gt; If wildmatch( ComputerName(), 'WP*' ) , then&lt;/P&gt;&lt;P&gt;LET variablename =&amp;nbsp; &lt;A href="https://community.qlik.com/"&gt;\\wvsdppx1\......\&lt;/A&gt;...........;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;LET variablename = &lt;A href="https://community.qlik.com/"&gt;\\.......\\&lt;/A&gt;......;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then on your load statement do FROM $(variableName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-loading-excel-file/m-p/1394377#M610465</guid>
      <dc:creator>diwaskarki</dc:creator>
      <dc:date>2017-12-13T21:36:23Z</dc:date>
    </item>
  </channel>
</rss>

