<?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: Concatenation Multiple fact tables different dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352511#M826133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not necessary to have the same field names in all the LOAD statements. For each load, the missing field will be automatically loaded with null values. This normal for a fact table that contains more than one type of value or varying &lt;SPAN style="font-size: 13.3333px;"&gt;granularity levels &lt;/SPAN&gt;(eg budgets values and actual values).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 05:04:35 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-07-10T05:04:35Z</dc:date>
    <item>
      <title>Concatenation Multiple fact tables different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352509#M826131</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;At the moment I have three fact tables where two of the three would have some kind of relationship i.e the same CustomerID &amp;amp; DateEntered, I would also have a field called [Record Type] which would differentiate what each fact table is as per below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sales' as [Record Type]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,OrderId as [PK]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CustomerID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DateEntered&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,InvoiceDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Amount as Amount&lt;/P&gt;&lt;P&gt;From [..\Sales.qvd] (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Quotes' as [Record Type]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,QuoteId as [PK]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CustomerID&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DateEntered&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,LongDescription&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,QuoteAmount as Amount&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From [..\Quotes.qvd] (QVD);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;CONCATENATE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Schedules' as [Record Type]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,SchedueId &amp;amp;'_'&amp;amp;&lt;SPAN style="font-size: 13.3333px;"&gt;SchedueVisitNo&lt;/SPAN&gt; as [PK]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,PlaceId&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,ScheduleDateEntered as DateEntered&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,SchduleName as EngineerName&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From [..\Schdeules.qvd] (QVD)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The Sales and Quotes QVD's come from the same ERP system, the Schedules QVD is coming from a different Application altogether and has no relationship, I know this is a case of a Data Island issue but the end user wants it to be all on one Document.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;My question is, should I have the same amount of field names on each QVD and put a default value i.e 'UNKNOWN' if it is a Text Field and 0 if it value? Or does it matter if there are more fields on one qvd than the other qvd when CONCATENATE the qvd's together?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352509#M826131</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation Multiple fact tables different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352510#M826132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's not required to keep same amount of field names in each qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may try like below,&amp;nbsp; is (&lt;STRONG style="font-size: 13.3333px;"&gt;SchedueId &amp;amp; '|' &amp;amp; SchedueVisitNo&amp;nbsp; = &lt;SPAN style="font-size: 13.3333px;"&gt;CustomerID ?) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sales' as [Record Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderId as [PK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateEntered,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;CustomerID &amp;amp; '|' &amp;amp; Date(DateEntered) &amp;amp; '|' &amp;amp; 'Sales' as CustomerID_DateEntered_Type,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount as Amount&lt;/P&gt;&lt;P&gt;From [..\Sales.qvd] (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Fact)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Quotes' as [Record Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuoteId as [PK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateEntered,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LongDescription,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;CustomerID &amp;amp; '|' &amp;amp; Date(DateEntered) &amp;amp; '|' &amp;amp; 'Quotes' as CustomerID_DateEntered_Type,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuoteAmount as Amount&lt;/P&gt;&lt;P&gt;From [..\Quotes.qvd] (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Fact)&lt;/P&gt;&lt;P&gt; Load Schedules' as [Record Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SchedueId &amp;amp;'_'&amp;amp;SchedueVisitNo as [PK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PlaceId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScheduleDateEntered as DateEntered,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; SchedueId &amp;amp; '|' &amp;amp; SchedueVisitNo &amp;amp; '|' &amp;amp; Date(Floor(ScheduleDateEntered)) &amp;amp; '|' &amp;amp; 'Schedules' as CustomerID_DateEntered_Type,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SchduleName as EngineerName&lt;/P&gt;&lt;P&gt;From [..\Schdeules.qvd] (QVD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 01:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352510#M826132</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-07-10T01:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation Multiple fact tables different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352511#M826133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not necessary to have the same field names in all the LOAD statements. For each load, the missing field will be automatically loaded with null values. This normal for a fact table that contains more than one type of value or varying &lt;SPAN style="font-size: 13.3333px;"&gt;granularity levels &lt;/SPAN&gt;(eg budgets values and actual values).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 05:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Multiple-fact-tables-different-dimensions/m-p/1352511#M826133</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-07-10T05:04:35Z</dc:date>
    </item>
  </channel>
</rss>

