<?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 analisys question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534785#M746079</link>
    <description>&lt;P&gt;My bad. the description of values in fields F1 and F2 was reversed.&lt;/P&gt;&lt;P&gt;Here is how it should read:&lt;/P&gt;&lt;P&gt;There are 11 members of F2. One of F1 is NULL and one of F1 is 0.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 20:26:21 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2019-01-24T20:26:21Z</dc:date>
    <item>
      <title>Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534730#M746076</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Is there a difference between:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;Count&lt;/FONT&gt;({&amp;lt;OrderValue&lt;STRONG&gt;&lt;FONT size="4"&gt;&lt;FONT size="5"&gt;=&lt;/FONT&gt;{"&amp;lt;&amp;gt;0"} &lt;/FONT&gt;&lt;/STRONG&gt;&amp;gt;}SalesOrderNumber)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;Count&lt;/FONT&gt;({&amp;lt;OrderValue&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;-=&lt;/FONT&gt;{0} &lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt;}SalesOrderNumber)&lt;/P&gt;&lt;P&gt;I am not getting consistent results, depending on where I use either one.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534730#M746076</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534755#M746077</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;The&amp;nbsp;Count&lt;SPAN&gt;({&amp;lt;OrderValue&lt;/SPAN&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;-=&lt;/FONT&gt;{0}&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;gt;}SalesOrderNumber)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;is the same as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN&gt;OrderValue&lt;/SPAN&gt; = {'*'} - {'0'}&amp;gt;} &lt;SPAN&gt;SalesOrderNumber&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;(include everything *, but exclude 0; or include everything except 0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides without '' the formula will be underlined as if it's an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While using&amp;nbsp;&lt;FONT color="#000000"&gt;Count&lt;SPAN&gt;({&amp;lt;OrderValue&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;&lt;FONT size="5"&gt;=&lt;/FONT&gt;{"&amp;lt;&amp;gt;0"}&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;gt;}SalesOrderNumber) you exclude 0 and&amp;nbsp;null values from the list of possible OrderValue values.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 655px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4447i6B6DA78419DC4F6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.jpg" alt="Screenshot_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Please check the simple attachment file.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 05:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534755#M746077</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-25T05:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534776#M746078</link>
      <description>&lt;P&gt;for your reply, however it is not what I had in mind.&lt;/P&gt;&lt;P&gt;Here is a sample of where the test fails. There are 11 members of F1. One of F2 is NULL and one of F2 is 0.&lt;/P&gt;&lt;P&gt;Seems that the expression :&amp;nbsp; Count({&amp;lt;F1={"&amp;lt;&amp;gt;0"}&amp;gt;}F2) returns the correct value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4450i26E317CB24077DA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534776#M746078</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-01-24T20:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534785#M746079</link>
      <description>&lt;P&gt;My bad. the description of values in fields F1 and F2 was reversed.&lt;/P&gt;&lt;P&gt;Here is how it should read:&lt;/P&gt;&lt;P&gt;There are 11 members of F2. One of F1 is NULL and one of F1 is 0.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534785#M746079</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-01-24T20:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534786#M746080</link>
      <description>&lt;P&gt;Both are giving correct results as they have made for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If depends upon the requirement which need to be used.&lt;/P&gt;&lt;P&gt;if you don't want to consider 0 as well as NULL&lt;/P&gt;&lt;P&gt;then you should go for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;F1={"&amp;lt;&amp;gt;0"}&amp;gt;}F2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you need to exclude only 0 then you should go for&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;F1-={0}&amp;gt;})F2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nilaksh Mahajan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534786#M746080</guid>
      <dc:creator>nilaksh92</dc:creator>
      <dc:date>2019-01-24T20:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analisys question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534789#M746081</link>
      <description>&lt;P&gt;Thanks Nilaksh&lt;/P&gt;&lt;P&gt;It indeed seems this way.&lt;/P&gt;&lt;P&gt;The modifier {&amp;lt;F1={"&amp;lt;&amp;gt;0"}&amp;gt;} indeed removes both 0 and NULL.&lt;/P&gt;&lt;P&gt;It is counter intuitive though.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analisys-question/m-p/1534789#M746081</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-01-24T20:33:20Z</dc:date>
    </item>
  </channel>
</rss>

