<?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: Creating Fact table using different tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863056#M302087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use ApplyMap to link a single field to another field (such as a simple lookup). If you have a more complex lookup using 2 fields you can use a Mapping Load followed by an ApplyMap statement using the concatenated fields as above. This may be a long process (to write) if you have multiple joins, but will optimize your performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 09:14:29 GMT</pubDate>
    <dc:creator>Roop</dc:creator>
    <dc:date>2015-04-07T09:14:29Z</dc:date>
    <item>
      <title>Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863051#M302082</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 created a fact table using below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;TID1,other fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;TID2,other fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 3&lt;BR /&gt;TID3,otherfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 4&lt;/P&gt;&lt;P&gt;TID4,otherfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are seprate tables available for linkage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linkage 1:&lt;/P&gt;&lt;P&gt;TID1,TID2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linkage 2&lt;/P&gt;&lt;P&gt;TID1,TID3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linkage 3:&lt;/P&gt;&lt;P&gt;TID1,TID3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linkage4:&lt;/P&gt;&lt;P&gt;TID1,TID4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am creating a fact table using&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;left&lt;/P&gt;&lt;P&gt;linkage1&lt;/P&gt;&lt;P&gt;lef join&lt;/P&gt;&lt;P&gt;linkage2&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;linkage 3&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Linkage 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;left join linkage1&lt;/P&gt;&lt;P&gt;left join linkage2&lt;/P&gt;&lt;P&gt;left join linkage 3&lt;/P&gt;&lt;P&gt;left join linkage4&lt;/P&gt;&lt;P&gt;same for Table 3 and Table 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then concatenating Table 1-4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will create my fact table 35 lacs record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to optimize this fact table.&lt;/P&gt;&lt;P&gt;Could you please suggets if there is any way to optimize this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 06:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863051#M302082</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2015-04-07T06:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863052#M302083</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;Use the Mapping table load in the Fact table if only two fields from any table or may be three ( By creating two fields and then do mapping load ) by this you can optimized it and also create different level of the Qvds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863052#M302083</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-04-07T07:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863053#M302084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand if you remember mapping load can have only two field in mapping.&lt;/P&gt;&lt;P&gt;here other fields means we have other fields name like F1,F2,F3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 08:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863053#M302084</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2015-04-07T08:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863054#M302085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the fields together with something like TID1 &amp;amp; '-' &amp;amp; TID2 as LinkageField and then do the ApplyMap. Works well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 08:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863054#M302085</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2015-04-07T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863055#M302086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you elaborate?&lt;/P&gt;&lt;P&gt;I didn't understood what doe linkage Tables contain and which&amp;nbsp; purpose&amp;nbsp; these solves?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 08:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863055#M302086</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-04-07T08:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863056#M302087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use ApplyMap to link a single field to another field (such as a simple lookup). If you have a more complex lookup using 2 fields you can use a Mapping Load followed by an ApplyMap statement using the concatenated fields as above. This may be a long process (to write) if you have multiple joins, but will optimize your performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 09:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863056#M302087</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2015-04-07T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863057#M302088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1,Table 2 ,Table 3 ,Table 4 has no link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so we are using linkage table which shows linkage between these four table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linkage tables are intermediate table for two tables from table 1-4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this make sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 05:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863057#M302088</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2015-04-08T05:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863058#M302089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;BR /&gt;do you thing we can create TID1&amp;amp;'-'&amp;amp;TID2 without using left join. as TID2 is not available in Table 1&lt;/P&gt;&lt;P&gt;or if i dont understant&lt;/P&gt;&lt;P&gt;do you mean after doing left join then create TID&amp;amp;'-'&amp;amp;TID2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 05:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863058#M302089</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2015-04-08T05:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863059#M302090</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;Something like this (assuming Table2, 3, and 4 contain too many fields to join in using ApplyMap):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Map2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD TID1, TID2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Linkage1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Map3:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD TID1, TID3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Linkage1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Map4:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD TID1, TID4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Linkage1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD TID1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ApplyMap('Map2', TID1) As TID2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ApplyMap('Map3', TID1) As TID3,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ApplyMap('Map4', TID1) As TID4,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * FROM Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * FROM Table3;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * FROM Table4;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 05:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863059#M302090</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-08T05:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fact table using different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863060#M302091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks its really good solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but from Table 2 the record which are not linked to Table1 (Record(TID2 which have no TID1 )will visible using this model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to display all record from Table1,Table2,Table3,Table 4&lt;BR /&gt;thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 05:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Fact-table-using-different-tables/m-p/863060#M302091</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2015-04-08T05:56:04Z</dc:date>
    </item>
  </channel>
</rss>

