<?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 exclude null values in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778924#M1044317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are nulls formatted in your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2014 19:20:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-04T19:20:55Z</dc:date>
    <item>
      <title>How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778921#M1044314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to exclude null values from my set analysis equations below.&amp;nbsp; Below are my current equations, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CURRENT Set Analysis Expression:&lt;/P&gt;&lt;P&gt;Wins:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;StatusID={'$(vWonStatusID)'}, StatusSummary =&amp;gt;}DISTINCT IncidentID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loss:&lt;/P&gt;&lt;P&gt;=num(count({$&amp;lt;CreatedDate&amp;gt;}Distinct IncidentID), '#,##0')&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;count({$&amp;lt;StatusID={'$(vWonStatusID)'}, StatusSummary =&amp;gt;}DISTINCT IncidentID) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total:&lt;/P&gt;&lt;P&gt;=num(count({$&amp;lt;CreatedDate&amp;gt;}Distinct IncidentID), '#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 19:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778921#M1044314</guid>
      <dc:creator />
      <dc:date>2014-12-04T19:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778922#M1044315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toedtli,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;add below code in script and replace field EmpID with your own fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))= '0',1,0) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CountID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: Arial, sans-serif;"&gt;add in UI:&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;=&lt;/SPAN&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CountID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; ={'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: Arial, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: Arial, sans-serif;"&gt;Neetha&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 19:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778922#M1044315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778923#M1044316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello T.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change your variable into vWonStatusID = if(isnull(StatusID), 0, 'yourexpectedvaluelike1yesoranythingelse') if your statusID of wins is not 0 actually...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 19:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778923#M1044316</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2014-12-04T19:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778924#M1044317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are nulls formatted in your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 19:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778924#M1044317</guid>
      <dc:creator />
      <dc:date>2014-12-04T19:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778925#M1044318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;Hi, try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({&amp;lt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;EmpID -&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;={"$(=null())"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;EmpID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Ruben Lima&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 16:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778925#M1044318</guid>
      <dc:creator>ruben_lima</dc:creator>
      <dc:date>2017-07-12T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude null values in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778926#M1044319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the null is in the set analysis you can compare it to '' (nothing)&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 16:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-null-values-in-set-analysis/m-p/778926#M1044319</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-12T16:31:03Z</dc:date>
    </item>
  </channel>
</rss>

