<?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 Concatenated table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenated-table/m-p/149090#M27301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After so many problems with trying to created link table to link mulitiple fact tables, I have decided to concate all fact tables into one large table. For each fact table, I added a field to identify the type of data. Currently all fact types use the same qty and value fields. This okay when comparing activity among the different types in a line chart or bar chart, but I don't know how to calculate variances between the different types. Example:&lt;/P&gt;&lt;P&gt;Sales vs Forecast variance. Sales and Forecast was loaded from the same fact table in concatenated with other fact tables. Other fact tables are Open orders, booked orders, etc.. How can I do calculations on the same fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Jul 2009 04:21:15 GMT</pubDate>
    <dc:creator>karensmith</dc:creator>
    <dc:date>2009-07-12T04:21:15Z</dc:date>
    <item>
      <title>Concatenated table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-table/m-p/149090#M27301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After so many problems with trying to created link table to link mulitiple fact tables, I have decided to concate all fact tables into one large table. For each fact table, I added a field to identify the type of data. Currently all fact types use the same qty and value fields. This okay when comparing activity among the different types in a line chart or bar chart, but I don't know how to calculate variances between the different types. Example:&lt;/P&gt;&lt;P&gt;Sales vs Forecast variance. Sales and Forecast was loaded from the same fact table in concatenated with other fact tables. Other fact tables are Open orders, booked orders, etc.. How can I do calculations on the same fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2009 04:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-table/m-p/149090#M27301</guid>
      <dc:creator>karensmith</dc:creator>
      <dc:date>2009-07-12T04:21:15Z</dc:date>
    </item>
    <item>
      <title>Concatenated table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-table/m-p/149091#M27302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create multiple flag in the same fact table. Fir example&lt;/P&gt;&lt;P&gt;for sales data you would:&lt;/P&gt;&lt;P&gt;FACT:&lt;BR /&gt;LOAD&lt;BR /&gt; 'Sales' as AmountType,&lt;BR /&gt; 100 as Amount,&lt;BR /&gt; 'M1' as Material,&lt;BR /&gt; .....&lt;BR /&gt; .....&lt;BR /&gt; 1 as Flag_Sales,&lt;BR /&gt; 0 as Flag_Frcst&lt;BR /&gt;FROM......&lt;/P&gt;&lt;P&gt;And for Forecast data you would:&lt;/P&gt;&lt;P&gt;FACT:&lt;BR /&gt;LOAD&lt;BR /&gt; 'Forecast' as AmountType,&lt;BR /&gt; 200 as Amount,&lt;BR /&gt; 'M1' as Material,&lt;BR /&gt; .....&lt;BR /&gt; .....&lt;BR /&gt; 0 as Flag_Sales,&lt;BR /&gt; 1 as Flag_Frcst&lt;BR /&gt;FROM......&lt;/P&gt;&lt;P&gt;Then on the chart you would multiple with the corresponding flag to get that value. So to get just sales amount you would multiply Amount with Flag_Sales and you would get sum of Sales amount --&amp;gt; sum(Amount * Flag_Sales).&lt;/P&gt;&lt;P&gt;Hope I answered what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2009 05:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-table/m-p/149091#M27302</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-07-12T05:46:29Z</dc:date>
    </item>
  </channel>
</rss>

