<?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: How to load a cross table with two headers? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313874#M115862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, amars,I do not understand what you need. Can this option is suitable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2011 11:32:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-01T11:32:08Z</dc:date>
    <item>
      <title>How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313866#M115854</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;I have a cross table which has two headers rows. I now couldn't understand How to load that into the database &amp;amp; make it a straight table format. Please suggest.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Amar .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 07:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313866#M115854</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2011-07-28T07:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313867#M115855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I think so!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 13:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313867#M115855</guid>
      <dc:creator />
      <dc:date>2011-07-28T13:36:23Z</dc:date>
    </item>
    <item>
      <title>How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313868#M115856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow I've wasted so much time using Excel because I thought you couldn't do this.. but I still don't know how to do it from your example.&amp;nbsp; How did you do that!?!?!?!? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313868#M115856</guid>
      <dc:creator />
      <dc:date>2011-07-28T15:03:10Z</dc:date>
    </item>
    <item>
      <title>How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313869#M115857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I read the little "Designer II" book and figured it out.. you drag the dimension above the EXPRESSION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is actually going to save me an hour today so thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313869#M115857</guid>
      <dc:creator />
      <dc:date>2011-07-28T15:09:40Z</dc:date>
    </item>
    <item>
      <title>How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313870#M115858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, could you share the excels files to learn it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks by advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 18:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313870#M115858</guid>
      <dc:creator />
      <dc:date>2011-07-28T18:58:33Z</dc:date>
    </item>
    <item>
      <title>How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313871#M115859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kostin,&lt;/P&gt;&lt;P&gt;I know this thing. I wanted to use the excel file as my datasource, for which I will need to use the crosstable function.&lt;/P&gt;&lt;P&gt;I don't want to show a pivot just like the excel but need to import an excel which looks like this, in qlikview dashboard.&lt;/P&gt;&lt;P&gt;Please help. Thanks in advance.&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 03:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313871#M115859</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2011-07-29T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313872#M115860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can download Excel from first message by amars.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 11:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313872#M115860</guid>
      <dc:creator />
      <dc:date>2011-08-01T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313873#M115861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I cut the original file into three parts and then joined the parameter "atr". The first part of this is the first title, the second - the second heading, the third - the main body of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 11:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313873#M115861</guid>
      <dc:creator />
      <dc:date>2011-08-01T11:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313874#M115862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, amars,I do not understand what you need. Can this option is suitable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 11:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313874#M115862</guid>
      <dc:creator />
      <dc:date>2011-08-01T11:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313875#M115863</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;Go through the attached file and see whether this is what you want &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 13:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313875#M115863</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2011-08-01T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313876#M115864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Amar,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Check out the attached application. This has been achieved with the Enable Transformation option in QlikView.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope this helps you.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;- Sridhar&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 15:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313876#M115864</guid>
      <dc:creator />
      <dc:date>2011-08-01T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313877#M115865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know how you did this? I have same secino in my project. Kindly help me in elobrating this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 22:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313877#M115865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-11T22:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313878#M115866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem with this solution is that it hardcodes the number and names of crosstable columns - which is not helpful if you dont know the number of columns or their values ahead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 12:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313878#M115866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T12:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313879#M115867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you dont need the No. field - the very elegant solution is following:&lt;/P&gt;&lt;P&gt;1) by removing Col1 you convert it into 1x2 crosstable&lt;/P&gt;&lt;P&gt;2) by transpose you convert that to 2x1 crosstable&lt;/P&gt;&lt;P&gt;3) the rest is trivial - fill empty cells from above in Col1&lt;/P&gt;&lt;P&gt;4) Fix label on Col2&lt;/P&gt;&lt;P&gt;5) apply crosstable with 2 qualifying columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable([Company Name], Sales, 2)&lt;/P&gt;&lt;P&gt;LOAD * FROM [crosstable.xlsx] (ooxml, embedded labels, /* table is Sheet1, */ filters(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove(Col, Pos(Top, 1)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transpose(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace(1, top, StrCnd(null)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Top(2, 'Sales Type')&lt;/P&gt;&lt;P&gt;));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 23:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313879#M115867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-04T23:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313880#M115868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And for those with more complex data layout, e..g:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,2015,2015,...&lt;/P&gt;&lt;P&gt;Col1,Col2,Mar,Apr,...&lt;/P&gt;&lt;P&gt;x1,x2,val1,val2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where it is not enough to fill from neighbor cell and you need to combine two header lines (which is not possible in the load transformation) - solution is:&lt;/P&gt;&lt;P&gt;1) convert Nx2 crosstable into 3xN stored as CSV via transpose + calculate column + store&lt;/P&gt;&lt;P&gt;2) convert 3xN crosstable into Nx1 via load from CSV + remove original cols + transpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to be rather precise how labels are handled as QV is riddled with defects everywhere (especially when loading from QVD).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 23:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313880#M115868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-04T23:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313881#M115869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please advise how to do it if I want to keep Individual and Group columns/fields. I also need No field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 17:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313881#M115869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T17:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a cross table with two headers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313882#M115870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Approach to solve this would be following&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Process grouped columns first using my previous solution&lt;/LI&gt;&lt;LI&gt;Process ungrouped columns with this approach:&lt;UL&gt;&lt;LI&gt;transpose&lt;/LI&gt;&lt;LI&gt;delete all rows representing grouped data. As tthe power of filters is not sufficient to be completely generic, practical workaround would be to delete all rows that contain all Sales Type values; (i.e. Column2 = Individual or Column2 = Group). That will leave only the individual data rows.&lt;/LI&gt;&lt;LI&gt;transpose back&lt;/LI&gt;&lt;LI&gt;delete grouped headings - delete row where Column1 is empty&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;JOIN data together&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script it looks like this:&lt;/P&gt;&lt;PRE&gt;JOIN LOAD * FROM [crosstable.xlsx] (ooxml, embedded labels, table is Sheet1, filters(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Transpose(),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Remove(Row, RowCnd(CellValue, 2, StrCnd(equal, 'Individual'))), // delete grouped rows - 1. value
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Remove(Row, RowCnd(CellValue, 2, StrCnd(equal, 'Group'))),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // delete grouped rows - 2. value
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Transpose(),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Remove(Row, RowCnd(CellValue, 1, StrCnd(null))) // remove header for grouped columns
));
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-a-cross-table-with-two-headers/m-p/313882#M115870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T23:56:56Z</dc:date>
    </item>
  </channel>
</rss>

