<?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 Aggregate Function not showing on all rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046219#M1222881</link>
    <description>&lt;P&gt;Hi forum,&lt;/P&gt;
&lt;P&gt;I have a problem with my visualizations on QlikView. I want to calculate &lt;STRONG&gt;Quantity per Month &lt;/STRONG&gt;based on the value from the &lt;STRONG&gt;Quantity&lt;/STRONG&gt; and per &lt;STRONG&gt;Code&lt;/STRONG&gt; itself (&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;field contain several values also).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, my aggregate function not showing on all rows as you can see like the sample below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c1bs_0-1678197672628.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102167i8C1A5559E5A3EDF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="c1bs_0-1678197672628.png" alt="c1bs_0-1678197672628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It only shows on one row and showing NULL on other rows. What I want is to show it on all rows.&lt;/P&gt;
&lt;P&gt;Some notes:&lt;BR /&gt;1. The red marked are the expressions (Month &amp;amp; Qty per Month)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Month = Date([Date of Transaction]),'MMMYY')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Qty per Month = Aggr(Sum([Quantity]),[Month],[Code])&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp; Somehow, I can't solve this by Editing the Script, I can only work this by using expressions.&lt;/P&gt;
&lt;P&gt;3. Please assume that all fields have other values also, not like the sample above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and hopefully I get feedback very soon from the forum.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 14:18:51 GMT</pubDate>
    <dc:creator>c1bs</dc:creator>
    <dc:date>2023-03-07T14:18:51Z</dc:date>
    <item>
      <title>Aggregate Function not showing on all rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046219#M1222881</link>
      <description>&lt;P&gt;Hi forum,&lt;/P&gt;
&lt;P&gt;I have a problem with my visualizations on QlikView. I want to calculate &lt;STRONG&gt;Quantity per Month &lt;/STRONG&gt;based on the value from the &lt;STRONG&gt;Quantity&lt;/STRONG&gt; and per &lt;STRONG&gt;Code&lt;/STRONG&gt; itself (&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;field contain several values also).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, my aggregate function not showing on all rows as you can see like the sample below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c1bs_0-1678197672628.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102167i8C1A5559E5A3EDF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="c1bs_0-1678197672628.png" alt="c1bs_0-1678197672628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It only shows on one row and showing NULL on other rows. What I want is to show it on all rows.&lt;/P&gt;
&lt;P&gt;Some notes:&lt;BR /&gt;1. The red marked are the expressions (Month &amp;amp; Qty per Month)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Month = Date([Date of Transaction]),'MMMYY')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Qty per Month = Aggr(Sum([Quantity]),[Month],[Code])&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp; Somehow, I can't solve this by Editing the Script, I can only work this by using expressions.&lt;/P&gt;
&lt;P&gt;3. Please assume that all fields have other values also, not like the sample above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and hopefully I get feedback very soon from the forum.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 14:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046219#M1222881</guid>
      <dc:creator>c1bs</dc:creator>
      <dc:date>2023-03-07T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Function not showing on all rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046240#M1222882</link>
      <description>&lt;P&gt;Try to add the nodistinct keyword within your aggr function.&lt;/P&gt;
&lt;P&gt;When you leave that out, the aggr-function will only fill one value per combination of&amp;nbsp; Month and code. With nodistinct, the value will berepeated for each row.&lt;/P&gt;
&lt;P&gt;Please like and mark my answer as a solution, if it resolved your issue.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 14:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046240#M1222882</guid>
      <dc:creator>E_Røse</dc:creator>
      <dc:date>2023-03-07T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Function not showing on all rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046520#M1222883</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 02:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Function-not-showing-on-all-rows/m-p/2046520#M1222883</guid>
      <dc:creator>c1bs</dc:creator>
      <dc:date>2023-03-08T02:56:23Z</dc:date>
    </item>
  </channel>
</rss>

