<?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 identify missing ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223270#M390845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached are excel files and qvw. Basically I want to create a calculated field in the script, say "Flag Field", and it will have 4 values:&lt;/P&gt;&lt;P&gt;1) Missing on 8/1/2016&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 9/1/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 10/1/2016&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 11/1/2016&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I select '&lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 8/1/2016' from the list box it should pull rows with Device ID - maple5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when I select '&lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 10/1/2016' from the list box it should pull rows with Device ID - maple2, , &amp;amp; maple5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In general I am trying to identify Device IDs that are missing from any Run Dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am using min, max and count of rows but no luck so far. Any help would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 03:30:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-07T03:30:53Z</dc:date>
    <item>
      <title>How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223268#M390843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I find missing devices during month scans: Image 1.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missing_1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152229_missing_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Each devices are scanned every month. If a device ID does not have any of the 4 Run Dates (8/1/2016, 9/1/2016 ,10/1/2016, 11/1/2016) it should be flagged with an additional field. As shown in the image2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missing_2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/152230_missing_2.PNG" style="height: 297px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg, maple2 is missing on 10/1/2016 &amp;amp; 11/1/2016. Therefore fields Miss_month3 and Miss_month4 have values ‘Flag’. Similarly, maple5 have data only for 11/1/2016, so Miss_month1, Miss_month2, Miss_month3 gets the value ‘Flag’.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to build if statements that will help me create Flag fields as above to filter out missing Device IDs any help would be awesome. Many Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 22:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223268#M390843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T22:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223269#M390844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide sample data so that we play around and come up with some solution,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 23:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223269#M390844</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2017-02-06T23:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223270#M390845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached are excel files and qvw. Basically I want to create a calculated field in the script, say "Flag Field", and it will have 4 values:&lt;/P&gt;&lt;P&gt;1) Missing on 8/1/2016&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 9/1/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 10/1/2016&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4) &lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 11/1/2016&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I select '&lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 8/1/2016' from the list box it should pull rows with Device ID - maple5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when I select '&lt;SPAN style="font-size: 13.3333px;"&gt;Missing on 10/1/2016' from the list box it should pull rows with Device ID - maple2, , &amp;amp; maple5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In general I am trying to identify Device IDs that are missing from any Run Dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am using min, max and count of rows but no luck so far. Any help would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 03:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223270#M390845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T03:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223271#M390846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2454"&gt;sunny&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 03:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223271#M390846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T03:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223272#M390847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to create a flag for each device for each date; check the attached app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ExecutionFlag.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152246_ExecutionFlag.JPG" style="height: 252px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 07:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223272#M390847</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-07T07:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223273#M390848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your reply. I am still working on it to get to where I need to be. and its getting closer.&lt;/P&gt;&lt;P&gt;In my actual app, i ma maintaining a count Metrics (text box) where i display below numbers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 10/1/2016:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returning Ids = 3 (because maple 1,3, &amp;amp; 5 existed in previous month)&lt;/P&gt;&lt;P&gt;Missing Ids = 1(maple2)&lt;/P&gt;&lt;P&gt;New Ids = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to do this i am exporting your pivot table into excel and feeding it into qv where use set analysis to count above metrics. so yes this is a round about but is helpful. I am trying to do it in the same qvw. if u can think of something better. let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 22:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223273#M390848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T22:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify missing ID</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223274#M390849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't need to load the pivot as excel again, just use set analysis now that we have a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create a yearmonth field with the execution date field from the flag table like 201601,...,201612 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VPrevMonth= num#(year(today()&amp;amp;num(month(today()),'00'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ( {&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag = {'executed'},&amp;nbsp; yearmonth = {'$(=vPrevMonth)'}&lt;/P&gt;&lt;P&gt;&amp;gt;}distinct Deviceid)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 03:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-missing-ID/m-p/1223274#M390849</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-08T03:02:50Z</dc:date>
    </item>
  </channel>
</rss>

