<?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: Sum of Sales for Null Id in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729388#M1071693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bhawna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( if(isnull(ProductId), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2014 05:52:43 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2014-08-07T05:52:43Z</dc:date>
    <item>
      <title>Sum of Sales for Null Id</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729386#M1071691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a table with ProductId and respective sales.Requirement is to sum(Sales) where productId is null.I have write following condition but it didnt work please if anyone has any idea please share with me.&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;ProductId={-}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;I know,I have missed something but I didnt get what it is.&lt;/P&gt;&lt;P&gt;Table is in following snapshot&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63915_t1.png" style="width: 620px; height: 338px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 05:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729386#M1071691</guid>
      <dc:creator />
      <dc:date>2014-08-07T05:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Sales for Null Id</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729387#M1071692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;ProductId-={'*'}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;ProductId={"=IsNull(ProductId)"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 05:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729387#M1071692</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-08-07T05:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Sales for Null Id</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729388#M1071693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bhawna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( if(isnull(ProductId), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 05:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729388#M1071693</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-07T05:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Sales for Null Id</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729389#M1071694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;Method-1&lt;/STRONG&gt; &lt;/P&gt;&lt;P class="Code"&gt;In Script&lt;/P&gt;&lt;P class="Code"&gt;NULLASVALUE ProductID,Sales...&lt;/P&gt;&lt;P&gt;Set NullValue = 'PN' ;&lt;/P&gt;&lt;P class="Code"&gt;Load ProductID,Sales from Sales_Tab;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;In Expression: Sum({&amp;lt;ProductID={'PN'}&amp;gt;}Sales)&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;Method-2&lt;/STRONG&gt; &lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum( if(isnull(ProductId), Sales))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 05:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-for-Null-Id/m-p/729389#M1071694</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-08-07T05:56:24Z</dc:date>
    </item>
  </channel>
</rss>

