<?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 Change the relative path in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707702#M673660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my organisation, each developper has the same folder struture : one for the csv files, one for the qvd that are created and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once they have finished their application, I paste them on the server on which there is the same folder structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we use relative path in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, we have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[..\Source\booking.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is global);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for a file located in : &lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\booking.xlsx'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that I have created another folder in the Source folder so now, the path to go to the booking file is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\Source_book\booking.xlsx&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I modified the script consequently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[..\Source\Source_book\booking.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is global);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is "impossible to open&amp;nbsp; " : &lt;SPAN style="color: #3366ff;"&gt;'D:\Qlikview_Data\Extract\..Source\Source_book\booking.xlsx'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does QV search the file into &lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\&lt;STRONG&gt;Extract\..&lt;/STRONG&gt;Source\Source_book\booking.xlsx&lt;/SPAN&gt;&amp;nbsp; instead of :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\Source_book\booking.xlsx&lt;/SPAN&gt; ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 09:27:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-04T09:27:39Z</dc:date>
    <item>
      <title>Change the relative path</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707702#M673660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my organisation, each developper has the same folder struture : one for the csv files, one for the qvd that are created and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once they have finished their application, I paste them on the server on which there is the same folder structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we use relative path in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, we have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[..\Source\booking.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is global);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for a file located in : &lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\booking.xlsx'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that I have created another folder in the Source folder so now, the path to go to the booking file is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\Source_book\booking.xlsx&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I modified the script consequently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[..\Source\Source_book\booking.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is global);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is "impossible to open&amp;nbsp; " : &lt;SPAN style="color: #3366ff;"&gt;'D:\Qlikview_Data\Extract\..Source\Source_book\booking.xlsx'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does QV search the file into &lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\&lt;STRONG&gt;Extract\..&lt;/STRONG&gt;Source\Source_book\booking.xlsx&lt;/SPAN&gt;&amp;nbsp; instead of :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;D:\Qlikview_Data\Source\Source_book\booking.xlsx&lt;/SPAN&gt; ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707702#M673660</guid>
      <dc:creator />
      <dc:date>2014-08-04T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change the relative path</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707703#M673661</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;You may try with declaring path to a variable as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14071453636969972" jivemacro_uid="_14071453636969972"&gt;
&lt;P&gt;let vpath ='D:\qvd\';&lt;/P&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;Load *,subfield(RQ_TARGET,';') as New_RQ_TARGET;&lt;/P&gt;
&lt;P&gt;load * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;PROJECT_NAME,REQ_ID,RQ_TARGET&lt;/P&gt;
&lt;P&gt;MMR,2055,;77;84;&lt;/P&gt;
&lt;P&gt;MMR,2056,;55;91;98;&lt;/P&gt;
&lt;P&gt;]&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;store Temp into&amp;nbsp; $(vpath)Temp.qvd(qvd);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707703#M673661</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-04T09:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change the relative path</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707704#M673662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try below instead. Apparently above path should work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"..\..\Source\Source_book\booking.xlsx"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707704#M673662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-04T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change the relative path</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707705#M673663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please attach a screenshot of your folder structure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 10:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707705#M673663</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-08-04T10:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change the relative path</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707706#M673664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the problem :&amp;nbsp; it's because I hadn't written ..&lt;STRONG&gt;\&lt;/STRONG&gt;Source\Source_book .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but ..Source\Source_book .. (I did a wrong replace all)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 10:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-relative-path/m-p/707706#M673664</guid>
      <dc:creator />
      <dc:date>2014-08-04T10:18:18Z</dc:date>
    </item>
  </channel>
</rss>

