<?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 Aggr() alternative to avoid grain mismatch in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393777#M32184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the aggr() function in order to calculate a metric using&amp;nbsp; this expression- sum(aggr(count({&amp;lt;A = 'a'&amp;gt;}X),Y)).&lt;/P&gt;&lt;P&gt;I'm using this expression in a chart object and also in&amp;nbsp; KPI box. The chart object has Finer dimension(Month leve;) than 'A'. &lt;/P&gt;&lt;P&gt;Because of this the values that show up are incorrect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an alternative to aggr() to overcome this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 09:06:50 GMT</pubDate>
    <dc:creator>litinkumar</dc:creator>
    <dc:date>2017-11-15T09:06:50Z</dc:date>
    <item>
      <title>Aggr() alternative to avoid grain mismatch</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393777#M32184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the aggr() function in order to calculate a metric using&amp;nbsp; this expression- sum(aggr(count({&amp;lt;A = 'a'&amp;gt;}X),Y)).&lt;/P&gt;&lt;P&gt;I'm using this expression in a chart object and also in&amp;nbsp; KPI box. The chart object has Finer dimension(Month leve;) than 'A'. &lt;/P&gt;&lt;P&gt;Because of this the values that show up are incorrect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an alternative to aggr() to overcome this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393777#M32184</guid>
      <dc:creator>litinkumar</dc:creator>
      <dc:date>2017-11-15T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() alternative to avoid grain mismatch</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393778#M32185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use TOTAL keyword&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2980"&gt;When should the Aggr() function NOT be used?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe your AGGR() isn't working because you are not using the right field!&lt;/P&gt;&lt;P&gt;Add another keyfield that identifies each row uniquely and then try&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(aggr(count({&amp;lt;A = 'a'&amp;gt;}X),&lt;STRONG&gt;KEYFIELD&lt;/STRONG&gt;,Y))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 11:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393778#M32185</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-11-15T11:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() alternative to avoid grain mismatch</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393779#M32186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample you can share to see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 12:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-alternative-to-avoid-grain-mismatch/m-p/1393779#M32186</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-15T12:28:51Z</dc:date>
    </item>
  </channel>
</rss>

