<?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: Insert dummy records/fetch latest date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309234#M843074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[END DT]&lt;/SPAN&gt; is not formatted as date? Not sure, can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 19:11:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-24T19:11:05Z</dc:date>
    <item>
      <title>Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309230#M843070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a requirement where I need to fetch the latest Supervisor for a given Emp.&lt;/P&gt;&lt;P&gt;Below are 2 tables&lt;/P&gt;&lt;P&gt;EMP01 in his period has 3 different supervisors but I only need to show the latest Supervisor (which would be EMP04 for EMP01)&lt;/P&gt;&lt;P&gt;I used different kind of set functions to do this but doesn't exactly works.....&lt;/P&gt;&lt;P&gt;The default count view of a chart should show only the count for last month of every year (Dec, YYYY) and rest other months are invalid for an employee.&lt;/P&gt;&lt;P&gt;@&lt;A class="jiveTT-hover-user jive-username-link" data-avatarid="12574" data-externalid="" data-online="false" data-presence="null" data-userid="171708" data-username="stalwar1" href="https://community.qlikview.com/people/stalwar1" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8ca9cd;" target="_blank"&gt;Sunny Talwar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/226717" target="_blank"&gt;shraddha.g&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/228772" target="_blank"&gt;lakshmikandh&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;EMPTABLE:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 628px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="81"&gt;EMP KEY&lt;/TD&gt;&lt;TD class="xl66" width="72"&gt;EMPLID&lt;/TD&gt;&lt;TD class="xl66" width="72"&gt;NAME&lt;/TD&gt;&lt;TD class="xl66" width="90"&gt;START DT&lt;/TD&gt;&lt;TD class="xl66" width="125"&gt;END DT&lt;/TD&gt;&lt;TD class="xl66" width="188"&gt;ROW&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl68"&gt;1001&lt;/TD&gt;&lt;TD class="xl64"&gt;EMP01&lt;/TD&gt;&lt;TD class="xl69"&gt;1/1/2014&lt;/TD&gt;&lt;TD class="xl70"&gt;1/1/2015&lt;/TD&gt;&lt;TD class="xl64"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;7&lt;/TD&gt;&lt;TD class="xl68"&gt;1001&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;EMP01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69"&gt;1/2/2015&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12/30/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;3&lt;/TD&gt;&lt;TD class="xl68"&gt;1001&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;EMP01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69"&gt;12/31/2015&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;12/31/9999 &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl68"&gt;1002&lt;/TD&gt;&lt;TD class="xl64"&gt;EMP02&lt;/TD&gt;&lt;TD class="xl69"&gt;1/1/2000&lt;/TD&gt;&lt;TD class="xl70"&gt;12/31/9999&lt;/TD&gt;&lt;TD class="xl64"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;5&lt;/TD&gt;&lt;TD class="xl68"&gt;1003&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;EMP03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69"&gt;1/1/2015&lt;/TD&gt;&lt;TD class="xl70"&gt;10/30/2015&lt;/TD&gt;&lt;TD class="xl64"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;6&lt;/TD&gt;&lt;TD class="xl71"&gt;1004&lt;/TD&gt;&lt;TD class="xl72"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;EMP04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73"&gt;12/31/2015&lt;/TD&gt;&lt;TD class="xl70"&gt;12/31/9999&lt;/TD&gt;&lt;TD class="xl74"&gt;Y&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;&lt;/P&gt;&lt;P&gt;SUPTABLE:&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 433px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="72"&gt;EMPLID&lt;/TD&gt;&lt;TD class="xl66" width="72"&gt;SUPV ID&lt;/TD&gt;&lt;TD class="xl66" width="117"&gt;START DT&lt;/TD&gt;&lt;TD class="xl66" width="86"&gt;END DT&lt;/TD&gt;&lt;TD class="xl71" width="86"&gt;SUPVNAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;1001&lt;/TD&gt;&lt;TD class="xl68"&gt;1002&lt;/TD&gt;&lt;TD class="xl70"&gt;1/1/2014&lt;/TD&gt;&lt;TD class="xl70"&gt;7/1/2014&lt;/TD&gt;&lt;TD&gt;EMP02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20"&gt;1001&lt;/TD&gt;&lt;TD class="xl68"&gt;1003&lt;/TD&gt;&lt;TD class="xl70"&gt;7/2/2014&lt;/TD&gt;&lt;TD class="xl70"&gt;12/30/2015&lt;/TD&gt;&lt;TD&gt;EMP03&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;1001&lt;/TD&gt;&lt;TD align="right"&gt;1004&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;12/31/2015&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;12/31/9999&lt;/TD&gt;&lt;TD&gt;EMP04&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309230#M843070</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309231#M843071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUPTABLE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD EMPLID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstSortedValue(&lt;SPAN style="font-size: 13.3333px;"&gt;[SUPV ID]&lt;/SPAN&gt;, -[START DT]) as [SUPV ID],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(&lt;SPAN style="font-size: 13.3333px;"&gt;[START DT]&lt;/SPAN&gt;) as [START DT],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;END &lt;/SPAN&gt;DT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) as [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;END &lt;/SPAN&gt;DT],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstSortedValue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUPVNAME&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, -[START DT]) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUPVNAME&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [EMPLID];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 18:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309231#M843071</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-24T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309232#M843072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;In a way I got it but there is actually more to it....&lt;/P&gt;&lt;P&gt;As in the record should be fetched for only Dec and rest all the records should be ignored for that Employee.&lt;/P&gt;&lt;P&gt;It is working with the sample data, I hope it will work with full load as well.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 18:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309232#M843072</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-04-24T18:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309233#M843073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more question..&lt;/P&gt;&lt;P&gt;What expression would I need to get only one bar. As only 1 Emp is having active Manager for end date as 12/31/9999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;count({&amp;lt;[END DT] = {'$(=Max([END DT]))'}&amp;gt;} DISTINCT(NAME))&lt;/P&gt;&lt;P&gt;and it gives me bars for 2014 and 2015 as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[END DT] is new field we got from resident load.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309233#M843073</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-04-24T19:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309234#M843074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[END DT]&lt;/SPAN&gt; is not formatted as date? Not sure, can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309234#M843074</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-24T19:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309235#M843075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The END DATE is in Date format...&lt;/P&gt;&lt;P&gt;But you can verify&lt;/P&gt;&lt;P&gt;Please find the attachment&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309235#M843075</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-04-24T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309236#M843076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is why you see 2014 and 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161073_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309236#M843076</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-24T19:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Insert dummy records/fetch latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309237#M843077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah but how do I fetch only the latest year (2015) for given Emp and Supervisor?&lt;/P&gt;&lt;P&gt;Cus those 2 dates are for same supervisor but one is his start date in 2014 and other is related to Emp Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-dummy-records-fetch-latest-date/m-p/1309237#M843077</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-04-24T19:37:26Z</dc:date>
    </item>
  </channel>
</rss>

