<?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: Most current record in selected date range? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207982#M462170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, this is extremely close now.&amp;nbsp; I setup a little straight table with users for a dimension and your expressions for BMI/BP count to test.&amp;nbsp; Below are some notes.&amp;nbsp; The counts hit desired results for all but two date range scenarios I tried, and when I setup the straight table I saw there were offsetting errors on a few other date range scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adjusting logic various ways to count people only if their most current non-blank value was a 1, but mostly ran into errors about nested aggregation not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to go back into the script and start by loading only the nonblank values for BMI on one table, and the same for BP on another table, so we could remove that layer of complexity from the front end expression.&amp;nbsp; Then maybe if I replace the part about lenBMI&amp;gt;0 with BMI=1 I will be closer. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 15:30:28 GMT</pubDate>
    <dc:creator>stevelord</dc:creator>
    <dc:date>2016-10-13T15:30:28Z</dc:date>
    <item>
      <title>Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207978#M462166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, II have a data table about like this to start&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;UserId&lt;/TD&gt;&lt;TD width="64"&gt;TestDate&lt;/TD&gt;&lt;TD width="64"&gt;BMI&lt;/TD&gt;&lt;TD width="64"&gt;BP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;3/5/2016&lt;/TD&gt;&lt;TD&gt;&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;123&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/6/2016&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;456&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;5/6/2016&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;456&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;7/6/2016&lt;/TD&gt;&lt;TD align="right"&gt;2&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;When the end user selects a date range, I need a formula that identifies the most current not null BMI and count the number of users for whom this value is a 1&lt;/P&gt;&lt;P&gt;BMI Example, I enter a vMinDate 1/1/2016 and vMaxDate 12/31/2016, the count should say 1 user has a BMI value of 1 on their most current BMI record in the date range.&amp;nbsp; But if I enter vMinDate 1/1/2016 and vMaxDate 6/1/2016, the count should say 2 users have a BMI value of 1 on their most current BMI record in the date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP Example, vMinDate 1/1/2016 and vMaxDate 12/31/2016 should say 2 users have a BP of 1 on their most current BP record in the date range.&amp;nbsp; And for vMindate 1/1/2016 and vMaxDate 6/1/2016, the count should say 1 user has a BP of 1 on their most current BP record in the date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A standalone expression for each in a textbox or on a chart with no dimensions should suffice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to do away with a manual step where I export to excel, sort descending, remove duplicates, and countif(C:C,1) but spinning my wheels on aggr() and max() expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 22:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207978#M462166</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-07T22:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207979#M462167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;BP = {$(=FirstSortedValue({&amp;lt;BP = {"=Len(Trim(BP)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BP, -TestDate))}&amp;gt;} UserId)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BMI&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;BMI = {$(=FirstSortedValue({&amp;lt;BMI = {"=Len(Trim(BMI)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BMI, -TestDate))}&amp;gt;} UserId)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 22:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207979#M462167</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T22:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207980#M462168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but that is behaving oddly.&amp;nbsp; For instance, when I enter 1/1/2016 vMinDate and 5/1/2016 vMaxDate I should get a count of 1 in both boxes, but it gives a count of 2 in both boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, your formulas look like they are geared toward counting the number of users with a BMI or BP value, and I'm trying to count number of users with a BMI value of 1 as their most current BMI.&amp;nbsp; (Isolating BMI/BP that weren't blank was step one, identifying the most current BMI/BP was step 2, and counting if that most current value = 1 was step 3. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 23:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207980#M462168</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-07T23:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207981#M462169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if these expressions gives you what you wanted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;BP = {$(=FirstSortedValue({&amp;lt;BP = {"=Len(Trim(BP)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BP, -TestDate))}, &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;} UserId)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;BMI = {$(=FirstSortedValue({&amp;lt;BMI = {"=Len(Trim(BMI)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BMI, -TestDate))}, &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;} UserId)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2016 02:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207981#M462169</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-08T02:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207982#M462170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, this is extremely close now.&amp;nbsp; I setup a little straight table with users for a dimension and your expressions for BMI/BP count to test.&amp;nbsp; Below are some notes.&amp;nbsp; The counts hit desired results for all but two date range scenarios I tried, and when I setup the straight table I saw there were offsetting errors on a few other date range scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adjusting logic various ways to count people only if their most current non-blank value was a 1, but mostly ran into errors about nested aggregation not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to go back into the script and start by loading only the nonblank values for BMI on one table, and the same for BP on another table, so we could remove that layer of complexity from the front end expression.&amp;nbsp; Then maybe if I replace the part about lenBMI&amp;gt;0 with BMI=1 I will be closer. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 15:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207982#M462170</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-13T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207983#M462171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Notes I allude to are in the attached qvw. They're below the little straight table I made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 15:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207983#M462171</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-13T15:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207984#M462172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, thanks for all your help with this maddening logic problem.&amp;nbsp;&amp;nbsp; I've asked my colleagues to go ahead and provide me a list of the clients and date ranges so I can just make some hard-coded tables.&amp;nbsp; I will then join this table onto the biometric records, and load only records where testdate&amp;gt;=mindate and testdate&amp;lt;=maxdate associated with any given record.&amp;nbsp; Separately, I will also isolate the max(testdate) for each user's BMI and join that back onto the first table.&amp;nbsp; Then I'd store and reload the records from those tables only where testdate=maxtestdate.&amp;nbsp; After that, it should be a breeze for me to have tables or pie charts or whatever tally up the users based on their bmi values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While end users might not be able to control the date ranges directly inside the QV dashboard, I can let those date ranges exist on an excel spreadsheet the dashboard references, that they can update.&amp;nbsp; Then I'd reload the dashboard for them (or take another look at the feature to allow end users to reload a dashboard).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207984#M462172</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-13T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207985#M462173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I should not be spending more time on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207985#M462173</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T18:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207986#M462174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be a great one to solve if you can.&amp;nbsp; If you do solve it, I will definitely test/verify and use it.&amp;nbsp; I burned myself out trying various angles and worried it might be unsolvable within a single expression.&amp;nbsp; If you feel an answer is in your grasp though, by all means let me know.&amp;nbsp; You might make a contest with the other level-11 people to see if it's well and truly unsolvable. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207986#M462174</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-13T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207987#M462175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know few people who might be able to solve this in half the time or may be less. One such person is Stefan, but I am not sure if they would have time to look at this. I will keep trying and will let you know if I find anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207987#M462175</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207988#M462176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(FirstSortedValue({&amp;lt;BMI = {"=Len(Trim(BMI)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BMI, -TestDate) = 1, 1, 0), UserId))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(FirstSortedValue({&amp;lt;BP = {"=Len(Trim(BP)) &amp;gt; 0"}, TestDate = {"$(='&amp;gt;=' &amp;amp; Date(vMinDate) &amp;amp; '&amp;lt;=' &amp;amp; Date(vMaxDate))"}&amp;gt;}BP, -TestDate) = 1, 1, 0), UserId))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207988#M462176</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T18:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207989#M462177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully I have it in the attached. It produces the right results for the indicated test cases. The first thing I did was get rid of the "distracting" need to use variables to select the date range. I added my subroutine from here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-16887"&gt;Subroutine to Create Data Model for From/To Date Selection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now the date ranges are handled entirely in the data model by selecting values for FromDate and ToDate. That left me only needing to worry about the results within the selected date range. I came up with these expressions, borrowing the firstsortedvalue() code a bit.&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;-sum(aggr(1=firstsortedvalue({&amp;lt;BMI={"&amp;gt;0"}&amp;gt;} BMI,-TestDate),UserId))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;-sum(aggr(1=firstsortedvalue({&amp;lt;BP={"&amp;gt;0"}&amp;gt;} BP,-TestDate),UserId))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit: Simplified&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit: Pretty-fied&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 19:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207989#M462177</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-13T19:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207990#M462178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bah, &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt; beat me to the basic idea of a sum(aggr()) to do it. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 19:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207990#M462178</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-13T19:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207991#M462179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well John - All credit to you for getting this done in half the time (just as mentioned above). I have been helping Steve for so many days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 19:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207991#M462179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Most current record in selected date range?</title>
      <link>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207992#M462180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent job with this.&amp;nbsp; It hit all the correct counts for the right userids.&amp;nbsp; I also tried to break it by inserting some 2015 records and it held up.&amp;nbsp; It was also easy to see how to switch it to look at unhealthy or other kinds of values; -sum(aggr(2=.... )) for instance.&amp;nbsp; Definitely one of those situations where a million things can seem right but only one will work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also kudos on finding a use for calendar objects that only let you select one day on them. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 21:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Most-current-record-in-selected-date-range/m-p/1207992#M462180</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2016-10-13T21:37:27Z</dc:date>
    </item>
  </channel>
</rss>

