<?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: Values per Max Date  for ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7095#M790677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works brilliant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 12:27:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-25T12:27:39Z</dc:date>
    <item>
      <title>Values per Max Date  for ID</title>
      <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7093#M790673</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 am working with numerous IDs and I want to return 2 different pieces of information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The Max Date of the Last Actual Data Received&lt;/P&gt;&lt;P&gt;2) The Max Date of the Last Estimated Data Received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below expression with ID as the dimension but it only returns a list of all IDs with an Actual Value for the 22/01/2018 (Being the Max Date on the Report)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;DATA&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_VALUE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={ACTUAL}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_TIME_DAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=max(READ_DATE_TIME_DAY))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_TIME_DAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;However it should also return sites who's last date of Actual Data is less than the 22/01/2018 as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The estimated part is something similar as it is using the same expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;DATA&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_VALUE-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={ACTUAL}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_TIME_DAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=max(READ_DATE_TIME_DAY))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_TIME_DAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any help is greatly appreciated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tim&lt;/SPAN&gt;&lt;/P&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/Values-per-Max-Date-for-ID/m-p/7093#M790673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Values per Max Date  for ID</title>
      <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7094#M790675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;DATA_VALUE = {'ACTUAL'}&amp;gt;} DATE_TIME_DAY, -READ_DATE_TIME_DAY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;DATA_VALUE -= {'ACTUAL'}&amp;gt;} DATE_TIME_DAY, -READ_DATE_TIME_DAY)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 12:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7094#M790675</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-25T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Values per Max Date  for ID</title>
      <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7095#M790677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works brilliant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 12:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7095#M790677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T12:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Values per Max Date  for ID</title>
      <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7096#M790679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further to this I have came across several exceptions where we have received two different sets of Non Actual Data on the same day. This is currently returning blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I amend your expressions so it also only returns the non actual with the highest VERSION number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 11:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7096#M790679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-26T11:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Values per Max Date  for ID</title>
      <link>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7097#M790680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;DATA_VALUE = {'ACTUAL'}&amp;gt;} DATE_TIME_DAY, &lt;SPAN style="color: #ff0000;"&gt;-(READ_DATE_TIME_DAY+DATE_TIME_DAY/1E10)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;DATA_VALUE -= {'ACTUAL'}&amp;gt;} DATE_TIME_DAY, &lt;SPAN style="color: #ff0000;"&gt;-(READ_DATE_TIME_DAY+DATE_TIME_DAY/1E10)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 11:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-per-Max-Date-for-ID/m-p/7097#M790680</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-26T11:57:49Z</dc:date>
    </item>
  </channel>
</rss>

