<?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: Find missing customers between two dates in a snapshot facttable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921022#M319097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or something a lot more complicated. If you select a date then you can try this: &lt;/P&gt;&lt;P&gt;count({&amp;lt;[Customer No] *= e({&amp;lt;Date={"&amp;lt;=$(=only(Date))"}&amp;gt;}[Customer No])&amp;gt;}[Customer No])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 11:20:11 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-07-30T11:20:11Z</dc:date>
    <item>
      <title>Find missing customers between two dates in a snapshot facttable</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921018#M319093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a snapshot fact table holding subscriber data. I want to display a KPI thats shows a number of new subscribers joined yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample data or similar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="229"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="85"&gt;Customer No&lt;/TD&gt;&lt;TD width="64"&gt;Date&lt;/TD&gt;&lt;TD width="80"&gt;Is Subscriber&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3.7.2015&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be solved with Sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 23:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921018#M319093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-29T23:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing customers between two dates in a snapshot facttable</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921019#M319094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your source data is in chronological order (i.e. sorted by date) then you can use the Exists function to check if a customer number already exists in the records loaded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer No],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Is Subscriber],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Customer No]),'No','Yes') as IsNew&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM ...source_table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 05:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921019#M319094</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-30T05:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing customers between two dates in a snapshot facttable</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921020#M319095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input I could sort the table and load it like this, but I have a small twist. What if I would like to count all new customers joined after 01.07.2015 until today for example 30.07.2015. I have done this with SQL by distinct count customerId on the 01.07.2015 and then count the ones that are subscribers today and dont exist in the first set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I do this via Set Analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Birkir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921020#M319095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-30T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing customers between two dates in a snapshot facttable</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921021#M319096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Gysbert's flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date={"&amp;gt;01.07.2015"}&amp;gt;} IsNew)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to do some manipulation of the date value so that it matches that in your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921021#M319096</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2015-07-30T11:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing customers between two dates in a snapshot facttable</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921022#M319097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or something a lot more complicated. If you select a date then you can try this: &lt;/P&gt;&lt;P&gt;count({&amp;lt;[Customer No] *= e({&amp;lt;Date={"&amp;lt;=$(=only(Date))"}&amp;gt;}[Customer No])&amp;gt;}[Customer No])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-customers-between-two-dates-in-a-snapshot-facttable/m-p/921022#M319097</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-30T11:20:11Z</dc:date>
    </item>
  </channel>
</rss>

