<?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 Strange issue with dates from two fact tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831722#M292656</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;&lt;/P&gt;&lt;P&gt;I have a 2 fact tables, connected to a master calendar like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="date.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86120_date.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two fact tables are unique in that "Revenue" fact has data for each day, however, "TRADESPLITS" does not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a Select in Field trigger for Product2 in "Revenue" table, such that selecting Product2 triggers the same selection in Product1 in TRADESPLITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Product EMEA in April 2015, TRADESPLITS has no data for 3rd and 6th April, whereas Revenue does. When I select the trigger field (Product2), the dates from CalendarDate2 de-select 3rd and 6th April - this causes the summation of revenues from the Revenue fact to be incorrect. How can I make it such that 3rd and 6th April stay in selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missing dates.png" class="jive-image image-2" src="/legacyfs/online/86122_missing dates.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 07:26:11 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2015-05-11T07:26:11Z</dc:date>
    <item>
      <title>Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831722#M292656</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;&lt;/P&gt;&lt;P&gt;I have a 2 fact tables, connected to a master calendar like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="date.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86120_date.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two fact tables are unique in that "Revenue" fact has data for each day, however, "TRADESPLITS" does not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a Select in Field trigger for Product2 in "Revenue" table, such that selecting Product2 triggers the same selection in Product1 in TRADESPLITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Product EMEA in April 2015, TRADESPLITS has no data for 3rd and 6th April, whereas Revenue does. When I select the trigger field (Product2), the dates from CalendarDate2 de-select 3rd and 6th April - this causes the summation of revenues from the Revenue fact to be incorrect. How can I make it such that 3rd and 6th April stay in selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missing dates.png" class="jive-image image-2" src="/legacyfs/online/86122_missing dates.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831722#M292656</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-11T07:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831723#M292657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's rather not possible to link these data directly with two normal fact-tables. Several fact-tables will be always cause potential problems. Therefore it's recommended to use a star-sheme model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I your case you could add all missing date-values to your fact-tables or to concatenate both tables to one single fact-table (this is my preferred method to handle several fact-tables - it's easy within the script and fast within the gui).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831723#M292657</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-11T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831724#M292658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;Marcus_Sommer&lt;/A&gt;‌, are you saying I should concatenate the Revenue table and TRADESPLITS table, even though all fields (except Product and Date) are different?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 10:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831724#M292658</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-11T10:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831725#M292659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would trying it. Concatenated tables could be in general asynchron whereby by only a few common fields a link-table model might be better. But the concat is very easy whereas the link-table needs more efforts (and could be done later as an optimizing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 10:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831725#M292659</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-11T10:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831726#M292660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also think of concatenating the date fields and renaming them in the master calendar. like&lt;/P&gt;&lt;P&gt;Linktable:&lt;/P&gt;&lt;P&gt;LOAD distinct Calendardate2 as CommonDate&lt;/P&gt;&lt;P&gt;resident RevenueTable;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD distinct TradeSplitsDate as CommonDate&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;resident TradeSplits;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now use this CommonDate to built your master calendar and make fields like below in master calendar to link with Facts&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;CommonDate as &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Calendardate2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;CommonDate as TradeSplits&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 12:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831726#M292660</guid>
      <dc:creator />
      <dc:date>2015-05-11T12:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831727#M292661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I concatenate the 2 fact tables, it doesn't allow you to choose a product in 1 table, to be associated with the same product in the other table. I have tried several methods including LinkTables but I don't think this is really possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 02:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831727#M292661</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-12T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831728#M292662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/100169"&gt;itsangad&lt;/A&gt;‌ I tried this but it doesn't work. The issue is, selecting a Product in TRADESPLITS, where 3rd and 6th April are missing, automatically de-selects 3rd and 6th April from the Revenue fact table (even though these dates exist in the Revenue fact).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 02:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831728#M292662</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-12T02:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831729#M292663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then Sifat, you need fill in data for the missing dates. check : &lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you could attach a sample QVW file with same model, and expected results. That will help community members to give quick responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 04:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831729#M292663</guid>
      <dc:creator />
      <dc:date>2015-05-12T04:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831730#M292664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a sample data for quick responses and for correct result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831730#M292664</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-05-12T05:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue with dates from two fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831731#M292665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two different aspects of this case. One is the linking between two fact-tables which only worked correct if you have a perfect key. If you concatenated those tables to one single table there isn't any link-issue anymore - but this solved not the case if there aren't records for certain data-areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to display NULL within charts you need to generate all missing data (for only to notice NULL isn't it necessary to do it you could see it through the qv color-sheme of green/white/gray). For this see to the link from &lt;A href="https://community.qlik.com/qlik-users/100169"&gt;itsangad&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-with-dates-from-two-fact-tables/m-p/831731#M292665</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-12T07:47:25Z</dc:date>
    </item>
  </channel>
</rss>

