<?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: Data Model with 2 fact tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723495#M1070081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I'll try the optimized table to see if it will work faster. &lt;/P&gt;&lt;P&gt;2. The income is NULL anyway where Record Type = Lead, so when I do Sum(income) it would only summarize income that comes from Record Type = Sales... would you still suggest to add &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;$&amp;lt;[RecordType] = {'Sales'&lt;/SPAN&gt;} in order to make it work faster, or it doesn't really matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 06:25:53 GMT</pubDate>
    <dc:creator>linoyel</dc:creator>
    <dc:date>2014-08-28T06:25:53Z</dc:date>
    <item>
      <title>Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723483#M1070056</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;I'm thinking what's the best way to build a data model.&lt;/P&gt;&lt;P&gt;The thing is that I have 2 fact tables in it which is not right to concatenate (the model is attached).&lt;/P&gt;&lt;P&gt;The one has information about Customers (Leads table) and the second holds information about Customer Payments (LeadSalesPayments table).&lt;/P&gt;&lt;P&gt;They are linked by unique_num.&lt;/P&gt;&lt;P&gt;I have to build 2 kind of reports:&lt;/P&gt;&lt;P&gt;1. Regarding Payments&lt;/P&gt;&lt;P&gt;2. Regarding Leads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've started with Payments reports and using the attached Data Model it works perfect.&lt;/P&gt;&lt;P&gt;In this model Leads table is kind of a dimension table for Payments...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I need to build Leads reports and take the info from Leads table.&lt;/P&gt;&lt;P&gt;The problem is that it's linked to other dimensions like Agents through LeadSalesPayments table, and it won't be right.&lt;/P&gt;&lt;P&gt;For example, In Leads table I have lead_agent_id and I need to get his name. But I can't link Leads table directly to Agents table because it's already linked through LeadSalesPayments table. Not all unique_nums in Leads appear also in LeadSalePayments table, so I'll loose data... another example is dates: my Calendar is linked to Payments table. But in Leads table there is createDate field of the lead and I need it to be linked to the Calendar for Leads Reports...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, the best thing here, I guess, is to build 2 different docs, one for Leads and one for Sales but I still wonder if it's possible to build it in the same document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723483#M1070056</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-21T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723484#M1070057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I definitely recommend you to concatenate the 2 fact tables.&lt;/P&gt;&lt;P&gt;All these dimensions tables you have in your model can also disappear but simply using apply map and moving the resulting field to the facts table (provided there is not a many to many relationship).&lt;/P&gt;&lt;P&gt;QlikView is not performing well with any other data model type than a star schema.&lt;/P&gt;&lt;P&gt;Please see attached document for more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723484#M1070057</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-21T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723485#M1070059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, but if I concatenate them how I'll know which uniques are coming from Leads and which uniques are coming from Payments?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723485#M1070059</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-21T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723486#M1070062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either by using a count on a field that is not present in both tables or by creating such a field like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;,'Leads' as Origin&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;,'Payments' as Origin&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 14:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723486#M1070062</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-21T14:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723487#M1070065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;And what about dates?&lt;/P&gt;&lt;P&gt;Payments table is connected to calendar.&lt;/P&gt;&lt;P&gt;But in Leads table there's also a date (createDate field) which also needs to be connected to calendar...&lt;/P&gt;&lt;P&gt;For example, if user will request to know how many leads&amp;nbsp; (uniques) were on a certain day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 14:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723487#M1070065</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-21T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723488#M1070068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you need to create 2 different calendars.&lt;/P&gt;&lt;P&gt;See attached a nice example file from Rob Wunderlich.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 14:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723488#M1070068</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-21T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723489#M1070069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ioannis.&lt;/P&gt;&lt;P&gt;I'll try what you've suggested &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 14:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723489#M1070069</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-21T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723490#M1070070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 14:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723490#M1070070</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-21T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723491#M1070072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioannis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to concatenate the 2 tables as you've suggested but I didn't work for me since the concatenation just adds all the rows of one table to another. I loose the chance to get to the dimensions such as ClientsCountries, Substatuses etc. All these get NULL in Payments table.&lt;/P&gt;&lt;P&gt;I can load Leads table twice from the DB - once for Concatenation with Sales, and once for the connection to the dimensions by unique_num. But Leads table is huge, and I'm sure there's another way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 09:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723491#M1070072</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-24T09:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723492#M1070075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, When you concatenate the two fact tables together make sure you have the same field names in both fact tables, even if you don't have a field name that is in one fact table but do in the other when you are creating your qvd just have a empty string '' or a numeric value 0 if it is a numeric field like something below example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LeadsSalesPayment:&lt;/P&gt;&lt;P&gt;Load *;&lt;/P&gt;&lt;P&gt;SQL &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'LeadSales' as RecordType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unique_num,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceNumber_key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserBonusesID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShiftHoursID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '' as category_id&lt;/P&gt;&lt;P&gt;From TableLeadSales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store LeadsSalesPayment into c:\Temp\LeadsSalesPayment.qvd (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE LeadsSalesPayment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leads:&lt;/P&gt;&lt;P&gt;Load *;&lt;/P&gt;&lt;P&gt;SQL Select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Lead' as RecordType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unique_num,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 as InvoiceNumber_key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 as UserBonusesID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 as ShiftHoursID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; category_id&lt;/P&gt;&lt;P&gt;From TableLeads;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Leads into c:\Temp\Leads.qvd (QVD); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Leads;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means when you concatenate the two fact tables into your QVW Document it will optimize the load and will make the performance quicker to load in.&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; RecordType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unique_num,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceNumber_key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserBonusesID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShiftHoursID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; category_id&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\Temp\LeadsSalesPayment.qvd (QVD); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;CONCATENATE &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecordType, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unique_num, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceNumber_key, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserBonusesID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShiftHoursID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; category_id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\Temp\Leads.qvd (QVD); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Is your calendar going to be using the same date from the two fact tables?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 21:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723492#M1070075</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2014-08-24T21:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723493#M1070078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Denis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've concatenated the 2 tables (by the way, there's no need to have the same fields, Qlikview just puts NULL in the field that exists in one table and not another).&lt;/P&gt;&lt;P&gt;In addition to that, I've connected the concatenated table to one of these 2 tables - Leads table (which means I basically loaded one of the tables twice) - in order to get dimension values for the concatenated table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the calendar is the same.&lt;/P&gt;&lt;P&gt;In my reports I show measures for different fields for Sales and for Leads so QV knows to take the right rows.&lt;/P&gt;&lt;P&gt;For example, sum(income) will show the right result because only the rows from the Sales table in concatenated table have values in the field Income.&lt;/P&gt;&lt;P&gt;In Leads Report, if I want to show count(leads) I use Set Analysis to get the unique_nums only from the rows which came from Leads table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723493#M1070078</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-27T12:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723494#M1070080</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;I would suggest having the two fact tables concatenated together, you need to have the same fields in both for the optimized to work which makes the load time much faster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Income Value, you would then use the set analysis expression to only show the fact table you want the value taken from, something like the below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[RecordType] = {'Lead'}&amp;gt;}&amp;nbsp; [Income])&lt;/P&gt;&lt;P&gt;&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, 27 Aug 2014 22:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723494#M1070080</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2014-08-27T22:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723495#M1070081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I'll try the optimized table to see if it will work faster. &lt;/P&gt;&lt;P&gt;2. The income is NULL anyway where Record Type = Lead, so when I do Sum(income) it would only summarize income that comes from Record Type = Sales... would you still suggest to add &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;$&amp;lt;[RecordType] = {'Sales'&lt;/SPAN&gt;} in order to make it work faster, or it doesn't really matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 06:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723495#M1070081</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-28T06:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723496#M1070083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i would use set analysis to differentiate which fact table you are going to be using. It should not be null as it should show 0 as when you create qvd for the Lead have a 0 for the field income.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 19:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723496#M1070083</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2014-08-30T19:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723497#M1070084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, last question:&lt;/P&gt;&lt;P&gt;in optimized concatenated table I put 0 for columns that don't exist in one of the tables - but it's OK just for numeric values.&lt;/P&gt;&lt;P&gt;What about string values? Is NULL OK to put there? Will it still be an optimized load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 07:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723497#M1070084</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-31T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723498#M1070085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I for non numerical fields I would put two single quotes '' and then the name of field so like the below: '' as FieldA Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 11:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723498#M1070085</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2014-08-31T11:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723499#M1070086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 11:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723499#M1070086</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-08-31T11:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model with 2 fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723500#M1070087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No probs, everyone on here is happy to help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 21:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Model-with-2-fact-tables/m-p/723500#M1070087</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2014-08-31T21:30:57Z</dc:date>
    </item>
  </channel>
</rss>

