<?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: aggr() doesn't give correct data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243206#M394570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uploaded screenshots to this post. Can you please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 19:23:49 GMT</pubDate>
    <dc:creator>qvqfqlik</dc:creator>
    <dc:date>2017-01-26T19:23:49Z</dc:date>
    <item>
      <title>aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243202#M394566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I need some help with Aggr() not working in the expression. Can you please help me with this.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;In the promoresultstesting tab&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Before using aggr() in the expression for Customer count the data seems to be this. Requirement is to aggregate for the same Offer number&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;IMG alt="aggr1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150971_aggr1.JPG" style="height: 117px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;After using aggr() below is how it is happening, total should be 19, but its aggregating into single row&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;IMG alt="aggr2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150972_aggr2.JPG" style="height: 96px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have attached the file to this. Please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243202#M394566</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-01-26T16:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243203#M394567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably pasted the images into your question... they have to be stored and then uploaded with the camera-button... so the&amp;nbsp; two screenshots are broken for now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243203#M394567</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-01-26T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243204#M394568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get an idea of what OP wants from this discussion&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/247426"&gt;Help with Aggr () not working&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have any issues with the total, but when OP opens the same file, they see 0 instead of 19&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243204#M394568</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T16:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243205#M394569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uploaded screenshots to this initial post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 17:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243205#M394569</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-01-26T17:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243206#M394570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uploaded screenshots to this post. Can you please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243206#M394570</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-01-26T19:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243207#M394571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 17:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243207#M394571</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-01-27T17:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243208#M394572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I don't see the issue, wich line you say is aggregating into one line? what is the expected result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243208#M394572</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-01-27T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243209#M394573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I'm getting now... for what I see there are options where it shows ok in rows and other in totals, so I used a simple If based on dimensionality() to pick each expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is what you are looking for, credits should go to Sunny, I just copied his work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243209#M394573</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-01-27T18:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243210#M394574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, when I open the same work into my computer, I see the last total row as 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 19:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243210#M394574</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-02-01T19:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243211#M394575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see '19'. Maybe is because of different version? &lt;SPAN style="font-size: 13.3333px;"&gt;I'm using QV 12.0 SR5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151630_Captura.PNG" style="height: 285px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 20:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243211#M394575</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-02-01T20:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243212#M394576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt; 11.20 SR6, build 11.20 12347 is in use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe time to at least try a current 11.20 release?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you also tried to use a pivot table chart instead of the straight table? Maybe the dimension limits total is havin some issues in your software release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides this, are you really sure you want to show 19? As far as I see, there are only 18 distinct customers involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 22:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243212#M394576</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-02-01T22:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243213#M394577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iam using 11.20.12347 SR6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes Stefan, I need to show it 19. &lt;/P&gt;&lt;P&gt;In my first post pictures, the same offernumber has two records , so after aggregating the total would be 19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three different logics in the expressisons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last two logics are the ones for the pictures in my initial post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 00:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243213#M394577</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-02-02T00:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243214#M394578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's up to you and your requirements how you need to show the data.&lt;/P&gt;&lt;P&gt;I am just saying, that if you look at your record set, there are 18 distinct customers, not 19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would use the table with the two detailed table lines, I can see why you want to see 18 +1 as total, but if you already group the records into one detailed line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, as said, this is up to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered using a more recent software version or have you tried my sample with the pivot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we can't really help you more, because the suggested solutions seem to work in recent software versions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 08:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243214#M394578</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-02-02T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: aggr() doesn't give correct data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243215#M394579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is also the option of changing the label to 'Offer Count' (or similar) to keep saying the truth. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justify '19' because of counting the non-existant customer seems forced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 08:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-doesn-t-give-correct-data/m-p/1243215#M394579</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-02-02T08:44:24Z</dc:date>
    </item>
  </channel>
</rss>

