<?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: Problem with null values / NOT null values in SET ANALYSIS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788372#M1036439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Field={'*'}-{''} means that you select all values comeing from the first set '*' (are all the values) minus values from the second set '' (no values) ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Verify your data with a fixed selection&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 14:09:45 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-01-14T14:09:45Z</dc:date>
    <item>
      <title>Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788368#M1036428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im still having problems with this expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to SUM Quantity, with Concept = 'Concep&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;t'. And Field has to be NULL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to do the same but Field has to be NOT NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;Concept= {'Concept'},Field-= {""}&amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the SAME VALUE with the two expresions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody knows how can i solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 13:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788368#M1036428</guid>
      <dc:creator />
      <dc:date>2015-01-14T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788369#M1036430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;this expression (your first expression gives you all NOT NULL values)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the second expression is the same of the first&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You can have Null by difference, that is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;Concept= {'Concept'},Field= &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let me know&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 13:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788369#M1036430</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-14T13:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788370#M1036432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;This is kinda strange.&lt;/P&gt;&lt;P&gt;I have a negative result.&lt;/P&gt;&lt;P&gt;And if this is ALL VALUES - NOT NULL this doesn't make sense.&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 14:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788370#M1036432</guid>
      <dc:creator />
      <dc:date>2015-01-14T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788371#M1036435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that &lt;STRONG style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity) &lt;/STRONG&gt;gives me ALL NULL VALUES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 12.7272720336914px; font-style: inherit;"&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 12.7272720336914px; font-style: inherit;"&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 12.7272720336914px; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 12.7272720336914px; font-family: inherit;"&gt;SUM({&amp;lt;Concept= {'Concept'},Field= &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;what do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 14:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788371#M1036435</guid>
      <dc:creator />
      <dc:date>2015-01-14T14:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788372#M1036439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Field={'*'}-{''} means that you select all values comeing from the first set '*' (are all the values) minus values from the second set '' (no values) ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Verify your data with a fixed selection&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 14:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788372#M1036439</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-14T14:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null values / NOT null values in SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788373#M1036442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremias,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You have to be careful what you refer to as null values. Blanks, blank spaces, and other "empty" strings are not technically null values. They have a value. So what you are doing in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({&amp;lt;Concept= {'Concept'},Field={'*'}-{''} &amp;gt;}Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;is saying that take everything that has a value in Field (blanks and blank spaces included) and subtracting the set of all blanks from that. So this would be giving you everything that has a value in Field except for blanks (and nulls).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some expressions that may help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Field = {'*'}&amp;gt;}Value)&lt;/STRONG&gt; - Sum values where Field has some value in it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Field = {'=len(trim(Field))&amp;gt;0'}&amp;gt;}Value)&lt;/STRONG&gt; - Sum where the length of the Field after it is trimmed of spaces is greater than 0 (i.e. everything that has values that aren't blanks or blank spaces).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Field = {'=len(trim(Field))=0'}&amp;gt;}Value)&lt;/STRONG&gt; - Sum where the length of the Field after it is trimmed of spaces is equal to 0. This will sum the blanks and blank spaces in your Field field. This will not include actual null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({1-$&amp;lt;Field = {'*'}&amp;gt;}Value)&lt;/STRONG&gt; - Sum where there are null values. This takes the set 1 (i.e. the whole set of data ignoring selections and subtracting the set of data that has some value in Field. This will give you the actual values where Field is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({1-$&amp;lt;Field = {'*'}&amp;gt; + $&amp;lt;Field = {'=len(trim(Field))=0'}&amp;gt;}Value)&lt;/STRONG&gt; - Sum where there are nulls and blanks and blank spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached dashboard for some examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt; will help. It is written by HIC. Very good read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 15:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-NOT-null-values-in-SET-ANALYSIS/m-p/788373#M1036442</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2015-01-14T15:01:48Z</dc:date>
    </item>
  </channel>
</rss>

