<?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: concatenating Crosstables causes illegal combination in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155137#M31497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Davie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qv does not allow you to concatenate and cross table simultaneously. What you need to do is crosstable load the second table into a temporary table, and then concatenate the temp table to the first crosstable. If the fields are all the same, concatenate the two source tables into a temp table and then crosstable load the temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be the logic in pseudocode for the first option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Result:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CrossTable(...)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Temp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CrossTable(...)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate(Result)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Resident Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 06:57:05 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-07-13T06:57:05Z</dc:date>
    <item>
      <title>concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155134#M31494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was trying to concatenate 2 crosstables but keep getting an "illegal combination of prefixes" error.&lt;/P&gt;&lt;P&gt;how do you do this?&lt;/P&gt;&lt;P&gt;These tables are on different tabs of the same excel spreadsheet&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Davie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 07:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155134#M31494</guid>
      <dc:creator />
      <dc:date>2009-08-12T07:53:23Z</dc:date>
    </item>
    <item>
      <title>concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155135#M31495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not get the error message you get, but what if you first try to concatenate all sheets into one table in QV, and then have the crosstable on that resident instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 15:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155135#M31495</guid>
      <dc:creator />
      <dc:date>2009-08-12T15:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155136#M31496</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;Don't think I was thinking during all of the three years from 2009 to 2012 about the question, I'm just new to the forum and QV in a whole but it definitelly impossible to concatinate with crosstable function - first you need to concatenate all parts of the table you'd like to cross-tab, than load data with use of crosstable function from the resident table which already contains all data you nee to cross-tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 03:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155136#M31496</guid>
      <dc:creator>maksim_senin</dc:creator>
      <dc:date>2012-07-13T03:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155137#M31497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Davie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qv does not allow you to concatenate and cross table simultaneously. What you need to do is crosstable load the second table into a temporary table, and then concatenate the temp table to the first crosstable. If the fields are all the same, concatenate the two source tables into a temp table and then crosstable load the temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be the logic in pseudocode for the first option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Result:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CrossTable(...)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Temp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CrossTable(...)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate(Result)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Resident Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 06:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155137#M31497</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-13T06:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155138#M31498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about your example. If you Load the 'result' table and the 'temp' table and the fields were identical on both tables, would QV automatically concatenate the 2 tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trung&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 22:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155138#M31498</guid>
      <dc:creator />
      <dc:date>2014-06-24T22:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155139#M31499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trung,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, and the above script, in this case would incurr in 2 errors. Firstly, the Load * resident Temp would not find table Temp, since the second Load of the script have concatenated its rows to the Result table and did not create the Temp table. For the same reason, the Drop table Temp would fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 22:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/155139#M31499</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-24T22:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: concatenating Crosstables causes illegal combination</title>
      <link>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/1809617#M1212455</link>
      <description>&lt;P&gt;awesome.. Thanks . this helped me..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 05:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenating-Crosstables-causes-illegal-combination/m-p/1809617#M1212455</guid>
      <dc:creator>mahendrankr</dc:creator>
      <dc:date>2021-05-21T05:42:32Z</dc:date>
    </item>
  </channel>
</rss>

