<?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: Double Counting in Straight Table Formulae in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594361#M546593</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;This is probably due to some characteristic of your data model, typically (but not only) when the table containing the code and table containing the total have different levels of granularity. I suggest that you post a sample of your model for more detailed analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 12:03:35 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-03-19T12:03:35Z</dc:date>
    <item>
      <title>Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594360#M546592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a straight table and a cumulative total column using the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum (Above(TOTAL(([Units])),0,NoOfRows(TOTAL)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have then tried to create a series of columns that do the same thing for individual stock items:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Rangesum(Above(TOTAL(sum({$&amp;lt;[Code]={"CPG"}&amp;gt;}[Units])),0,NoOfRows(TOTAL)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the individual stock columns are subject to random double counting of some individual transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody see why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 11:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594360#M546592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T11:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594361#M546593</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;This is probably due to some characteristic of your data model, typically (but not only) when the table containing the code and table containing the total have different levels of granularity. I suggest that you post a sample of your model for more detailed analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594361#M546593</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T12:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594362#M546594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I attach the file as an image? Or have I missed something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594362#M546594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T12:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594363#M546595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keith you can attach a file by selecting Use advanced Editor, like below image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-03-19_1240.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55348_2014-03-19_1240.png" style="width: 620px; height: 259px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then select attach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-03-19_1242.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55352_2014-03-19_1242.png" style="width: 620px; height: 314px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594363#M546595</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-03-19T12:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594364#M546596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594364#M546596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594365#M546597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594365#M546597</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-03-19T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594366#M546598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The process of creating a sample file has cleared the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This suggests that it is something to do with my tables. I am not sure what it is or how I will account for it but this is a separate problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594366#M546598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T12:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594367#M546599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check all the joins in your load script. Its possible that one of them has duplicate keys on one side of the join, doubling up the records. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594367#M546599</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T14:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594368#M546600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is still something to correct and it seems to lie in this area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall have to learn more about my scripting.&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;Keith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, Mar 19, 2014 at 2:06 PM, Jonathan Dienst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594368#M546600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Double Counting in Straight Table Formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594369#M546601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid that I am missing something obvious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a sample file which has simplified my script and I am still getting the double counting. It appears to start correctly and from April 13, 1992 it seems to begin double counting some stocks but not others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone see what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-Counting-in-Straight-Table-Formulae/m-p/594369#M546601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T15:27:33Z</dc:date>
    </item>
  </channel>
</rss>

