<?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: Combining two data models into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619241#M594845</link>
    <description>&lt;P&gt;1. but now I want when i am working on data model 2 in front end then calender2 should get active and when I am working on data model 1 then csalender 1 should work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vDocPath = DocumentName();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If $(vDocPath) = 'DataModel1.qvw' Then&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * Resident Calendar_Model1;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Else&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * Resident Calendar_Model2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ELSEIF&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. I want to connect data model2 with data model1 because i want to apply some feilds like zone,sbu (filters) from data model 1 into data model 2&lt;/P&gt;&lt;P&gt;Run same script from scenario-(1) and load Entire model 1 into script&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2019 11:26:34 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-09-02T11:26:34Z</dc:date>
    <item>
      <title>Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1618948#M594834</link>
      <description>Hi ALL, I have created a dashboard on audit analysis and now want to combine fact table of audit dashboard into the fact of some other dashboard Following is the scenario :- I have two dashboards For dashboard1(newly created) I have firstly extracted the data from database and stored in qvd for dashboard 1(audit dashboard) then I have applied business logic on stage 2 and then again stored in qvd now I want to combine fact table of audit dashboard into some other fact of already existing dashboard Please help meto resolve the above scenario. Regards Sakshi</description>
      <pubDate>Fri, 30 Aug 2019 16:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1618948#M594834</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-08-30T16:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1618977#M594835</link>
      <description>Not compltely clear on your question but usual approach is You can either concatenate fact tables or you can create Link table based on the scenarios.&lt;BR /&gt;below is a technical brief on combining fact tables&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Fact-Table-with-Mixed-Granularity/ba-p/1468238" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Fact-Table-with-Mixed-Granularity/ba-p/1468238&lt;/A&gt;</description>
      <pubDate>Fri, 30 Aug 2019 19:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1618977#M594835</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-30T19:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619024#M594836</link>
      <description>Hi Thanks for your reply. I am having following data model after I have concatenated new fact into already existing fact. I am getting duplicate keys so, I want to know do I have to make a composite key for the same ?</description>
      <pubDate>Sat, 31 Aug 2019 04:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619024#M594836</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-08-31T04:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619035#M594837</link>
      <description>&lt;P&gt;If you are concatenating fact tables you should create a new column e g. Facttype. Then you refer to that in set analysis&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 09:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619035#M594837</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-31T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619046#M594838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please explain with a eg?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 13:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619046#M594838</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-08-31T13:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619048#M594839</link>
      <description>&lt;P&gt;I may suggest load old QVW to new qvw using binary load.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619048#M594839</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-31T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619052#M594840</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18262i47182A24429092DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after I have applied binary load I am getting the following result, Now how to handle the same ?&lt;/P&gt;&lt;P&gt;Both the data models have calendar so now how to manage these calender?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 15:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619052#M594840</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-08-31T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619053#M594841</link>
      <description>&lt;P&gt;Drop the calendar in Old qvw and use same date field from old and new then create Calendar in new qvw for latest date field.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 15:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619053#M594841</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-31T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619054#M594842</link>
      <description>Hi date field in new calender is diff and date field in old calendar is different. Now how to deal with that?</description>
      <pubDate>Sat, 31 Aug 2019 15:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619054#M594842</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-08-31T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619055#M594843</link>
      <description>&lt;P&gt;If those date fields are different If there is any Primary key which can read the all clubbed rows.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Old_Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Old_DF as DateField Resident Fact1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(Old_Fact)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load New_DF as DateField Resident Fact2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All other dimension table are follows. Then, Create master calendar based on DateField which is same from all fact tables.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 16:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619055#M594843</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-31T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619180#M594844</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Theses are two separate data models(in picture below) which I have created in single qvw.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2 seperate data models in single qvw" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18302i4A671FD1E4187648/image-size/large?v=v2&amp;amp;px=999" role="button" title="modeldemo.png" alt="2 seperate data models in single qvw" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2 seperate data models in single qvw&lt;/span&gt;&lt;/span&gt;1. but now I want when i am working on data model 2 in front end then calender2 should get active and when I am working on data model 1 then csalender 1 should work&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I want to connect data model2 with data model1 because i want to apply some feilds like zone,sbu (filters) from data model 1 into data model 2&lt;/P&gt;&lt;P&gt;No how to handle both the things&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 08:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619180#M594844</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2019-09-02T08:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619241#M594845</link>
      <description>&lt;P&gt;1. but now I want when i am working on data model 2 in front end then calender2 should get active and when I am working on data model 1 then csalender 1 should work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vDocPath = DocumentName();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If $(vDocPath) = 'DataModel1.qvw' Then&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * Resident Calendar_Model1;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Else&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * Resident Calendar_Model2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ELSEIF&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. I want to connect data model2 with data model1 because i want to apply some feilds like zone,sbu (filters) from data model 1 into data model 2&lt;/P&gt;&lt;P&gt;Run same script from scenario-(1) and load Entire model 1 into script&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 11:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1619241#M594845</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-09-02T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combining two data models into one</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1622237#M594846</link>
      <description>&lt;P&gt;Just wanted to add the following Design Blob post at this point, as it seems it may be useful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Be sure to mark any posts that helped you resolve issues using the Accept as Solution button so others will know which posts helped you resolve the issues you encountered.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 16:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-two-data-models-into-one/m-p/1622237#M594846</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-10T16:34:42Z</dc:date>
    </item>
  </channel>
</rss>

