<?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: Two Fact Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213849#M854857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 flags created i.e salesflag and palnflag will help u while handling In sets..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2017 09:36:05 GMT</pubDate>
    <dc:creator>sdmech81</dc:creator>
    <dc:date>2017-02-17T09:36:05Z</dc:date>
    <item>
      <title>Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213845#M854853</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 in QlikView.&lt;/P&gt;&lt;P&gt;I have two Fact table in my model:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales:&lt;/STRONG&gt; DateKey and Sales&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plan:&lt;/STRONG&gt; DateKey, ProductKey and Plan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and we have Product master data table.&lt;/P&gt;&lt;P&gt;My Pivot table should have below fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, Product Group, Sales and Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we make concatenate of those two table. Will my purpose be fulfill?&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&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/Two-Fact-Table/m-p/1213845#M854853</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213846#M854854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Mohammad we didn't understand your requirement properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate/Expand&amp;nbsp; requirement and specify required output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213846#M854854</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2017-02-17T09:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213847#M854855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two Fat Tables. One is Sales and another is Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales:&lt;/STRONG&gt; DateKey and Sales Value&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plan:&lt;/STRONG&gt; DateKey, ProductKey and Plan Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However in chart we need to show Date, Product, Sales Value and Plan Value. Where Sales Value and Plan Value is coming from two different tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what would be the way to handle this situation.&lt;/P&gt;&lt;P&gt;I was thinking to concatenate two Fact tables. Is it right way?&lt;/P&gt;&lt;P&gt;Please advice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213847#M854855</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-02-17T09:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213848#M854856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since sales r plans r 2 different entities u can concatenate them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;load datekey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'sales' as salesflag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ........................&lt;/P&gt;&lt;P&gt;from sales.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&gt;load datekey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product_key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Plan' as PlanFalg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ........................&lt;/P&gt;&lt;P&gt;From paln.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product master:&lt;/P&gt;&lt;P&gt;Load * from product master.qvd..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product master will asscociate with fact through product_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if not clear..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213848#M854856</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T09:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213849#M854857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 flags created i.e salesflag and palnflag will help u while handling In sets..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213849#M854857</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213850#M854858</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;Instead of concatenate try to join two tables if you have one matching key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213850#M854858</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2017-02-17T09:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213851#M854859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okk... but my understanding is the field name of the flag should be same. Not different like Sales Flag and Plan Flag.&lt;/P&gt;&lt;P&gt;I think it should be only flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213851#M854859</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-02-17T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213852#M854860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go with Join instead of Concatenate..&lt;/P&gt;&lt;P&gt;For your scenario, Flag is not required anymore. Because you have different type of KPI (Plan and Sales).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213852#M854860</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2017-02-17T09:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213853#M854861</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;In ur case Is that Date_key is the same fr both sales n plan table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think so bcs in real world scenario sales date and plan table dates r different..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I suggested u the concatenate..If they r the same date u can go ahead with Join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But do check bfr joining as I don't think its the same date bcs dates r generated ib DB so thr is going to b some difference aswell..If in both fact its the same date then u go ahead with join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 11:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213853#M854861</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T11:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two Fact Table</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213854#M854862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better attach sample data so tht ppl can throw their views properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 11:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Fact-Table/m-p/1213854#M854862</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T11:50:13Z</dc:date>
    </item>
  </channel>
</rss>

