<?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: Create Data Model and use the same for different apps in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698206#M53447</link>
    <description>&lt;P&gt;Hi Esso,&lt;/P&gt;&lt;P&gt;Thank you so much for your inputs and suggestions regarding the dirty load if I have a common data model.&lt;/P&gt;&lt;P&gt;Below is the approach which I am following currently&lt;/P&gt;&lt;P&gt;1. Using different Apps reading raw data from SAP tables and created QVDs.&lt;/P&gt;&lt;P&gt;2. Created App to consolidate data - for example - DocumentHeaders. I have created new QVDs which generates the master data. I have set up task to load the data from SAP frequently for the current FY year.&lt;/P&gt;&lt;P&gt;3. Created another App for the report which will consume the Qvd generated in the 2nd step which will load/read some of the qvds created in Step 1.&lt;/P&gt;&lt;P&gt;This is how I am creating and working through, please let me know if this seems to be fine or any issues with respect to it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 23:49:49 GMT</pubDate>
    <dc:creator>sush</dc:creator>
    <dc:date>2020-04-30T23:49:49Z</dc:date>
    <item>
      <title>Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697173#M53324</link>
      <description>&lt;P&gt;I need some info/help with the below on how to proceed further. Any suggestions/pointers would be of great help&lt;/P&gt;&lt;P&gt;1. I am reading data from a data source and create qvds for each without any manipulation.&lt;/P&gt;&lt;P&gt;2. I was able to read the qvds and achieve what I need by reading those qvds.&lt;/P&gt;&lt;P&gt;3. The same data is required in multiple applications. So I don't want to create the data model with different applications.&lt;/P&gt;&lt;P&gt;Looking for suggestions on how do I need to proceed with. I read in different articles that this can be achieved by creating a common data model and load that data model in the applications.&lt;/P&gt;&lt;P&gt;What I am not clear is that do I need to create a data model&amp;nbsp; by joining the different qvds created in Step 1 and then store them as another QVD and then read this qvd in applications&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;What is the process/steps to read the data model across multiple applications?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 17:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697173#M53324</guid>
      <dc:creator>sush</dc:creator>
      <dc:date>2020-04-27T17:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697224#M53330</link>
      <description>&lt;P&gt;Once you create your data model, you use the same process to create QVDs from that for other apps to be based on.&lt;/P&gt;&lt;P&gt;Use the loop to store all tables at the end of the script:&lt;/P&gt;&lt;P&gt;FOR i = 0 TO NoOfTables() - 1&lt;BR /&gt;LET d = TableName(i);&lt;BR /&gt;STORE [$(d)] INTO 'lib://QVDFiles/$(d).qvd'(qvd);&lt;BR /&gt;NEXT;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 22:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697224#M53330</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-04-27T22:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697225#M53331</link>
      <description>Thank you for your response.&lt;BR /&gt;&lt;BR /&gt;What I was asking is the data model has to be again stored into qvd file?&lt;BR /&gt;&lt;BR /&gt;For example,&lt;BR /&gt;1. Initially, I am reading the raw data from the original data source&lt;BR /&gt;without any manipulation and storing it to qvd files.&lt;BR /&gt;2. Now when I create a data model do I need to store this into new QVD&lt;BR /&gt;again and consume this in the application where I am using it?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2020 23:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697225#M53331</guid>
      <dc:creator>sush</dc:creator>
      <dc:date>2020-04-27T23:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697227#M53332</link>
      <description>&lt;P&gt;Here it is in picture format:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lisa_P_0-1588028835235.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32573i1951DE701DBBFE49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lisa_P_0-1588028835235.png" alt="Lisa_P_0-1588028835235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 23:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697227#M53332</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-04-27T23:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697257#M53333</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86685"&gt;@sush&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that I understand your goal; You want to create a Qlik Sense Application that loads all the required QVDs, and including referential objects, then you want to use this application (let's called &lt;STRONG&gt;QS-App-DataModel.qvf&lt;/STRONG&gt;); as a template when developing new applications sharing the same Data Model (Schema), with this approach, you will have a single application doing the dirty word of loading data, while the new ones just consume its data model; If my understanding is correct, I suggest you to read the&amp;nbsp;&lt;A title="Binary" href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Binary.htm" target="_blank" rel="noopener"&gt;Binary&lt;/A&gt;&amp;nbsp;statement!&lt;/P&gt;&lt;P&gt;Reference Articles:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A title="Binary" href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Binary.htm" target="_blank" rel="noopener"&gt;Binary&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A title="Binary load in Qlik Sense Server" href="https://community.qlik.com/t5/New-to-Qlik-Sense/Binary-load-from-qvf-file-in-Qlik-Sense/td-p/1377563" target="_blank" rel="noopener"&gt;Binary load from qvf file in Qlik Sense (QS Server)&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Example &lt;/STRONG&gt;(illustrating the procedure with Qlik Sense Desktop):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I already have a QlikSense application, its name is:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;QlikCommunity.qvf&lt;/FONT&gt;; This application already loads some data&lt;/LI&gt;&lt;LI&gt;This application is physically located at this folder:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Usr\QlikResources\QlikCommunity\Dev\98.Apps&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;I create a new application, naming it &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Binary-Load-Test&lt;/FONT&gt;&lt;/STRONG&gt; (This application will inherit the data model from the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;QlikCommunity.qvf&lt;/FONT&gt;&lt;/STRONG&gt; application).&lt;/LI&gt;&lt;LI&gt;With its &lt;STRONG&gt;Data Load Editor&lt;/STRONG&gt; I created a new folder connection, with the name &lt;STRONG&gt;Binary_Folder&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Binary_Folder-01.jpg" style="width: 357px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32581iB7EB0063D7956848/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binary_Folder-01.jpg" alt="Binary_Folder-01.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Then, on the very first line of the script (It must be the very first line) the statement Binary &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;[lib://Binary_Folder\QlikCommunity.qvf];&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Binary [lib://Binary_Folder\QlikCommunity.qvf]; 

SET ThousandSep=','; 
SET DecimalSep='.'; 
SET MoneyThousandSep=',';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Now I clicked on the &lt;STRONG&gt;Load data&lt;/STRONG&gt; button, and the new application, &lt;STRONG&gt;Binary-Load-Test&lt;/STRONG&gt; now features the same &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Data Model&lt;/STRONG&gt;&lt;/FONT&gt; from the QlikCommunity.qvf&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I was able to create a different UI for the new application; The procedure to implement Binary loads in the Qlik Sense server is a little different, but not by much.&lt;/P&gt;&lt;P&gt;You understand that the &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;DataModel&lt;/STRONG&gt;&lt;/FONT&gt; template application has to refresh the data as often as required, I expect you was to refresh all its children (I did not test that part); another risk, if the template &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;DataModel&lt;/STRONG&gt; &lt;/FONT&gt;is changed by removing tables or columns, all its children referencing those removed tables or columns will breakdown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QS_App_DataModel-01.png" style="width: 512px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32582i61A39A2F1533DFD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="QS_App_DataModel-01.png" alt="QS_App_DataModel-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 03:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1697257#M53333</guid>
      <dc:creator>ArnadoSandoval</dc:creator>
      <dc:date>2020-04-28T03:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698206#M53447</link>
      <description>&lt;P&gt;Hi Esso,&lt;/P&gt;&lt;P&gt;Thank you so much for your inputs and suggestions regarding the dirty load if I have a common data model.&lt;/P&gt;&lt;P&gt;Below is the approach which I am following currently&lt;/P&gt;&lt;P&gt;1. Using different Apps reading raw data from SAP tables and created QVDs.&lt;/P&gt;&lt;P&gt;2. Created App to consolidate data - for example - DocumentHeaders. I have created new QVDs which generates the master data. I have set up task to load the data from SAP frequently for the current FY year.&lt;/P&gt;&lt;P&gt;3. Created another App for the report which will consume the Qvd generated in the 2nd step which will load/read some of the qvds created in Step 1.&lt;/P&gt;&lt;P&gt;This is how I am creating and working through, please let me know if this seems to be fine or any issues with respect to it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 23:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698206#M53447</guid>
      <dc:creator>sush</dc:creator>
      <dc:date>2020-04-30T23:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698229#M53449</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86685"&gt;@sush&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually your Qlik solution has three modules:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Module 1&lt;/STRONG&gt;: QVDs Generation, it creates qvds from your applications (SAP) with a one QVD per one SAP table.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Module 2&lt;/STRONG&gt;: You transform data from your QVDs (generated by Module 1) creating more complex (or simpler) QVDs for the presentation layer to consume; you may generate from all the QVDs from module 1, creating new QVDs perhaps giving more friendly column names, concatenating columns, etc.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Module 3&lt;/STRONG&gt;: The presentation layer, it consumes QVDs from module 2, or module 2 and 1 (if module 2 does not transforms all the QVDs from M-1)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;I try to comply with the SoC (separation of concerns) when writing my applications-QVDs; I think your workflow is similar to mine.&lt;/P&gt;&lt;P&gt;There is a &lt;STRONG&gt;Module X&lt;/STRONG&gt;, applicable for some organizations where users could introduce data into the data model, perhaps via Excel files where they define complex business rules, they basically take ownership of generating the QVDs for those Excel files, it is not that fancy, they just have to copy their latest version of the Excel file in a folder and a QVD generator app (previously written) generate the QVD for the latest Excel file.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 01:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698229#M53449</guid>
      <dc:creator>ArnadoSandoval</dc:creator>
      <dc:date>2020-05-01T01:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data Model and use the same for different apps</title>
      <link>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698849#M53512</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 16:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-Data-Model-and-use-the-same-for-different-apps/m-p/1698849#M53512</guid>
      <dc:creator>sush</dc:creator>
      <dc:date>2020-05-04T16:05:24Z</dc:date>
    </item>
  </channel>
</rss>

