<?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: Row-based calculation where cell value is 0 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302210#M405735</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;May be as in attached file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 06:30:01 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-06-08T06:30:01Z</dc:date>
    <item>
      <title>Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302203#M405728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my goal is to&lt;STRONG&gt; not include&lt;/STRONG&gt; calculations for 0 or null values in the &lt;STRONG&gt;Planned&lt;/STRONG&gt; column so that they won't be added in the (&lt;STRONG&gt;Act - Plan&lt;/STRONG&gt;) column.&lt;/P&gt;&lt;P&gt;This needs to be row-based.&lt;/P&gt;&lt;P&gt;I cannot do this in the load script because the data comes from different tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE class="data-table"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="border-bottom"&gt;Material&lt;/TH&gt;&lt;TH class="border-bottom"&gt;Actual&lt;/TH&gt;&lt;TH class="border-bottom"&gt;Planned&lt;/TH&gt;&lt;TH&gt;(Act - Plan)&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;&lt;STRONG style="font-size: 14pt;"&gt;4&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is how to do this row-based calculation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your Input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302203#M405728</guid>
      <dc:creator />
      <dc:date>2017-06-02T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302204#M405729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Plan&amp;gt;0,Act-Plan,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302204#M405729</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-06-02T11:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302205#M405730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like below !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Planned&amp;gt;0,Actual-Planned,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302205#M405730</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-02T11:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302206#M405731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I do understand my own problem better now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my calculation I use sum functions for all three calculations. When I use above formulas I get the right calculation for each row but the total field is 0.&lt;/P&gt;&lt;P&gt;I tried different modifications of the formula but all resulted in a total value of 0.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;=if(Planned&amp;gt;0,sum(Actual)- sum(Planned),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is tere a way to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302206#M405731</guid>
      <dc:creator />
      <dc:date>2017-06-06T11:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302207#M405732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Go to expression &amp;gt; Total &amp;gt; select the Row&amp;gt;total option that should help you to get the Total &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302207#M405732</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-06-06T11:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302208#M405733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302208#M405733</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-06T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302209#M405734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, it works for a straight table to set the Total Mode to "Sum".&lt;/P&gt;&lt;P&gt;Is there a way to do this for a Pivot table as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 06:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302209#M405734</guid>
      <dc:creator />
      <dc:date>2017-06-08T06:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302210#M405735</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;May be as in attached file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 06:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302210#M405735</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-08T06:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Row-based calculation where cell value is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302211#M405736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Did you tried with the partial sum option in the presentation tab ?&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 09:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-based-calculation-where-cell-value-is-0/m-p/1302211#M405736</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-06-08T09:35:56Z</dc:date>
    </item>
  </channel>
</rss>

