<?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 used for dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828910#M291821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try: =aggr(if(sum({&amp;lt;&lt;STRONG&gt;ITEM={'B*'}&lt;/STRONG&gt;,FYEAR={$(vCompYr)},QUARTER={$(vCompPrd)}&amp;gt;}(NO_UNITS))&amp;lt;&amp;gt;0, ITEM),ITEM)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 18:53:41 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-21T18:53:41Z</dc:date>
    <item>
      <title>Aggr function used for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828909#M291820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an aggr function for an item dimension.&amp;nbsp; It basically checks to see if the qty shipped (NO_UNITS) is not equal to zero, because I only want to see items that meet this criteria.&lt;/P&gt;&lt;P&gt;Well I have another criteria I need to add to this &amp;amp; I'm not sure how I would write this out.&lt;/P&gt;&lt;P&gt;I also need to not have any items that begin with the letter 'B' to be included in the set.&lt;/P&gt;&lt;P&gt;Is it possible to do this?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the function that I have so far:&lt;/P&gt;&lt;P&gt;=aggr(if(sum({&amp;lt;FYEAR={$(vCompYr)},QUARTER={$(vCompPrd)}&amp;gt;}(NO_UNITS))&amp;lt;&amp;gt;0, ITEM),ITEM)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828909#M291820</guid>
      <dc:creator />
      <dc:date>2015-05-21T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function used for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828910#M291821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try: =aggr(if(sum({&amp;lt;&lt;STRONG&gt;ITEM={'B*'}&lt;/STRONG&gt;,FYEAR={$(vCompYr)},QUARTER={$(vCompPrd)}&amp;gt;}(NO_UNITS))&amp;lt;&amp;gt;0, ITEM),ITEM)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828910#M291821</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-21T18:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function used for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828911#M291822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gives me all the items that begin with 'B' and I need items not beginning with 'B' and qty shipped &amp;lt;&amp;gt; 0&lt;/P&gt;&lt;P&gt;If I do &amp;lt;&amp;gt; I don't get any items to display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828911#M291822</guid>
      <dc:creator />
      <dc:date>2015-05-21T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function used for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828912#M291823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try this:&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;=aggr(if(sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEM &lt;SPAN style="color: #ff0000;"&gt;-&lt;/SPAN&gt;= {'B*'}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,FYEAR={$(vCompYr)},QUARTER={$(vCompPrd)}&amp;gt;}(NO_UNITS))&amp;lt;&amp;gt;0, ITEM),ITEM)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-used-for-dimension/m-p/828912#M291823</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-21T19:00:20Z</dc:date>
    </item>
  </channel>
</rss>

