<?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: Re: Re: Joining Tables &amp; Linking Tables = Headache in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503507#M692600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, was a bit confused...&lt;/P&gt;&lt;P&gt;that should help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 13:16:16 GMT</pubDate>
    <dc:creator>michael_maeuser</dc:creator>
    <dc:date>2013-09-10T13:16:16Z</dc:date>
    <item>
      <title>Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503497#M692590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted this query before, but I didn't explain myself very well last time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with duplications in a report I am producing. After a bit of investigative work I now know my issue is to do with linking / joining tables, but I just can't quite get what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to do is link the tables in such a way that will associate a billing cycle correctly to the person &amp;amp; date without getting the duplications.&amp;nbsp; Joining tables is blowing my mind, no matter how many times I try to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a file to demonstrate what I need.&amp;nbsp; Please note there are more than 2 fields in each of my real tables, the attached is for demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 10:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503497#M692590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T10:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503498#M692591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, the problem with duplicates is primarily arising because of the &lt;STRONG&gt;BillingCycleDates&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;You are using &lt;STRONG&gt;BillingCycleName &lt;/STRONG&gt;from this table in your chart, the join for this table results in multiple cycle names for the same&lt;STRONG&gt; date. &lt;/STRONG&gt;Do you need this table for analysis? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you comment out this table and in its place use the &lt;STRONG&gt;CycleName&lt;/STRONG&gt; column present in &lt;STRONG&gt;BillingCycle&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;You should get the desired records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503498#M692591</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-10T11:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503499#M692592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do need this table as I will be using the other field dates within it to determine which one of the billing cycles is the latest billing date and publish date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realise this is the table that is causing the grief, but I do need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503499#M692592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503500#M692593</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;As mentioned earlier, the &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;BillingCycleName &lt;/STRONG&gt;field in the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BillingCycleDates&lt;/STRONG&gt; table &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;results in multiple cycle names for the same&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-style: inherit;"&gt; date, &lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;as&lt;STRONG style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-style: inherit;"&gt; &lt;/STRONG&gt;there are more than one BillingCycleName entries for any given date&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-style: inherit;"&gt;. &lt;/STRONG&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;You can keep this table for determining which one of the billing cycles is latest, however while using fields in charts, you should use it independent of the other tables, i.e. for the chart that you have in the sample you should &lt;STRONG&gt;not&lt;/STRONG&gt; use fields from this table, in place of &lt;STRONG&gt;BillingCycleName&lt;/STRONG&gt; use the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CycleName&lt;/STRONG&gt; column present in &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BillingCycle&lt;/STRONG&gt; table.&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;For charts where you plan to use the Fields in &lt;STRONG&gt;BillingCycleDates&lt;/STRONG&gt; table, use only fields from this table, as they are not &lt;STRONG&gt;uniquely &lt;/STRONG&gt;related to the other tables, and using fields from other tables will result in duplicate rows.&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;- KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503500#M692593</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-10T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503501#M692594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give me the sample xls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503501#M692594</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-10T11:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503502#M692595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael ... OK.&amp;nbsp; Uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In answer to KD.&amp;nbsp; I do understand, however I will be using both in a chart, as the report needs to show if it is published billing based on the date and the division they are in.&amp;nbsp; The report will be generated to be sent to all divisions based on their own division's balance as at the latest billing date, so doing this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did previously manage to do this in a chart however the calculations caused 'out of virtual memory'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503502#M692595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503503#M692596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it would be helpful, if you can also provide a snapshot of the expected outcome you would like to achieve, where you would be using data from both sets of tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503503#M692596</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-10T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503504#M692597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see atttached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503504#M692597</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-10T12:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503505#M692598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;BR /&gt;I don't fully understand what you have done (a bit of a novice),&amp;nbsp; however despite it doesn't seem to have worked as there this there is no data for coming through from the RosterCycleDates table.&amp;nbsp; i.e.&amp;nbsp; if I add the publish date, they are all blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like I am missing something really simple here.&amp;nbsp; Can this not be done by simply joining the tables in the correct way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503505#M692598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503506#M692599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My expected result will be to have the raw data as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="pic1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/46385_pic1.jpg" style="width: 620px; height: 635px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503506#M692599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T12:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503507#M692600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, was a bit confused...&lt;/P&gt;&lt;P&gt;that should help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 13:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503507#M692600</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-10T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Tables &amp; Linking Tables = Headache</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503508#M692601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally managed to apply this to my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked perfectly!!&amp;nbsp; Thankyou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get chance please could you explain your methods so I can learn from it and apply it to other reports in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Tables-Linking-Tables-Headache/m-p/503508#M692601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T17:40:14Z</dc:date>
    </item>
  </channel>
</rss>

