<?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 import such simple cross tables with shared fields? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108354#M890513</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;this morning I wanted to import some simple forecast data: annual volumes and average prices of some products and some clients.&lt;/P&gt;&lt;P&gt;Turned out that I ended with a lot of attempts to manipulate tables, creating synthetic keys and still getting wrong results. &lt;STRONG&gt;Horrible&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a small example to illustrate the problem:&lt;/P&gt;&lt;P&gt;There are 3 clients and 2 products. Each combination has got a forecast of sales volume and price in 2 different crosstables.&lt;/P&gt;&lt;P&gt;I need to import this data with the fields Company, Product, Volume, Price and Year to match against real annual sales volume and price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample data is inline. I also added an xlsx with same data. (I created the data.xlsx as I was wondering if there is an issue with applying crosstable to inline-data.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Year" that is created using the crosstable and shared between both tables creates also a synthetic key. Interestingly I can not integrate the "Year" into my complex keys (even when I preload the data form the crosstable),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>andreas_koehler</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to import such simple cross tables with shared fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108354#M890513</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;this morning I wanted to import some simple forecast data: annual volumes and average prices of some products and some clients.&lt;/P&gt;&lt;P&gt;Turned out that I ended with a lot of attempts to manipulate tables, creating synthetic keys and still getting wrong results. &lt;STRONG&gt;Horrible&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a small example to illustrate the problem:&lt;/P&gt;&lt;P&gt;There are 3 clients and 2 products. Each combination has got a forecast of sales volume and price in 2 different crosstables.&lt;/P&gt;&lt;P&gt;I need to import this data with the fields Company, Product, Volume, Price and Year to match against real annual sales volume and price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample data is inline. I also added an xlsx with same data. (I created the data.xlsx as I was wondering if there is an issue with applying crosstable to inline-data.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Year" that is created using the crosstable and shared between both tables creates also a synthetic key. Interestingly I can not integrate the "Year" into my complex keys (even when I preload the data form the crosstable),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&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-import-such-simple-cross-tables-with-shared-fields/m-p/1108354#M890513</guid>
      <dc:creator>andreas_koehler</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to import such simple cross tables with shared fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108355#M890514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rehi!&lt;/P&gt;&lt;P&gt;There is a small error in the statement that does not change the situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PriceForecast:&lt;/P&gt;&lt;P&gt;CrossTable(Year, Price, 2)&lt;/P&gt;&lt;P&gt;LOAD Company &amp;amp; '|' &amp;amp; Product as %Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2016], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2017], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2018]&lt;/P&gt;&lt;P&gt;/*FROM&lt;/P&gt;&lt;P&gt;[data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Price);&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;resident &lt;STRONG&gt;ImportPrice;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 17:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108355#M890514</guid>
      <dc:creator>andreas_koehler</dc:creator>
      <dc:date>2016-08-29T17:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to import such simple cross tables with shared fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108356#M890515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VolumeForecast:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Year, Volume, 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Company, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2016], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2017], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2018]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ImportVolume;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PriceForecast:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Year, Price)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Company, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2016], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2017], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2018]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ImportVolume;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident VolumeForecast;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (FinalTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident PriceForecast;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Tables ImportVolume,ImportPrice, PriceForecast, VolumeForecast;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 17:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-such-simple-cross-tables-with-shared-fields/m-p/1108356#M890515</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-29T17:45:55Z</dc:date>
    </item>
  </channel>
</rss>

