<?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: Help loading in excel file with sections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129139#M603278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I could do this is by storing the data as a txt and then using the table load wizard to indicate the number header lines and the embedded labels&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212146_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the transformation step I deleted the lines in blank&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212147_Capture2.PNG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attach qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Gabriela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 15:03:28 GMT</pubDate>
    <dc:creator>gmoraleswit</dc:creator>
    <dc:date>2018-08-29T15:03:28Z</dc:date>
    <item>
      <title>Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129133#M603272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load in the attached excel file but i don't know how to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within the sheet the data is split into sections.&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Manufacturing&lt;/P&gt;&lt;P&gt;Freight&lt;/P&gt;&lt;P&gt;Duty&lt;/P&gt;&lt;P&gt;Labour&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Distribution&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Manufacturing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Freight&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Duty&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Labour&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Destuffing&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Manufacturing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Freight&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Duty&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Labour&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;etc&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;what i want is to use the bold text as the section name and the values beneath as another field.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;so id want it loaded something like..&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Section, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Item, &lt;SPAN style="font-size: 13.3333px;"&gt;Manufacturing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Item, &lt;SPAN style="font-size: 13.3333px;"&gt;Freight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Item, &lt;SPAN style="font-size: 13.3333px;"&gt;Duty&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Item, &lt;SPAN style="font-size: 13.3333px;"&gt;Labour&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Distribution, &lt;SPAN style="font-size: 13.3333px;"&gt;Manufacturing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Distribution, &lt;SPAN style="font-size: 13.3333px;"&gt;Freight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Distribution, &lt;SPAN style="font-size: 13.3333px;"&gt;Duty&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Distribution, &lt;SPAN style="font-size: 13.3333px;"&gt;Labour&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Destuffing, &lt;SPAN style="font-size: 13.3333px;"&gt;Manufacturing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destuffing, &lt;SPAN style="font-size: 13.3333px;"&gt;Freight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destuffing, &lt;SPAN style="font-size: 13.3333px;"&gt;Duty&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destuffing, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Labour&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can anyone suggest a way of doing this please without changing the source file?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 15:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129133#M603272</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-08-28T15:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129134#M603273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can change your Excel load to ignore the headings then use a match &amp;amp; peek to populate your section &amp;amp; value fields from column A, you would then need to tidy up the loaded data (this will be very sensitive to breaking if the format changes at all &amp;amp; you also need to think about how you get names for columns B onwards ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; If(Match(A,'Item','Distribution','% for Picking','Destuffing')&amp;gt;0,A,peek(Section,-1)) AS Section,&lt;/P&gt;&lt;P&gt; If(Match(A,'Item','Distribution','% for Picking','Destuffing')&amp;gt;0,Null(),A) AS Value;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt; A &lt;/P&gt;&lt;P&gt;FROM [Sample.xlsx] (ooxml, no labels, table is [P&amp;amp;L Feeds]);&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;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 16:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129134#M603273</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2018-08-28T16:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129135#M603274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is what you need but I hope it helps you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first identified the Sections and the Values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;Temp:&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;LOAD if(RowNo()=1 or len(B)=0,A) as Section,&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;if(RowNo()&amp;gt;1 and len(B)&amp;gt;0,A) as Value,&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;// A, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; W, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z, &lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AA&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;Sample.xlsx&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;(ooxml, no labels);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I use the Fill option in the Transformation Step when you load the qvd:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212046_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212047_Capture2.PNG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See QVW Attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129135#M603274</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2018-08-28T17:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129136#M603275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thanks very much Gabriela &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129136#M603275</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-08-28T17:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129137#M603276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129137#M603276</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-08-28T17:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129138#M603277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriela..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a quick question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you did worked but i need the column headings from column 3 onwards. as highlighted below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212096_Capture.JPG" style="height: 73px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how i can achieve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 10:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129138#M603277</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-08-29T10:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129139#M603278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I could do this is by storing the data as a txt and then using the table load wizard to indicate the number header lines and the embedded labels&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212146_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the transformation step I deleted the lines in blank&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212147_Capture2.PNG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attach qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Gabriela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 15:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129139#M603278</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2018-08-29T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading in excel file with sections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129140#M603279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I prefer Gabriela's initial approach to mine, I had not seen the transform step in any detail, but think for the second piece maybe the peek can work better, so extending my code (or you could extend from the transformed steps);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;BR /&gt;LOAD&lt;BR /&gt; If(Match(A,'Item','Distribution','% for Picking','Destuffing')&amp;gt;0,A,peek(Section,-1)) AS Section,&lt;BR /&gt; If(Match(A,'Item','Distribution','% for Picking','Destuffing')&amp;gt;0,Null(),A) AS Value,&lt;BR /&gt; B;&lt;BR /&gt;LOAD &lt;BR /&gt; A ,&lt;BR /&gt; B&lt;BR /&gt;FROM [Sample.xlsx] (ooxml, no labels, table is [P&amp;amp;L Feeds]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let TitleB=peek('B',0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Load&lt;BR /&gt; Section,&lt;BR /&gt; Value,&lt;BR /&gt; &lt;STRONG&gt;B AS $(TitleB)&lt;/STRONG&gt;&lt;BR /&gt;Resident temp;&lt;/P&gt;&lt;P&gt;Drop table temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 16:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-loading-in-excel-file-with-sections/m-p/129140#M603279</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2018-08-29T16:16:43Z</dc:date>
    </item>
  </channel>
</rss>

