<?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 Expression Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543785#M745092</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table as shown below,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 508px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5883iB3D6417832BB53C7/image-dimensions/508x356?v=v2" width="508" height="356" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calculating POC-Dec POC = (&lt;STRONG&gt;Current month POC)-(Last year December Month's POC)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;(Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC)
-
Above(TOTAL Sum({&amp;lt;MonthYear,Year,Cost_Code={8}&amp;gt;}POC), Num(Month)))&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The expression is working fine, but when there is no Last year December month POC, it is showing as null value as shown in the above image;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Eg: 4.20-0= 4.20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.80-0=3.80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How to fix this issue? attached is file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:27:53 GMT</pubDate>
    <dc:creator>bhaveshp90</dc:creator>
    <dc:date>2024-11-16T04:27:53Z</dc:date>
    <item>
      <title>Expression Error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543785#M745092</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table as shown below,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 508px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5883iB3D6417832BB53C7/image-dimensions/508x356?v=v2" width="508" height="356" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calculating POC-Dec POC = (&lt;STRONG&gt;Current month POC)-(Last year December Month's POC)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;(Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC)
-
Above(TOTAL Sum({&amp;lt;MonthYear,Year,Cost_Code={8}&amp;gt;}POC), Num(Month)))&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The expression is working fine, but when there is no Last year December month POC, it is showing as null value as shown in the above image;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Eg: 4.20-0= 4.20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.80-0=3.80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How to fix this issue? attached is file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543785#M745092</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2024-11-16T04:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543806#M745093</link>
      <description>&lt;PRE&gt;(Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC)
-
alt(Above(TOTAL Sum({&amp;lt;MonthYear,Year,Cost_Code={8}&amp;gt;}POC), Num(Month)),0)
)&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543806#M745093</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-13T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543820#M745094</link>
      <description>&lt;P&gt;Or use RangeSum to add two numbers where one of them can be null()&lt;/P&gt;&lt;PRE&gt;RangeSum(Sum({&amp;lt;Cost_Code={8}&amp;gt;}POC),
-Above(TOTAL Sum({&amp;lt;MonthYear,Year,Cost_Code={8}&amp;gt;}POC), Num(Month)))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 17:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543820#M745094</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-13T17:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543835#M745095</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 17:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/1543835#M745095</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-13T17:05:46Z</dc:date>
    </item>
  </channel>
</rss>

