<?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 modelling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599587#M221935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how below code work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OutletMaster:&lt;BR /&gt;load&lt;BR /&gt;DealerID&amp;nbsp; as OutletDealerID&lt;BR /&gt;resident OrganisationMaster;&lt;/P&gt;&lt;P&gt;left join(OutletMaster)&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp; DealerID&amp;nbsp; as OutletDealerID,&lt;BR /&gt; OutletID,&lt;BR /&gt; OutletCode,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// IsDeleted,&lt;BR /&gt;// CreatedBy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; capitalize(OutletName) as [Outlet Name]&lt;BR /&gt;FROM $(QvdPath)\VESPA_PRE_OutletMaster.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Field&amp;nbsp; OutletDealerID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover can you please suggest when to comment out thefields in script and is ther any chance of data loss when we are commentting fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 06:48:53 GMT</pubDate>
    <dc:creator>deepakqlikview_123</dc:creator>
    <dc:date>2014-03-20T06:48:53Z</dc:date>
    <item>
      <title>Data modelling</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599587#M221935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how below code work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OutletMaster:&lt;BR /&gt;load&lt;BR /&gt;DealerID&amp;nbsp; as OutletDealerID&lt;BR /&gt;resident OrganisationMaster;&lt;/P&gt;&lt;P&gt;left join(OutletMaster)&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp; DealerID&amp;nbsp; as OutletDealerID,&lt;BR /&gt; OutletID,&lt;BR /&gt; OutletCode,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// IsDeleted,&lt;BR /&gt;// CreatedBy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; capitalize(OutletName) as [Outlet Name]&lt;BR /&gt;FROM $(QvdPath)\VESPA_PRE_OutletMaster.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Field&amp;nbsp; OutletDealerID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover can you please suggest when to comment out thefields in script and is ther any chance of data loss when we are commentting fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 06:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599587#M221935</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-03-20T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data modelling</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599588#M221936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do commenting for following reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For removing Synthetic Keys.(&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;For avoiding circular loops.(&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599588#M221936</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-03-20T07:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data modelling</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599589#M221937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No the data is not loss when we comment the fields the purpose is to commenting is just to remove unwanted fields and for memory utilization and sometimes to remove synthetic keys and to avoid circular loop&lt;/P&gt;&lt;P&gt;like i have two tables&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load Productid,Orderid,Qty,Productname&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;load Productid,Orderid,Productname,orderdate&lt;/P&gt;&lt;P&gt;from table 2;&lt;/P&gt;&lt;P&gt;when i reload it creating a synthetic key the purpose here to remove synthetic key for this&lt;/P&gt;&lt;P&gt;i load all data from table 1 and also add field&amp;nbsp; (Productid &amp;amp;'|'&amp;amp; Orderid) as Link&lt;/P&gt;&lt;P&gt;and in table 2 i also add&amp;nbsp; field (Productid &amp;amp;'|'&amp;amp; Orderid) as Link &lt;/P&gt;&lt;P&gt;and comment Productid,Orderid and rest of field i fetch &lt;/P&gt;&lt;P&gt;so doing this after reload my table would be link with each other using a field Link&lt;/P&gt;&lt;P&gt;similarly when three or more tables are linked to each pther then create a circular loop to avoid it using alias menas change the name of link or you can make a composite field &lt;/P&gt;&lt;P&gt;however if your data in two tables become unique with several fields the use &lt;STRONG&gt;autonumberhash256() function see it on help side it compact the memory and generate&amp;nbsp; a unique no.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599589#M221937</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-03-20T07:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data modelling</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599590#M221938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;// read DealerID from an already in memory table (resident)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;OutletMaster:&lt;BR /&gt;load&lt;BR /&gt;DealerID&amp;nbsp; as OutletDealerID&lt;BR /&gt;resident OrganisationMaster;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;// join OutletMaster with VESPA_PRE_OutletMaster (qvd file) using DealerID&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;left join(OutletMaster)&lt;BR /&gt;LOAD &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp; // rename field with as....&amp;nbsp; because Qlik joins by field name&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; DealerID&amp;nbsp; as OutletDealerID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;OutletID,&lt;BR /&gt;OutletCode,&lt;/P&gt;&lt;P&gt;// IsDeleted,&lt;BR /&gt;// CreatedBy, &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;capitalize(OutletName) as [Outlet Name]&lt;BR /&gt;FROM $(QvdPath)\VESPA_PRE_OutletMaster.qvd (qvd);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;// here&amp;nbsp; you have 1 table, OutletMaster&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;// drop field used for joining&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OutletMaster with VESPA_PRE_OutletMaster&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop Field&amp;nbsp; OutletDealerID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;About comments&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// comment a line&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/*&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;comment&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;more lines&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;no loss of data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling/m-p/599590#M221938</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T07:16:32Z</dc:date>
    </item>
  </channel>
</rss>

