<?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 How to load a cross table with many headers? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381544#M798871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a cross table which has many headers rows. I now couldn't understand How to load that into qlikview &amp;amp; make it a straight table format. Please suggest.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>swarnendu</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381544#M798871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a cross table which has many headers rows. I now couldn't understand How to load that into qlikview &amp;amp; make it a straight table format. Please suggest.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381544#M798871</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381545#M798872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have you checked this article,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4527"&gt;multi_header_pivot_import.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 10:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381545#M798872</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-12-11T10:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381546#M798873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply but confuse in those script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 11:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381546#M798873</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2017-12-11T11:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381547#M798874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="13947" data-externalid="" data-online="false" data-presence="null" data-userid="205546" data-username="devarasu07" href="https://community.qlik.com/people/devarasu07" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;"&gt;Devarasu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply its worked when i take only 1 sheet.&lt;/P&gt;&lt;P&gt;But i have 30 sheets so how its work can you please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381547#M798874</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2017-12-13T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381548#M798875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to share your 'working' solution (with single sheet). It would be easier for us to help you onward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 06:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381548#M798875</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-13T06:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381549#M798876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 06:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381549#M798876</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2017-12-13T06:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381550#M798877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks for your reply its worked when i take only 1 sheet...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you share the qvw that 'worked' for you? (so that we we can start from there without having to re-work).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 06:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381550#M798877</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-13T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381551#M798878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 09:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381551#M798878</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2017-12-13T09:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381552#M798879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try creating ODBC connection to your excel and then you can use SQLTables to build a list of sheets in your file, then loop through that. Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT TO [Excel Files;DBQ=Your Excel File.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//use SQLTables to assemble a list of all the sheets in this Excel file&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;XLSSheetList:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQLTables&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DISCONNECT; //from excel&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;........&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for n = 0 to NoOfRows('XLSSheetList')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET &lt;STRONG&gt;vXLSXSheet&lt;/STRONG&gt; = peek('TABLE_NAME', n, 'XLSSheetList');&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Levels:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;//Concatenate statement here&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;LOAD $(vHFieldList),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowno()+$(vVDims) as ColNo&lt;/P&gt;
&lt;P&gt;FROM $(vSourceFile)&lt;/P&gt;
&lt;P&gt;($(vType), no labels, table is $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vXLSXSheet&lt;/STRONG&gt;&lt;/SPAN&gt;), filters(&lt;/P&gt;
&lt;P&gt;Transpose(),&lt;/P&gt;
&lt;P&gt;$(vRemoveRows),&lt;/P&gt;
&lt;P&gt;$(vReplaces)&lt;/P&gt;
&lt;P&gt;));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//&amp;nbsp; Load the pivot table with the Crosstable function&lt;/P&gt;
&lt;P&gt;LET vHeaders = $(vHDims)-1;&lt;/P&gt;
&lt;P&gt;CT:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;//Concatenate statement here too, may be &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;CrossTable(ValCol, Value1,$(vVDims))&lt;/P&gt;
&lt;P&gt;load * from $(vSourceFile)&lt;/P&gt;
&lt;P&gt;($(vType), embedded labels, header is $(vHeaders) lines, table is $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vXLSXSheet&lt;/STRONG&gt;&lt;/SPAN&gt;));&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;next n&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Note: This is a rough idea. Few things you have to deal with additionally in real scenario, like concatenating the table in the loop. I could not test it without the multi-sheet data and for lack of enough time. Hope you get the idea and move forward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 10:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381552#M798879</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-13T10:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with many headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381553#M798880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;Thanks For your reply.&lt;/P&gt;&lt;P&gt;Can you provide me some example or &lt;SPAN style="font-size: 13.3333px;"&gt;example&amp;nbsp; file &lt;/SPAN&gt;&amp;nbsp; like this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 11:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-many-headers/m-p/1381553#M798880</guid>
      <dc:creator>swarnendu</dc:creator>
      <dc:date>2017-12-13T11:54:44Z</dc:date>
    </item>
  </channel>
</rss>

