<?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 Where Field Is Null in Data Model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170986#M462504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant. Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 17:31:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-08T17:31:58Z</dc:date>
    <item>
      <title>Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170982#M462500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is my data model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DM1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136862_DM1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If have created a straight table with the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DM2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136863_DM2.PNG" style="height: 18px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to do some basic DQ calculations. Such as SUM AMOUNT USD when Contact ID is NOT NULL and Lead ID IS NULL. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not having much luck after some research.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170982#M462500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170983#M462501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Contact ID] = {"=Len(Trim([Contact ID])) &amp;gt; 0"}, [Lead ID] = {"=Len(Trim([Lead ID])) = 0"}&amp;gt;}[Amount USD])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170983#M462501</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T17:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170984#M462502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for the replay Sunny but this did not work. Not data is returned with this expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm there are records where CONTACT ID is NOT NULL and LEAD ID IS NULL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170984#M462502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170985#M462503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Contact ID] = {"=Len(Trim([Contact ID])) &amp;gt; 0 and Len(Trim([Lead ID])) = 0"}&amp;gt;}[Amount USD])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170985#M462503</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T17:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170986#M462504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant. Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170986#M462504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170987#M462505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny - Does the syntax change if I want both fields to be blank? Trying to apply by changing &amp;gt; to = but it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170987#M462505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170988#M462506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another idea:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;--&amp;gt; Lead ID null(), Contact ID not null()&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({($-&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Lead ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;) * (&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Contact ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;)} &lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Amount USD]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;--&amp;gt; both fields null():&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({($-&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Lead ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;) * ($-&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Contact ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;)} &lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Amount USD]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;--&amp;gt; both fields not null():&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({(&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Lead ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;) * (&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Contact ID]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;} &amp;gt;)} &lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Amount USD]&lt;/SPAN&gt;&lt;SPAN lang="de" style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170988#M462506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170989#M462507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not working?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Contact ID] = {"=Len(Trim([Contact ID])) = 0 and Len(Trim([Lead ID])) = 0"}&amp;gt;}[Amount USD])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wanted rows where both Contact ID and Lead ID is null? Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170989#M462507</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T17:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170990#M462508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not working. I've tried several variations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is proof that these rows exist: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DM3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136864_DM3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170990#M462508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170991#M462509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;[Opportunity ID]&lt;/SPAN&gt; = {"=Len(Trim([Contact ID])) = 0 and Len(Trim([Lead ID])) = 0"}&amp;gt;}[Amount USD])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170991#M462509</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170992#M462510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't select NULL, so the set modifier can't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to select in another field that shows a unique value where the records fulfills the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/qlik-blogpost/4424"&gt;Excluding values in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170992#M462510</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-08T17:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170993#M462511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works. You are the best. Any insight into how you came to this answer? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170993#M462511</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T17:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170994#M462512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your screenshot I saw that you were looking at Contact ID and Lead ID against Opportunity ID and as Stefan mentioned that you need a non-null unique field to check against the nullness of another field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170994#M462512</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170995#M462513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you stefan. Sunny's suggestion worked immediately but the article by Henric is useful as always. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing that using the Len(Trim() solution may effect performance somewhere down the line? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170995#M462513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T18:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170996#M462514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. So your expression could also be substituted with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt;element function E(), that returns excluded values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&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; font-size: 13px; background-color: #f5faf0;"&gt;Very thankful again! Your help is always appreciated. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170996#M462514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Where Field Is Null in Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170997#M462515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Asking about performance, if OpportunityID is the primary key of your upper left table, I suspect that using set analysis will not perform much better than an ordinary aggregation with an if() clause,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also think there can't be a case with OpportunityID linked to a LeadID value without also showing a ContactID, so it should be enough to check for ContactID being NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(If( len(trim(ContactID))=0,Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Where-Field-Is-Null-in-Data-Model/m-p/1170997#M462515</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-08T18:11:35Z</dc:date>
    </item>
  </channel>
</rss>

