<?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: Include null in KPI set analysis expression in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82591#M17499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equal sign is for search string and you only need a single equal sign...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the search string&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(CATEGORYNAME, 'AA', 'BB') or Len(Trim(CATEGORYNAME)) = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you just need a single equal sign. Think of this as an expression you are using against &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WORKORDERID&lt;/STRONG&gt;... where the above expression gives -1, those WORKORDERIDs will be included... where it gives 0... those will be excluded....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, search string is a boolean expression checking if the value is true or false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might have explained more than what you asked... but hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 12:03:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-12T12:03:15Z</dc:date>
    <item>
      <title>Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82580#M17488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have following query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select count(wo.WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from workorder wo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join ws….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join cd….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where (ws.ISOVERDUE=1) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and ((cd.CATEGORYNAME = 'AA')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; OR (cd.CATEGORYNAME = 'BB')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; OR (cd.CATEGORYNAME IS NULL));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write KPI based on above query. KPI is OK when I count:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'AA','BB'}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this version is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'AA','BB', IsNull}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried also these versions below and they are wrong too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'AA','BB'}&amp;gt; + &amp;lt; [ISOVERDUE]={'1'}, WORKORDERID={'=Len(Trim(CATEGORYNAME))=0'}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'AA','BB'}&amp;gt; + &amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'-'}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME ={'AA','BB'}&amp;gt; + &amp;lt; [ISOVERDUE]={'1'}, CATEGORYNAME -={'*'}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to include null or blank values in KPI calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82580#M17488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-11T12:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82581#M17489</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&gt;Count({$&amp;lt;[ISOVERDUE] = {'1'}, &lt;SPAN style="color: #ff0000;"&gt;WORKORDERID = {"=Match(CATEGORYNAME, 'AA', 'BB') or Len(Trim(CATEGORYNAME)) = 0"}&lt;/SPAN&gt;&amp;gt;} DISTINCT WORKORDERID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82581#M17489</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-11T12:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82582#M17490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, great help, I will werify it soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to add to my count more conditions.&lt;/P&gt;&lt;P&gt;Query will look like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select Count(wo.WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from workorder wo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join ws….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join cd….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where (ws.ISOVERDUE=1) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND((cd.CATEGORYNAME = 'AA')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR (cd.CATEGORYNAME = 'BB')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR (cd.CATEGORYNAME IS NULL))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AND ((QUEUENAME != ‘FACIL') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (QUEUENAME != 'WATTO') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (QUEUENAME != 'HELP')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR (QUEUENAME IS NULL));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combining your answear and my new conditions KPI may look as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;[ISOVERDUE] = {'1'}, &lt;SPAN style="color: #ff0000;"&gt;WORKORDERID = {"=Match(CATEGORYNAME, 'AA', 'BB') or Len(Trim(CATEGORYNAME)) = 0"}&lt;/SPAN&gt;&amp;gt;&lt;EM&gt;* &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(&amp;lt; [QUEUENAME]-={'FACIL'}, [QUEUENAME]-={'WATTO'}, [QUEUENAME]-={'HELP'}&amp;gt;+&amp;lt;[QUEUENAME]={IsNull}&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;} DISTINCT WORKORDERID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but again it is something wrong.&lt;/P&gt;&lt;P&gt;Can I somehow implement Match function for new condition or is another way to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82582#M17490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-11T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82583#M17491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just do this again within the same WORKORDERID modifier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;[ISOVERDUE] = {'1'}, WORKORDERID = {"=&lt;SPAN style="color: #ff0000;"&gt;(Match(CATEGORYNAME, 'AA', 'BB') or Len(Trim(CATEGORYNAME)) = 0) and (not Match(QUEUENAME, 'FACIL', 'WATTO', 'HELP') or Len(Trim(QUEUENAME)) = 0)&lt;/SPAN&gt;"}&amp;gt;} DISTINCT WORKORDERID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82583#M17491</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-11T14:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82584#M17492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works regarding&amp;nbsp; MATCH() but it doen's work regarding Len(Trim()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have simplified query and KPI for easier analysis. &lt;/P&gt;&lt;P&gt;Query looks as below and gives around 60 records from my DB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select Count(wo.WORKORDERID) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from workorder wo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join ws on …&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join cd on …&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where (ws.ISOVERDUE=1) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and (cd.CATEGORYNAME IS NULL);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KPI looks as below and it counts over 1200 records:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({$&amp;lt; [ISOVERDUE]={'1'}, WORKORDERID={"= Len(Trim(CATEGORYNAME)) = 0"}&amp;gt;} Distinct WORKORDERID)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 07:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82584#M17492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-12T07:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82585#M17493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only thing I see a little different is that your where clause include fields which are from other tables (ws and cd)... are you left joining these tables in your app? If not, can you check what this gives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT If([ISOVERDUE] = 1 and Len(Trim(CATEGORYNAME)) = 0, WORKORDERID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 08:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82585#M17493</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82586#M17494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The count:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT If([ISOVERDUE] = 1 and Len(Trim(CATEGORYNAME)) = 0, WORKORDERID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gave 1260 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is part of the data model from model viewer with appropriate tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204919_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82586#M17494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-12T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82587#M17495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very difficult to say... would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82587#M17495</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T11:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82588#M17496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why did use the "=" before the first match( which is logical to me) and did not proceed with same logic with the len(trim()) part?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82588#M17496</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-06-12T11:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82589#M17497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this for me? I am sorry, I am not sure what you are asking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82589#M17497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T11:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82590#M17498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes : I was refering to 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;Count({$&amp;lt;[ISOVERDUE] = {'1'}, WORKORDERID = {"&lt;SPAN style="font-size: 18pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(Match(CATEGORYNAME, 'AA', 'BB') or &lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 18pt;"&gt;No = here)&lt;/SPAN&gt;Len(Trim(CATEGORYNAME)) = 0) &lt;/SPAN&gt;"}&amp;gt;} DISTINCT WORKORDERID)&lt;/STRONG&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;&lt;BR /&gt;&lt;/STRONG&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;I was exepecting :&lt;/STRONG&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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({$&amp;lt;[ISOVERDUE] = {'1'}, WORKORDERID = {"&lt;SPAN style="font-size: 18pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(Match(CATEGORYNAME, 'AA', 'BB') or (&lt;SPAN style="color: #000000; font-size: 18pt;"&gt;=&lt;/SPAN&gt;Len(Trim(CATEGORYNAME)) = 0) )&lt;/SPAN&gt;"}&amp;gt;} DISTINCT WORKORDERID)&lt;/STRONG&gt;&lt;/STRONG&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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;No?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82590#M17498</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-06-12T11:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Include null in KPI set analysis expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82591#M17499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equal sign is for search string and you only need a single equal sign...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the search string&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(CATEGORYNAME, 'AA', 'BB') or Len(Trim(CATEGORYNAME)) = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you just need a single equal sign. Think of this as an expression you are using against &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WORKORDERID&lt;/STRONG&gt;... where the above expression gives -1, those WORKORDERIDs will be included... where it gives 0... those will be excluded....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, search string is a boolean expression checking if the value is true or false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might have explained more than what you asked... but hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 12:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Include-null-in-KPI-set-analysis-expression/m-p/82591#M17499</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T12:03:15Z</dc:date>
    </item>
  </channel>
</rss>

