<?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: How to use same data model with multiple apps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044040#M351136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is kind of a loop &amp;amp; reduce approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest writing a small macro that loops through your customer IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within each loop, open the base QVW, select the customer ID, reduce data to possible values, save to a new QVW with customer ID added to filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[I assume you don't have a QV publisher at hand.]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 21:44:44 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-02-03T21:44:44Z</dc:date>
    <item>
      <title>How to use same data model with multiple apps</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044039#M351135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a data model and want to use it for multiple apps with each app just using a specific data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: I have a data model that is binary load into apps A, B C&lt;/P&gt;&lt;P&gt;A should data filtered down to customer ID= 1&lt;/P&gt;&lt;P&gt;B should data filtered down to customer ID= 2&lt;/P&gt;&lt;P&gt;C should data filtered down to customer ID= 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how i go about doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044039#M351135</guid>
      <dc:creator>srik00001</dc:creator>
      <dc:date>2016-02-03T21:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use same data model with multiple apps</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044040#M351136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is kind of a loop &amp;amp; reduce approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest writing a small macro that loops through your customer IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within each loop, open the base QVW, select the customer ID, reduce data to possible values, save to a new QVW with customer ID added to filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[I assume you don't have a QV publisher at hand.]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044040#M351136</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-03T21:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use same data model with multiple apps</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044041#M351137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add a right join to filter the customer, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this data was your data model (probably more complex&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;LOAD * inline [&lt;/P&gt;&lt;P&gt; customer&lt;/P&gt;&lt;P&gt; 1,&lt;/P&gt;&lt;P&gt; 2,&lt;/P&gt;&lt;P&gt; 3&lt;/P&gt;&lt;P&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you do the binary statement and all the set statements &lt;SPAN style="font-size: 13.3333px;"&gt;add something like this&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reduce:&lt;/P&gt;&lt;P&gt;right join(data)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as customer&lt;/P&gt;&lt;P&gt;AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example the list will only show customer 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044041#M351137</guid>
      <dc:creator>markodonovan</dc:creator>
      <dc:date>2016-02-03T22:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use same data model with multiple apps</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044042#M351138</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;Depends what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the separate final dashboards all the same, but just for an individual customers? &lt;/P&gt;&lt;P&gt;I this is the case take a look at section access and or loop and reduce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if they are going different dashboard.&lt;/P&gt;&lt;P&gt;Create a dashboard the extracts the data from source and format as needed.&lt;/P&gt;&lt;P&gt;Then on you front end dashboards the script will pretty much be the same though out, just the adding a where statement at the end of the tables&lt;/P&gt;&lt;P&gt;Where CustomerID = '1' &lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044042#M351138</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-02-04T11:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use same data model with multiple apps</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044043#M351139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;You have to create&amp;nbsp; a separate application based on the customerId with same data modelling i.e each application's contains only those customerid information only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 -options:&lt;/P&gt;&lt;P&gt;1) Use your publisher, to distribute your application based on the customerid or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) while creating the qvd's, use for loop to created the custimerid wise qvds. example if you have customer.qvd and it contains CustomerId has 1,2,3,4,5 values. Instead of creating the 1 qvd, Create 5 qvds like CustomerId_1.qvd,Customer_2.qvd&lt;/P&gt;&lt;P&gt;3) Export your main script into qvs and use the include statement to read the qvs file&lt;/P&gt;&lt;P&gt;4) In your script itself put if condition to check the which qvd you want to read.&lt;/P&gt;&lt;P&gt;5) create one variable and assign the value of customer id. It should be dynamic so I will prefer take the qvw name and each qvw name also assign the customer id value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the same way for document chaining its successfully works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 14:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-same-data-model-with-multiple-apps/m-p/1044043#M351139</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2016-02-04T14:23:20Z</dc:date>
    </item>
  </channel>
</rss>

