<?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 function and IF statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2001362#M82937</link>
    <description>&lt;P&gt;below is an agg r function used in a chart.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sum(Aggr (If($v_RAGcolour) = 'R',1,0), store_id)) &lt;/STRONG&gt;say output = 24.&lt;/P&gt;
&lt;P&gt;0ur goal is to include another condition in the Aggr function.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Business_month = $v_last_month.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hence our goal is to determine -&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum of store_id where&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1&amp;gt;&amp;nbsp;($v_RAGcolour) = 'R',1,0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2&amp;gt;&amp;nbsp;Business_month = $v_last_month.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;How to resolve this issue.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 07 Nov 2022 18:13:15 GMT</pubDate>
    <dc:creator>Architect</dc:creator>
    <dc:date>2022-11-07T18:13:15Z</dc:date>
    <item>
      <title>AGGR function and IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2001362#M82937</link>
      <description>&lt;P&gt;below is an agg r function used in a chart.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sum(Aggr (If($v_RAGcolour) = 'R',1,0), store_id)) &lt;/STRONG&gt;say output = 24.&lt;/P&gt;
&lt;P&gt;0ur goal is to include another condition in the Aggr function.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Business_month = $v_last_month.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hence our goal is to determine -&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum of store_id where&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1&amp;gt;&amp;nbsp;($v_RAGcolour) = 'R',1,0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2&amp;gt;&amp;nbsp;Business_month = $v_last_month.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;How to resolve this issue.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 07 Nov 2022 18:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2001362#M82937</guid>
      <dc:creator>Architect</dc:creator>
      <dc:date>2022-11-07T18:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function and IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2001551#M82956</link>
      <description>&lt;P&gt;Hi, can you try?:&amp;nbsp;sum(Aggr (If($v_RAGcolour) = 'R' and Business_month = $v_last_month,1,0), store_id, Business_month))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 08:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2001551#M82956</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-11-08T08:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function and IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2006137#M83268</link>
      <description>&lt;P&gt;This expression can probably be simplified by using Count(store_id) and filling in the correct set analysis.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 21:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-function-and-IF-statement/m-p/2006137#M83268</guid>
      <dc:creator>oskartoivonen</dc:creator>
      <dc:date>2022-11-17T21:52:38Z</dc:date>
    </item>
  </channel>
</rss>

