<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914403#M984005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;its working fine.&lt;/P&gt;&lt;P&gt;but i want to make it more globalize here is my exp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(sum&lt;STRONG&gt;(bal)&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;50000&lt;/STRONG&gt;,1,0),customernbr))&lt;/P&gt;&lt;P&gt;here i want pass &lt;STRONG&gt;bal&lt;/STRONG&gt; and &lt;STRONG&gt;50000&lt;/STRONG&gt; as parameters in exp so that i want to build set analysis on this exp how to do that.&lt;/P&gt;&lt;P&gt;am i fallowing correct approach or not i am getting doubt please help in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 10:45:37 GMT</pubDate>
    <dc:creator>dasaradh</dc:creator>
    <dc:date>2015-08-07T10:45:37Z</dc:date>
    <item>
      <title>aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914400#M984002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;i have data like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust no, acc no, bal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1a, 15000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2a, 50000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 3a, 20000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 4a, 20000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1b, 12000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2b, 5000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 5a, 60000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to count the no of customers who are having bal more than 50000, here i want to group on custno. i want to use in expression level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried this exp but it is not working&lt;/P&gt;&lt;P&gt;=count(aggr(sum(bal)&amp;lt;=50000,[cust no]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 17:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914400#M984002</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-06T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914401#M984003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a textbox, for less then 50000 (replace with &amp;gt;= for ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(if(sum(bal)&amp;lt;50000,1,0), [cust no]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914401#M984003</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-06T22:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914402#M984004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might also work:&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;&lt;STRONG&gt;=Sum(Aggr(Count({&amp;lt;[cust no] = {"=Sum(bal) &amp;lt; 50000"}&amp;gt;}[cust no]), [cust no]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 01:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914402#M984004</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T01:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914403#M984005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;its working fine.&lt;/P&gt;&lt;P&gt;but i want to make it more globalize here is my exp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(sum&lt;STRONG&gt;(bal)&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;50000&lt;/STRONG&gt;,1,0),customernbr))&lt;/P&gt;&lt;P&gt;here i want pass &lt;STRONG&gt;bal&lt;/STRONG&gt; and &lt;STRONG&gt;50000&lt;/STRONG&gt; as parameters in exp so that i want to build set analysis on this exp how to do that.&lt;/P&gt;&lt;P&gt;am i fallowing correct approach or not i am getting doubt please help in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914403#M984005</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-07T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914404#M984006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks bro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914404#M984006</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-07T10:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914405#M984007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &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;I am glad it worked for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914405#M984007</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914406#M984008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(Aggr(Count({&amp;lt;[cust no] = {"=Sum(bal) &amp;lt; $(vVar)"}&amp;gt;}[cust no]), [cust no]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where vVar is set using a inputbox object or slider object or any kind of variable input object &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;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914406#M984008</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T12:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914407#M984009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;hi&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;i am also feeling the same&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;i want to make it more globalize here is my exp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;sum(aggr(if(sum&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(bal)&lt;/STRONG&gt;&amp;gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;50000&lt;/STRONG&gt;,1,0),customernbr))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;here i want pass &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;bal&lt;/STRONG&gt; and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;50000&lt;/STRONG&gt; as parameters in exp so that i want to build set analysis on this exp how to do that.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;am i fallowing correct approach or not i am getting doubt please help in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;thanks in advance@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914407#M984009</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-07T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914408#M984010</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;&lt;/P&gt;&lt;P&gt;here bal is also vary i mean some times it is BalnaceEur,BalanceDoller,LocalCurrunacy like that, that y i want to make it as variable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914408#M984010</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-07T13:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914409#M984011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and also we using it as expression not in text object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914409#M984011</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-07T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914410#M984012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(Aggr(Count({&amp;lt;[cust no] = {"=Sum($(vVar1)) &amp;lt; $(vVar)"}&amp;gt;}[cust no]), [cust no]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you control &lt;STRONG&gt;vVar1&lt;/STRONG&gt; for different Balances&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(somethingsisTrue, BalanceEUR, BalanceUSD)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914410#M984012</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914411#M984013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression should work as a chart expression as well. Only thing is that if you are using this in a chart where there is only one dimension and that dimension is [cust no], you can simplify the expression to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;[cust no] = {"=Sum($(vVar1)) &amp;lt; $(vVar)"}&amp;gt;}[cust no])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914411#M984013</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T13:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914412#M984014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/175944"&gt;Set analysis in expression&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function/m-p/914412#M984014</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-08-10T11:15:30Z</dc:date>
    </item>
  </channel>
</rss>

