<?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 analysis with empty values problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99083#M603065</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;ORDER_StatusDesc= {"CO-Released", "REPLORD-Released"},PRDLI_Desc = {"Die Cut","Die Cut Glued"}, MFO_StateDesc = e({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MFO_StateDesc&amp;nbsp; = &lt;/SPAN&gt;{"MFO Cancelled","MFO Finished"}&amp;gt;})&amp;gt;} ORDER_GrossSqm)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2018 14:31:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-08-02T14:31:42Z</dc:date>
    <item>
      <title>Set analysis with empty values problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99082#M603064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use set analysis to filter data. When i try to put a filter in field that contains also empty values in order to exclude 2 values then also the empty values dissapear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression i use is:&lt;/P&gt;&lt;P&gt;sum({&amp;lt; ORDER_StatusDesc= {"CO-Released", "REPLORD-Released"},PRDLI_Desc = {"Die Cut","Die Cut Glued"},MFO_StateDesc -= {"MFO Cancelled","MFO Finished"} &amp;gt;} ORDER_GrossSqm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the field MFO_StateDesc i have some records with empty value. When i put in the expression the "&lt;SPAN style="font-size: 13.3333px;"&gt;MFO_StateDesc -= {"MFO Cancelled","MFO Finished"}"&amp;nbsp; part then the MFO_Cancelled and MFO_Finished are removed but also the empty ones. I don 't want the empty to be removed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can any one help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99082#M603064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T13:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with empty values problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99083#M603065</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;ORDER_StatusDesc= {"CO-Released", "REPLORD-Released"},PRDLI_Desc = {"Die Cut","Die Cut Glued"}, MFO_StateDesc = e({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MFO_StateDesc&amp;nbsp; = &lt;/SPAN&gt;{"MFO Cancelled","MFO Finished"}&amp;gt;})&amp;gt;} ORDER_GrossSqm)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 14:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99083#M603065</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-02T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with empty values problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99084#M603066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Same effect. The empty values are lost. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 05:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99084#M603066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T05:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with empty values problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99085#M603067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be convert nulls to white spaces in the script...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(IsNull(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MFO_StateDesc), ' ', &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MFO_StateDesc) as &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MFO_StateDesc&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can create a new field for the purposes of this set analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;MFO_StateDesc, '&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MFO Cancelled', 'MFO Finished'), 0, 1) as Flag&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this&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;ORDER_StatusDesc= {"CO-Released", "REPLORD-Released"},PRDLI_Desc = {"Die Cut","Die Cut Glued"}, Flag = {1}&amp;gt;} ORDER_GrossSqm)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-empty-values-problem/m-p/99085#M603067</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-03T14:13:19Z</dc:date>
    </item>
  </channel>
</rss>

