<?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 set analysis for null value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160390#M505027</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'm just wondering do the due dates really matter because you're flagging the first time moms with "Y" already.&lt;/P&gt;&lt;P&gt;First time moms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=count ( distinct { $&amp;lt;Customer_First_Born_Flag = {"Y"} &amp;gt;} Customer_Key)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Non-First timers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=count ( distinct { $&amp;lt;Customer_First_Born_Flag -= {"Y"} &amp;gt;} Customer_Key)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Do you need to count how many kids they have for the non first time moms? Then you will need to take the due dates into account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 03:02:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-19T03:02:14Z</dc:date>
    <item>
      <title>set analysis for null value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160388#M505025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a question about Set Analysis.&lt;/P&gt;&lt;P&gt;I want to calculate the number of first-time mom and non-first-time mom, the conditions are&lt;/P&gt;&lt;P&gt;1. First time mom : First born flag = Y and only has one due date&lt;/P&gt;&lt;P&gt;2. Non-first time mom : First born flag &amp;lt;&amp;gt; Y or has more than one due date&lt;/P&gt;&lt;P&gt;For first time mom, I wrote&lt;/P&gt;&lt;P&gt;=count({$Customer_First_Born_Flag ={Y}, Customer_Due_Date1={ }, Customer_Due_Date2= { }&amp;gt;} distinct Customer_Key), which didn't work.&lt;/P&gt;&lt;P&gt;But =count({$Customer_First_Born_Flag ={Y}&amp;gt;} distinct Customer_Key) worked!!&lt;/P&gt;&lt;P&gt;Why is that? Isn't { } represents null value? Please help please!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 02:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160388#M505025</guid>
      <dc:creator />
      <dc:date>2009-08-19T02:28:11Z</dc:date>
    </item>
    <item>
      <title>set analysis for null value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160389#M505026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to do this, this didn't work either:&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;count({$&amp;lt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-$&amp;lt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*},Customer_Due_Date2 = {*}&amp;gt;&lt;/P&gt;&lt;P&gt;-$&amp;lt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*},Customer_Due_Date2 = {*}, Customer_Due_Date3= {*}&amp;gt;&lt;/P&gt;&lt;P&gt;-$&amp;lt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*},Customer_Due_Date2 = {*}, Customer_Due_Date3 = {*}, Customer_Due_Date4 = {*}&amp;gt;&lt;/P&gt;&lt;P&gt;-$&amp;lt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*},Customer_Due_Date2 = {*}, Customer_Due_Date3 = {*}, Customer_Due_Date4 = {*}, Customer_Due_Date5= {*}&amp;gt;&lt;/P&gt;&lt;P&gt;-$&amp;lt;Customer_First_Born_Flag = {Y}, Customer_Due_Date1 = {*},Customer_Due_Date2 = {*}, Customer_Due_Date3 = {*}, Customer_Due_Date4 = {*}, Customer_Due_Date5 = {*}, Customer_Due_Date6= {*}&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;distinct Customer_Key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 02:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160389#M505026</guid>
      <dc:creator />
      <dc:date>2009-08-19T02:53:46Z</dc:date>
    </item>
    <item>
      <title>set analysis for null value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160390#M505027</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'm just wondering do the due dates really matter because you're flagging the first time moms with "Y" already.&lt;/P&gt;&lt;P&gt;First time moms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=count ( distinct { $&amp;lt;Customer_First_Born_Flag = {"Y"} &amp;gt;} Customer_Key)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Non-First timers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=count ( distinct { $&amp;lt;Customer_First_Born_Flag -= {"Y"} &amp;gt;} Customer_Key)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Do you need to count how many kids they have for the non first time moms? Then you will need to take the due dates into account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 03:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-null-value/m-p/160390#M505027</guid>
      <dc:creator />
      <dc:date>2009-08-19T03:02:14Z</dc:date>
    </item>
  </channel>
</rss>

