<?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 to customize subtotal calculation to exclude null rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1586173#M740315</link>
    <description>&lt;P&gt;You can select option as "Sum" in Qlikview. Else, Is there any dimension in your table? If so, use like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Expression, Dimension))&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 13:14:50 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-05-29T13:14:50Z</dc:date>
    <item>
      <title>How to customize subtotal calculation to exclude null rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1585808#M740313</link>
      <description>&lt;P&gt;I have the following columns:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-28 at 12.49.13 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12822i5274DF0C2939737E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2019-05-28 at 12.49.13 PM.png" alt="Screen Shot 2019-05-28 at 12.49.13 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Avg Prod Qty = avg([productionQty])&lt;BR /&gt;Avg Expected Qty = avg([ExpectedQty]) // Note: ExpectedQty is actually a reference to another calculated column&lt;BR /&gt;Perf. = [Avg Prod Qty] / [Avg Expected Qty]&lt;/P&gt;&lt;P&gt;The problem is the missing values in the 4th row creating a misleading subtotal in the Perf. column&lt;/P&gt;&lt;P&gt;How can I change the subtotal calculation for the [Perf.] column to exclude rows with null values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1585808#M740313</guid>
      <dc:creator>JeffQV</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize subtotal calculation to exclude null rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1586014#M740314</link>
      <description>Hello,&lt;BR /&gt;i think you have to avoid null, you can replace null with 0 using IsNull().&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Parthesh.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1586014#M740314</guid>
      <dc:creator>parthesh</dc:creator>
      <dc:date>2019-05-29T09:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize subtotal calculation to exclude null rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1586173#M740315</link>
      <description>&lt;P&gt;You can select option as "Sum" in Qlikview. Else, Is there any dimension in your table? If so, use like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Expression, Dimension))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 13:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1586173#M740315</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-29T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize subtotal calculation to exclude null rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1587225#M740316</link>
      <description>&lt;P&gt;I'm using a Pivot Table so I can't control the "Total Mode" for the expressions.&lt;/P&gt;&lt;P&gt;My [Perf.] column is the expression [Avg Prod Qty]/[Avg Expected Qty]&lt;/P&gt;&lt;P&gt;So I need to change the expression to something like: IF RowNo()=0 then sum(aggr(..))&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm not sure how to use aggr or rangeavg in this case because the column is a calculated expression&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 16:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-subtotal-calculation-to-exclude-null-rows/m-p/1587225#M740316</guid>
      <dc:creator>JeffQV</dc:creator>
      <dc:date>2019-05-31T16:29:16Z</dc:date>
    </item>
  </channel>
</rss>

