<?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: How to count the missing ID count for  missing date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096839#M640583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me that an ID is not considered missing before the first start date, or after the last end date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might load my data into this sort of structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ID&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present Missing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp;&amp;nbsp; 2-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp;&amp;nbsp; 3-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 20-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 21-jan-2016&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 22-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 28-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp;&amp;nbsp; 3-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp;&amp;nbsp; 4-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 20-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 21-feb-2016&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 22-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or have a flag, or a status field, whatever you find most useful. Or more than one way of identifying the same information. The above doesn't lend itself to selections, for instance, only for counting up in a chart with sum(Missing). A Y/N flag of "Missing?" could be done with count({&amp;lt;Missing*={'Y'}&amp;gt;} distinct ID). A status of Present/Missing could be done with count({&amp;lt;Status*={'Missing'}&amp;gt;} distinct ID). Or even with a flag or status field, you could have a Missing field to sum up like that. These also give different results if, say, you're adding up what's missing for a Month. Do you want the number of ID-days that are missing? Just the number of IDs? The sum() gives a different answer than the count() in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then have a calendar that gives you the month and day for each date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then make a pivot table with Month and Day as dimensions, and use one of the expressions above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transforming your input data into what I show above may be difficult depending on your experience. If this looks like the solution, give it a shot. If you can't figure it out, I'm sure I can figure out a script to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Mar 2016 19:02:51 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2016-03-05T19:02:51Z</dc:date>
    <item>
      <title>How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096838#M640582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to count the missing ID count for&amp;nbsp; missing date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start_Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-jan-2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-jan-2016&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp; 22-jan-2016&amp;nbsp;&amp;nbsp;&amp;nbsp; 28-jan-2016&lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp; 3-Feb-2016&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-Feb-2016&lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp; 22-Feb-2016&amp;nbsp;&amp;nbsp; 25-Feb-2016&lt;/P&gt;&lt;P&gt;C1&amp;nbsp;&amp;nbsp; 2-jan-2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-jan-2016&lt;/P&gt;&lt;P&gt;C1&amp;nbsp;&amp;nbsp; 22-jan-2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31-jan-2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-moz-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 916px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="49"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="30"&gt;Day&lt;/TD&gt;&lt;TD align="right" width="27"&gt;1&lt;/TD&gt;&lt;TD align="right" width="29"&gt;2&lt;/TD&gt;&lt;TD align="right" width="27"&gt;3&lt;/TD&gt;&lt;TD align="right" width="21"&gt;4&lt;/TD&gt;&lt;TD align="right" width="21"&gt;5&lt;/TD&gt;&lt;TD align="right" width="25"&gt;6&lt;/TD&gt;&lt;TD align="right" width="20"&gt;7&lt;/TD&gt;&lt;TD align="right" width="23"&gt;8&lt;/TD&gt;&lt;TD align="right" width="25"&gt;9&lt;/TD&gt;&lt;TD align="right" width="29"&gt;10&lt;/TD&gt;&lt;TD align="right" width="32"&gt;11&lt;/TD&gt;&lt;TD align="right" width="33"&gt;12&lt;/TD&gt;&lt;TD align="right" width="29"&gt;13&lt;/TD&gt;&lt;TD align="right" width="27"&gt;14&lt;/TD&gt;&lt;TD align="right" width="26"&gt;15&lt;/TD&gt;&lt;TD align="right" width="29"&gt;16&lt;/TD&gt;&lt;TD align="right" width="28"&gt;17&lt;/TD&gt;&lt;TD align="right" width="27"&gt;18&lt;/TD&gt;&lt;TD align="right" width="23"&gt;19&lt;/TD&gt;&lt;TD align="right" width="24"&gt;20&lt;/TD&gt;&lt;TD align="right" width="25"&gt;21&lt;/TD&gt;&lt;TD align="right" width="24"&gt;22&lt;/TD&gt;&lt;TD align="right" width="28"&gt;23&lt;/TD&gt;&lt;TD align="right" width="29"&gt;24&lt;/TD&gt;&lt;TD align="right" width="25"&gt;25&lt;/TD&gt;&lt;TD align="right" width="30"&gt;26&lt;/TD&gt;&lt;TD align="right" width="32"&gt;27&lt;/TD&gt;&lt;TD align="right" width="30"&gt;28&lt;/TD&gt;&lt;TD align="right" width="33"&gt;29&lt;/TD&gt;&lt;TD align="right" width="28"&gt;30&lt;/TD&gt;&lt;TD align="right" width="28"&gt;31&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;Jan-16&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;Feb-16&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;1&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;Example:&lt;/P&gt;&lt;P&gt;ID - A1 starting date is 2-jan and end in 20-jan and again 22-jan-2016&amp;nbsp; the ID(A1) start and end 28-jan-2016 . In between&amp;nbsp; 21-jan-2016 , Id(A1) is missing.so missing date is 21-jan-2016. we have to show the count of missing ID. For jan month 31 days are there, so fill the missing count for remaining date.(Refer Expected output).&amp;nbsp; 21-jan-2016 two id(A1, C1) are missing.So count of missing on 21-jan-2016 is 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:First time ID Start date is not consider for missing count.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/52303"&gt;NareshGuntur&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/171732"&gt;ziadmohd1&lt;/A&gt;‌&lt;A href="https://community.qlik.com/space/2048"&gt;QlikView Forums &amp;amp;amp; Resources&lt;/A&gt;‌&lt;A href="https://community.qlik.com/space/2061"&gt;Scripting&lt;/A&gt;‌&lt;A href="https://community.qlik.com/space/2050"&gt;Blogs&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 16:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096838#M640582</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-05T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096839#M640583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me that an ID is not considered missing before the first start date, or after the last end date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might load my data into this sort of structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ID&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present Missing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp;&amp;nbsp; 2-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp;&amp;nbsp; 3-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 20-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 21-jan-2016&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 22-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;A1&amp;nbsp; 28-jan-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp;&amp;nbsp; 3-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp;&amp;nbsp; 4-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 20-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 21-feb-2016&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;B1&amp;nbsp; 22-feb-2016&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or have a flag, or a status field, whatever you find most useful. Or more than one way of identifying the same information. The above doesn't lend itself to selections, for instance, only for counting up in a chart with sum(Missing). A Y/N flag of "Missing?" could be done with count({&amp;lt;Missing*={'Y'}&amp;gt;} distinct ID). A status of Present/Missing could be done with count({&amp;lt;Status*={'Missing'}&amp;gt;} distinct ID). Or even with a flag or status field, you could have a Missing field to sum up like that. These also give different results if, say, you're adding up what's missing for a Month. Do you want the number of ID-days that are missing? Just the number of IDs? The sum() gives a different answer than the count() in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then have a calendar that gives you the month and day for each date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then make a pivot table with Month and Day as dimensions, and use one of the expressions above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transforming your input data into what I show above may be difficult depending on your experience. If this looks like the solution, give it a shot. If you can't figure it out, I'm sure I can figure out a script to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 19:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096839#M640583</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-05T19:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096840#M640584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar to John's suggestion maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_208298_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117092_QlikCommunity_Thread_208298_Pic1.JPG" style="height: 69px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_208298_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/117093_QlikCommunity_Thread_208298_Pic3.JPG" style="height: 204px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_208298_Pic2.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/117094_QlikCommunity_Thread_208298_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14572288417055829 jive_text_macro" jivemacro_uid="_14572288417055829"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Start_Date, End_Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A1, 2-jan-2016, 20-jan-2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A1, 22-jan-2016, 28-jan-2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B1, 3-Feb-2016, 20-Feb-2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B1, 22-Feb-2016, 25-Feb-2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, 2-jan-2016, 20-jan-2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, 22-jan-2016, 31-jan-2016&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabDateLink:&lt;/P&gt;
&lt;P&gt;LOAD ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Start_Date+IterNo()-1) as Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as DatePresent&lt;/P&gt;
&lt;P&gt;Resident table1&lt;/P&gt;
&lt;P&gt;While Start_Date+IterNo()-1 &amp;lt;= End_Date;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(End_Date+IterNo()) as Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 as DatePresent&lt;/P&gt;
&lt;P&gt;While End_Date+IterNo()&amp;lt;If(ID=PrevID, PrevStart, MonthEnd(End_Date));&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LOAD *, Previous(ID) as PrevID, Previous(Start_Date) as PrevStart&lt;/P&gt;
&lt;P&gt;Resident table1&lt;/P&gt;
&lt;P&gt;Order By ID, Start_Date desc;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar: &lt;/P&gt;
&lt;P&gt;LOAD *, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(Date) as Day, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) as WeekDay, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(Date) as Week, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(Date) as WeekName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Date) as MonthName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q'&amp;amp;Ceil(Month(Date)/3),Ceil(Month(Date)/3)) as Quarter, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(Date) as QuarterName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekYear(Date) as WeekYear;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LOAD Date(MinDate+IterNo()-1) as Date &lt;/P&gt;
&lt;P&gt;While MinDate+IterNo()-1 &amp;lt;= MaxDate; &lt;/P&gt;
&lt;P&gt;LOAD Min(Start_Date) as MinDate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Today() as MaxDate &lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 01:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096840#M640584</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-06T01:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096841#M640585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count Missing Id's per date. Exact answer like Marco wedel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 12:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096841#M640585</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-06T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096842#M640586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please close your thread if your question is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 15:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096842#M640586</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-06T15:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096843#M640587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I closed thread,once i practically work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 06:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096843#M640587</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-07T06:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096844#M640588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco &lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117296_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;How the above scripts works please explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 08:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096844#M640588</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-08T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096845#M640589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Little extra works left Marco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A1&lt;/STRONG&gt; start &lt;STRONG&gt;2-jan-2016&lt;/STRONG&gt; and end &lt;STRONG&gt;28-jan-2016&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Now i want,the maximum calendar date is 25-feb-2016 .so, I want to show the ID A1 is missing upto maximum calendar date.please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 08:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096845#M640589</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-08T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096846#M640590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Little extra works left Marco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;A1&lt;/STRONG&gt; start &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;2-jan-2016&lt;/STRONG&gt; and end &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;28-jan-2016&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Now i want,the maximum calendar date is 25-feb-2016 .so, I want to show the ID A1 is missing upto maximum calendar date.please reply&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 15px 0 -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-size: 11.7px; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/208298" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-size: 11.7px; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;How to count the missing ID count for&amp;nbsp; missing date?&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 11:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096846#M640590</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2016-03-09T11:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to count the missing ID count for  missing date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096847#M640591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure, if you got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, you can add the following line to your Data:&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Start_Date, End_Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A1, 2-jan-2016, 20-jan-2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A1, 22-jan-2016, 28-jan-2016&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A1, 29-jan-2016, 25-feb-2016&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B1, 3-Feb-2016, 20-Feb-2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B1, 22-Feb-2016, 25-Feb-2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, 2-jan-2016, 20-jan-2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1, 22-jan-2016, 31-jan-2016&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 19:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-the-missing-ID-count-for-missing-date/m-p/1096847#M640591</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2016-03-31T19:49:48Z</dc:date>
    </item>
  </channel>
</rss>

