<?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: Set Anaysis - Range Criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589710#M1111619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Another quick one:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;How do I filter for a null value?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;I’m trying to count the records where the NCMR.Disposition field is null, or empty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; {&amp;lt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.Statuss]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;-={'Closed'}, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[ComplaintMDR.TaskID]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={'INJ-RES-A'},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: maroon;"&gt;[NCMR.Disposition]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: black;"&gt; = {},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.Age (Days)]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = {'&amp;lt;30'} &lt;BR /&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.NCMR No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Mar 2014 20:53:03 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2014-03-02T20:53:03Z</dc:date>
    <item>
      <title>Set Anaysis - Range Criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589707#M1111616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create an expression that will filter and count records meeting the citeria of Open (not Closed), MDR = yes, and the Age is between 15 and 25 days. My expression (below) works correctly if I use only one of the age criterias (&amp;gt;14 or &amp;lt;26) but I can't figure out how to use the range. &lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;( &lt;SPAN style="color: #0000ff;"&gt;Distinct&lt;/SPAN&gt; {&amp;lt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Complaints.Status]&lt;/SPAN&gt;-={'Closed'}, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Complaints.MDR]={'Yes'},&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Complaints.Age (Days)]&lt;/SPAN&gt; = {'&amp;gt;14','&amp;lt;26'} &lt;BR /&gt;&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[Complaints.Complaint No]&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does range criteria work in set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 19:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589707#M1111616</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-03-02T19:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anaysis - Range Criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589708#M1111617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Count&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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Complaints.Status]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-={'Closed'}, &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Complaints.MDR]={'Yes'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; [Complaints.Age (Days)]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; = {'&amp;gt;14&amp;lt;26'} &lt;/STRONG&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;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Complaints.Complaint No]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 20:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589708#M1111617</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-02T20:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anaysis - Range Criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589709#M1111618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was so close; didn't remove the space wehn I deleted the comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Gysbert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 20:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589709#M1111618</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-03-02T20:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anaysis - Range Criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589710#M1111619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Another quick one:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;How do I filter for a null value?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;I’m trying to count the records where the NCMR.Disposition field is null, or empty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; {&amp;lt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.Statuss]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;-={'Closed'}, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[ComplaintMDR.TaskID]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;={'INJ-RES-A'},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: maroon;"&gt;[NCMR.Disposition]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: black;"&gt; = {},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.Age (Days)]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = {'&amp;lt;30'} &lt;BR /&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[NCMR.NCMR No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 20:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589710#M1111619</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-03-02T20:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anaysis - Range Criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589711#M1111620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That can be tricky. The best solution is to replace nulls and empty values with a real value, i.e. 'N/A', in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load ...some fields..., if(len(trim(NCMR.Disposition))=0,'N/A',NCMR.Disposition) as NCMR.Disposition&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set modifier will then be a simple [NCMR.Disposition]={'N/A'}. If you can't or won't fix this in the script you can try [NCMR.Disposition] =- {'*'} or [NCMR.Disposition] = {'=len(trim(NCMR.Disposition]))=0'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 21:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anaysis-Range-Criteria/m-p/589711#M1111620</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-02T21:11:11Z</dc:date>
    </item>
  </channel>
</rss>

