<?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: How Can I aggregate Count, Max and Sum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080432#M17932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feras,&lt;/P&gt;&lt;P&gt;Is it possible to attach a sample qvf , so that it will be easy to solve the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sangram Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 20:28:25 GMT</pubDate>
    <dc:creator>reddy-s</dc:creator>
    <dc:date>2016-01-14T20:28:25Z</dc:date>
    <item>
      <title>How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080425#M17925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to ask if it is possible to aggregate Count, Max and Sum functions in one measure. I have been trying, but I have been getting an "expression error" and I don't know what is the issue. Here is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;(TimeDiff&amp;nbsp; - ((max({$&amp;lt;&amp;nbsp; [ReqStatId] ={3}&amp;gt;} distinct TimeDiff/24&amp;nbsp; )) - ((Sum ( {$&amp;lt;&amp;nbsp; [&lt;SPAN style="font-size: 13.3333px;"&gt;ReqStatId&lt;/SPAN&gt;] ={6}&amp;gt;} distinct ReqTime&amp;nbsp; )&amp;nbsp; - Sum ( {$&amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;ReqStatId&lt;/SPAN&gt;] ={5}&amp;gt;} distinct &lt;SPAN style="font-size: 13.3333px;"&gt;ReqTime&amp;nbsp; &lt;/SPAN&gt;)))) ) = {'&amp;gt;=0&amp;lt;24'}, &lt;SPAN style="font-size: 13.3333px;"&gt;ReqStatId&lt;/SPAN&gt;= {3},&amp;nbsp; PackingId -={160}, CloseDate -= {null} &amp;gt;} distinct&amp;nbsp; ReqId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wishing for your kind cooperation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080425#M17925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-13T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080426#M17926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a screenshot of the expression from where you are using it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080426#M17926</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-13T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080427#M17927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=AGGR(&amp;lt;YOUR EXPRESSION&amp;gt;, &amp;lt;YOUR GROUP BY VALUE&amp;gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080427#M17927</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2016-01-13T13:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080428#M17928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give an example please, as I tried what you wrote and it is syntax free however the result is always zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 16:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080428#M17928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T16:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080429#M17929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this expression in a KPI widget. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 16:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080429#M17929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080430#M17930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freras,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(Sum(X),&amp;lt;Field1&amp;gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;lt;Field2&amp;gt;,......&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field list acts as a group by and the sum function performs the aggregation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080430#M17930</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-14T17:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080431#M17931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sangram!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sangram, I am trying to have a count, max and sum functions in the same expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the idea I want to reach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count (Max(x) - (y - z) &amp;lt;=24 &amp;amp;&amp;amp; a = 1 &amp;amp;&amp;amp; b = 2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it is clear now .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080431#M17931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T17:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I aggregate Count, Max and Sum</title>
      <link>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080432#M17932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feras,&lt;/P&gt;&lt;P&gt;Is it possible to attach a sample qvf , so that it will be easy to solve the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sangram Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-Can-I-aggregate-Count-Max-and-Sum/m-p/1080432#M17932</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-14T20:28:25Z</dc:date>
    </item>
  </channel>
</rss>

