<?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 Hw to create reports using the Pubs database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367482#M1176626</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;The first thing that you need to do is to start by only bringing in the tables and fields that you actually require in your document.&amp;nbsp; This will clear things up a lot.&amp;nbsp; If you have Data Islands (eg. Employees) that are not connected to the rest of the data model that is almost always a problem that needs looking at.&amp;nbsp; As are Synthetic Keys - which is where you see extra tables in the model with $ signs in the names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView will join on any fields which have the same name and will never join on fields with different names.&amp;nbsp; Rename fields with the 'as' statement to force or break joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a join that requires a composite key (eg. two or more fields) you will need to create the join key yourself.&amp;nbsp; In the parent table you then have the join key and all the fields in it, in any table that joins you can have just the key - as any joined fields will be available in the parent.&amp;nbsp; The code to build the key will be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Title_Id &amp;amp; ':' &amp;amp; Royalty as RoyaltyKey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted a blog article on getting your data model right which can be read here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/perfect-your-qlikview-data-model/"&gt;http://www.quickintelligence.co.uk/perfect-your-qlikview-data-model/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It focuses on bigger data models than the Pubs demo, but the techniques are the same.&amp;nbsp; There is also a link in that post to my previous post on ApplyMap - which to my mind is the single most useful technique to sorting out any data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comments on QVD's can be disregarded for a small demo - but when you step up to production documents will become very important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other posts on my site, plus links to a large number of other people posting QlikTips and helpful articles.&amp;nbsp; If you get stuck you can always post back to the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 10:13:13 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2012-04-25T10:13:13Z</dc:date>
    <item>
      <title>Hw to create reports using the Pubs database</title>
      <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367481#M1176625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am trying to create some sample reports using the database there i got some doughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1)How to break a relations ships in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2)What type of scrip we need to right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 3)Any example scripts are there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4)How to load maps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am uploading my sample report with db files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367481#M1176625</guid>
      <dc:creator />
      <dc:date>2012-04-25T09:58:23Z</dc:date>
    </item>
    <item>
      <title>Hw to create reports using the Pubs database</title>
      <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367482#M1176626</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;The first thing that you need to do is to start by only bringing in the tables and fields that you actually require in your document.&amp;nbsp; This will clear things up a lot.&amp;nbsp; If you have Data Islands (eg. Employees) that are not connected to the rest of the data model that is almost always a problem that needs looking at.&amp;nbsp; As are Synthetic Keys - which is where you see extra tables in the model with $ signs in the names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView will join on any fields which have the same name and will never join on fields with different names.&amp;nbsp; Rename fields with the 'as' statement to force or break joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a join that requires a composite key (eg. two or more fields) you will need to create the join key yourself.&amp;nbsp; In the parent table you then have the join key and all the fields in it, in any table that joins you can have just the key - as any joined fields will be available in the parent.&amp;nbsp; The code to build the key will be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Title_Id &amp;amp; ':' &amp;amp; Royalty as RoyaltyKey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted a blog article on getting your data model right which can be read here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/perfect-your-qlikview-data-model/"&gt;http://www.quickintelligence.co.uk/perfect-your-qlikview-data-model/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It focuses on bigger data models than the Pubs demo, but the techniques are the same.&amp;nbsp; There is also a link in that post to my previous post on ApplyMap - which to my mind is the single most useful technique to sorting out any data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comments on QVD's can be disregarded for a small demo - but when you step up to production documents will become very important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other posts on my site, plus links to a large number of other people posting QlikTips and helpful articles.&amp;nbsp; If you get stuck you can always post back to the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367482#M1176626</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2012-04-25T10:13:13Z</dc:date>
    </item>
    <item>
      <title>Hw to create reports using the Pubs database</title>
      <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367483#M1176627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot &lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Steve Dark&lt;/SPAN&gt; it had help a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u make some sample reports for me using the Pubs database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367483#M1176627</guid>
      <dc:creator />
      <dc:date>2012-04-25T10:21:08Z</dc:date>
    </item>
    <item>
      <title>Hw to create reports using the Pubs database</title>
      <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367484#M1176628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I am busy with client work at the moment.&amp;nbsp; Someone else may have already built a pubs demo that they may be happy to share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367484#M1176628</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2012-04-25T10:33:50Z</dc:date>
    </item>
    <item>
      <title>Hw to create reports using the Pubs database</title>
      <link>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367485#M1176629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its ok thanks &lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Steve Dark&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 11:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hw-to-create-reports-using-the-Pubs-database/m-p/367485#M1176629</guid>
      <dc:creator />
      <dc:date>2012-04-25T11:11:02Z</dc:date>
    </item>
  </channel>
</rss>

