<?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: Re: Reading data from document with multiple sections (and multiple column headers) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664249#M1067146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The where clause makes sure that only those records are loaded where the value in the Client column does not equal the string value 'Client', i.e. it's a header row, and also where the ACCOUNT field contains a value that is at least 1 character long. Trim with strip of any leading and trailing spaces and len will calculate the lenght. If len(trim(ACCOUNT)) is 0 then it does not contain a value. Those would be the rows that contain only a data in the Client column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 11:52:53 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-09-10T11:52:53Z</dc:date>
    <item>
      <title>Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664246#M1067143</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;I'm trying to read data from an excel report with an inconvenient format.&lt;/P&gt;&lt;P&gt;For each date the report has one section with new headers, causing problems when loading it into qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample report and sample QV doc attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 08:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664246#M1067143</guid>
      <dc:creator />
      <dc:date>2014-09-10T08:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664247#M1067144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 09:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664247#M1067144</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-10T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664248#M1067145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Gysbert.&lt;/P&gt;&lt;P&gt;Looks great, however I'm not a 100% sure how your solution works. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;When I tried to apply it to my master doc I got the below result at the top of my tablebox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACCOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;BR /&gt;ACCOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;/P&gt;&lt;P&gt;ACCOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;/P&gt;&lt;P&gt;ACCOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&amp;nbsp;&amp;nbsp;&amp;nbsp; Balance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;For instance, is the below code doing? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;WHERE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 'Client' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ACCOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 11:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664248#M1067145</guid>
      <dc:creator />
      <dc:date>2014-09-10T11:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664249#M1067146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The where clause makes sure that only those records are loaded where the value in the Client column does not equal the string value 'Client', i.e. it's a header row, and also where the ACCOUNT field contains a value that is at least 1 character long. Trim with strip of any leading and trailing spaces and len will calculate the lenght. If len(trim(ACCOUNT)) is 0 then it does not contain a value. Those would be the rows that contain only a data in the Client column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 11:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664249#M1067146</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-10T11:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664250#M1067147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works now, thanks to your explanation.&lt;/P&gt;&lt;P&gt;Thanks a lot Gysbert!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664250#M1067147</guid>
      <dc:creator />
      <dc:date>2014-09-10T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664251#M1067148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When loading from multiple excel docs like below. I get synthetic keys.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;E&gt;&lt;BR /&gt;(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;header&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 2 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;lines&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; @1)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Participant BIC]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 'Participant BIC' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Account number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)); &lt;/SPAN&gt;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you know why? Something to do with the NoConcatenate in the 'Result' table maybe? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 13:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664251#M1067148</guid>
      <dc:creator />
      <dc:date>2014-09-10T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664252#M1067149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you load the exact same fields from the excel files. Otherwise you'll get several tables and synthetic keys. You may want to load all the data from the excel files into a temporary database first and then process that table to add the date field in fill in the missing values in the timestamp field. Don't forget to drop the temporary table at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664252#M1067149</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-10T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664253#M1067150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a test duplicating the sample excel files and modifying the content (format and columns remains the very same).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got the below result (see pic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when removing the formatting parts (timestamp, Date etc) it worked, just one table, no synthetic keys! So just like you said I need some solution to fix/complement the data before putting togehther the result table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think would be the easiest solution in my case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66524_Capture.JPG.jpg" style="width: 620px; height: 560px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664253#M1067150</guid>
      <dc:creator />
      <dc:date>2014-09-11T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading data from document with multiple sections (and multiple column headers)</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664254#M1067151</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;I think I found the problem. I removed the below and no more synthetic keys &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;&lt;SPAN style="font-size: 8pt;"&gt; LOAD*, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RecNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RowID &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Olle &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-document-with-multiple-sections-and-multiple/m-p/664254#M1067151</guid>
      <dc:creator />
      <dc:date>2014-09-11T09:24:09Z</dc:date>
    </item>
  </channel>
</rss>

