<?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 Data model with 2 fact tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-model-with-2-fact-tables/m-p/1824674#M1213865</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I have below scenario:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1627365416928.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59163i96FC5B6C1CD6445F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1627365416928.png" alt="Aspiring_Developer_0-1627365416928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have created dimensions table and linked it with referenced table like below:-&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_PROJECT_DIVISION';$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %DivisionId,&lt;BR /&gt;ref_title as [Division Name]&lt;BR /&gt;FROM [...]&lt;BR /&gt;(qvd)&lt;BR /&gt;WHERE ref_type = 'DIVISION_NEW';&lt;/P&gt;&lt;P&gt;//--------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_User_Department';&lt;/P&gt;&lt;P&gt;$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %OrganizationLevel1Id,&lt;BR /&gt;ref_title as [Department Name]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[...]&lt;BR /&gt;(qvd)&lt;BR /&gt;where ref_type ='ORG_LEVEL_1_NEW';&lt;/P&gt;&lt;P&gt;//---------------------------------------------------------&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_User_Service';&lt;/P&gt;&lt;P&gt;$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %OrganizationLevel2Id,&lt;BR /&gt;ref_title as [Service Name]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[...](qvd)&lt;BR /&gt;where ref_type ='ORG_LEVEL_2_NEW';&lt;/P&gt;&lt;P&gt;//---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;User:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;orga_level_1 as %OrganizationLevel1Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;division as %DivisionId ,&lt;BR /&gt;service_id as %OrganizationLevel2Id&lt;BR /&gt;From [....User.qvd](qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Card: Load division as %DivisionId,&lt;BR /&gt;orga_level_1 as %OrganizationLevel1Id,&lt;BR /&gt;orga_level_2 as %OrganizationLevel2Id&lt;/P&gt;&lt;P&gt;From[....Card.qvd](qvd);&lt;/P&gt;&lt;P&gt;//-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;So, i have kind of two fact tables in the above model.&lt;/P&gt;&lt;P&gt;I tried to create link table approach , however it didn't worked because it breaks the link with dimension table like below:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_2-1627366450545.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59168iD1B70F1717991763/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_2-1627366450545.png" alt="Aspiring_Developer_2-1627366450545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me how to resolve this issue ? Please help .&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 06:15:28 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2021-07-27T06:15:28Z</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/1824674#M1213865</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I have below scenario:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1627365416928.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59163i96FC5B6C1CD6445F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1627365416928.png" alt="Aspiring_Developer_0-1627365416928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have created dimensions table and linked it with referenced table like below:-&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_PROJECT_DIVISION';$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %DivisionId,&lt;BR /&gt;ref_title as [Division Name]&lt;BR /&gt;FROM [...]&lt;BR /&gt;(qvd)&lt;BR /&gt;WHERE ref_type = 'DIVISION_NEW';&lt;/P&gt;&lt;P&gt;//--------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_User_Department';&lt;/P&gt;&lt;P&gt;$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %OrganizationLevel1Id,&lt;BR /&gt;ref_title as [Department Name]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[...]&lt;BR /&gt;(qvd)&lt;BR /&gt;where ref_type ='ORG_LEVEL_1_NEW';&lt;/P&gt;&lt;P&gt;//---------------------------------------------------------&lt;/P&gt;&lt;P&gt;LET vDimension = 'DIM_User_Service';&lt;/P&gt;&lt;P&gt;$(vDimension):&lt;BR /&gt;LOAD&lt;BR /&gt;ref_id as %OrganizationLevel2Id,&lt;BR /&gt;ref_title as [Service Name]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[...](qvd)&lt;BR /&gt;where ref_type ='ORG_LEVEL_2_NEW';&lt;/P&gt;&lt;P&gt;//---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;User:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;orga_level_1 as %OrganizationLevel1Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;division as %DivisionId ,&lt;BR /&gt;service_id as %OrganizationLevel2Id&lt;BR /&gt;From [....User.qvd](qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Card: Load division as %DivisionId,&lt;BR /&gt;orga_level_1 as %OrganizationLevel1Id,&lt;BR /&gt;orga_level_2 as %OrganizationLevel2Id&lt;/P&gt;&lt;P&gt;From[....Card.qvd](qvd);&lt;/P&gt;&lt;P&gt;//-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;So, i have kind of two fact tables in the above model.&lt;/P&gt;&lt;P&gt;I tried to create link table approach , however it didn't worked because it breaks the link with dimension table like below:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_2-1627366450545.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59168iD1B70F1717991763/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_2-1627366450545.png" alt="Aspiring_Developer_2-1627366450545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me how to resolve this issue ? Please help .&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 06:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-model-with-2-fact-tables/m-p/1824674#M1213865</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2021-07-27T06:15:28Z</dc:date>
    </item>
  </channel>
</rss>

