<?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 Read cell value and append it to an additional column? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665445#M673510</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;I have encountered a situation here:&lt;/P&gt;&lt;P&gt;There are over 40 excel files with similar names (CompanyX 07 2014.xlsx) in a folder, and I need to load all of them .&lt;/P&gt;&lt;P&gt;The header are on line 7 but I have to read a cell value (B2, it's the name of the company) and add it as the value of a auto generated column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 19:14:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-27T19:14:58Z</dc:date>
    <item>
      <title>Read cell value and append it to an additional column?</title>
      <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665445#M673510</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;I have encountered a situation here:&lt;/P&gt;&lt;P&gt;There are over 40 excel files with similar names (CompanyX 07 2014.xlsx) in a folder, and I need to load all of them .&lt;/P&gt;&lt;P&gt;The header are on line 7 but I have to read a cell value (B2, it's the name of the company) and add it as the value of a auto generated column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665445#M673510</guid>
      <dc:creator />
      <dc:date>2014-08-27T19:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read cell value and append it to an additional column?</title>
      <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665446#M673511</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;define the source filenames with wildcards like "*.xlsx".&lt;/P&gt;&lt;P&gt;Furthermore you might read your company names from the filename also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14091768115673066 jive_macro_code" jivemacro_uid="_14091768115673066"&gt;
&lt;P&gt;tabData:&lt;/P&gt;
&lt;P&gt;LOAD Employee,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Structure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fees,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type of fees],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total TTC],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(FileBaseName(), Len(FileBaseName())-8) as Company&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;//[&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="122156" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2061-131051-596844-122156/test+companyA+07+2014.xlsx"&gt;http://community.qlik.com/servlet/JiveServlet/download/596844-122156/test%20companyA%2007%202014.xlsx&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Example, filters(&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 4)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 3)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 1)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 4))&lt;/P&gt;
&lt;P&gt;));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_131051_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65425_QlikCommunity_Thread_131051_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_131051_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65426_QlikCommunity_Thread_131051_Pic2.JPG.jpg" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 22:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665446#M673511</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-27T22:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read cell value and append it to an additional column?</title>
      <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665447#M673512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another possibility is to load the company from the file content seperate from the table and to join the two loads afterwards:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14091779592393929" jivemacro_uid="_14091779592393929"&gt;
&lt;P&gt;tabData:&lt;/P&gt;
&lt;P&gt;LOAD Employee,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Structure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fees,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type of fees],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total TTC],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(FileBaseName(), Len(FileBaseName())-8) as CompanyFromFileName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileBaseName() as File&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;//[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="122156" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2061-131051-596844-122156/test companyA 07 2014.xlsx"&gt;http://community.qlik.com/servlet/JiveServlet/download/596844-122156/test%20companyA%2007%202014.xlsx&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Example, filters(&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 4)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 3)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 1)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 2)),&lt;/P&gt;
&lt;P&gt;Remove(Row, Pos(Top, 4))&lt;/P&gt;
&lt;P&gt;));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabTemp:&lt;/P&gt;
&lt;P&gt;LOAD B as Company,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileBaseName() as File&lt;/P&gt;
&lt;P&gt;From&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, no labels, table is Example)&lt;/P&gt;
&lt;P&gt;Where RecNo() = 1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabData)&lt;/P&gt;
&lt;P&gt;LOAD *Resident tabTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTemp;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_131051_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65427_QlikCommunity_Thread_131051_Pic3.JPG.jpg" style="width: 620px; height: 185px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 22:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665447#M673512</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-27T22:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Read cell value and append it to an additional column?</title>
      <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665448#M673513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Marco, What if the file name doesn't contain the company name and I have to read the name from the cell 'B2"? Is there a way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 08:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665448#M673513</guid>
      <dc:creator />
      <dc:date>2014-08-28T08:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Read cell value and append it to an additional column?</title>
      <link>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665449#M673514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted an example of that, but it's still in moderation state:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_131051_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65481_QlikCommunity_Thread_131051_Pic4.JPG.jpg" style="width: 620px; height: 452px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_131051_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65482_QlikCommunity_Thread_131051_Pic5.JPG.jpg" style="width: 620px; height: 532px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 11:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-cell-value-and-append-it-to-an-additional-column/m-p/665449#M673514</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-28T11:22:24Z</dc:date>
    </item>
  </channel>
</rss>

