<?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: Scripting - Best Way To Load Two Datamarts in One QV Model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925008#M320102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your Answer Marcus, I'll use the concatenate approach.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 21:50:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-11T21:50:31Z</dc:date>
    <item>
      <title>Scripting - Best Way To Load Two Datamarts in One QV Model</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925006#M320100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends, How are You?&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;For a market analysis application, we need to combine two datamarts . Both models have the same dimensions and the same structure in the fact table . However content is not similar . For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: (As you can see I have the same dimension and the same fact structure, but for example for the product dimension doesn't have the same products.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model 1- Market Sector 1&lt;/P&gt;&lt;P&gt;Product Dimension&lt;/P&gt;&lt;P&gt;Time Dimension&lt;/P&gt;&lt;P&gt;Client Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ProductId,TimeId,ClientId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Units,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sales,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Model 2- Market Sector 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Product Dimension&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Time Dimension&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Client Dimension&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Fact:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;ProductId,TimeId,ClientId&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Units,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sales,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can use concatenate to have all in one model and use flag to identified what market analysis is (On Dimension and Fact Tables), but when the users swicth between both market analysis I want to present on the dimension only data relationed to the market analysis that the user select. Is possible to do that? Maybe I can use Qualify To have botht datamart separated in one application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925006#M320100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-10T12:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Best Way To Load Two Datamarts in One QV Model</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925007#M320101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would excactly use the concatenate approach and flag both facts and dimensions from where they are. You could then exclude impossible values from displaying within the listboxes per options (tab general) or you used an expression with conditions within the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use in a similar case the approach the flag to select and then to lock - afterwards the dimension-values from the other side aren't selectable anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925007#M320101</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-10T13:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting - Best Way To Load Two Datamarts in One QV Model</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925008#M320102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your Answer Marcus, I'll use the concatenate approach.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 21:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Best-Way-To-Load-Two-Datamarts-in-One-QV-Model/m-p/925008#M320102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T21:50:31Z</dc:date>
    </item>
  </channel>
</rss>

