<?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 Max Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554083#M745126</link>
    <description>&lt;P&gt;I have a set of data where I am going to load in a new report daily. Some of the lines will be duplicated but will have different 'Last Observed' date and times. I want to only show the line of data that has the most recent 'Last Observed' date and time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="max date.PNG" style="width: 860px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7576i3866215164D0DC38/image-size/large?v=v2&amp;amp;px=999" role="button" title="max date.PNG" alt="max date.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried playing around with Max (see MaxObserved) but and it spit out the correct date but didn't restrict the data like I was hoping it would. Is it possible to use Max when a time is involved too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My overall plan is to load each version of report into a concatenated QVD file, so I'm aiming to get the data joined correctly without any duplicated data.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:14:14 GMT</pubDate>
    <dc:creator>khaycock</dc:creator>
    <dc:date>2024-11-16T04:14:14Z</dc:date>
    <item>
      <title>Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554083#M745126</link>
      <description>&lt;P&gt;I have a set of data where I am going to load in a new report daily. Some of the lines will be duplicated but will have different 'Last Observed' date and times. I want to only show the line of data that has the most recent 'Last Observed' date and time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="max date.PNG" style="width: 860px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7576i3866215164D0DC38/image-size/large?v=v2&amp;amp;px=999" role="button" title="max date.PNG" alt="max date.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried playing around with Max (see MaxObserved) but and it spit out the correct date but didn't restrict the data like I was hoping it would. Is it possible to use Max when a time is involved too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My overall plan is to load each version of report into a concatenated QVD file, so I'm aiming to get the data joined correctly without any duplicated data.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554083#M745126</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2024-11-16T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554119#M745127</link>
      <description>try Max(Date(LastObserved))</description>
      <pubDate>Fri, 08 Mar 2019 10:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554119#M745127</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-03-08T10:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554177#M745129</link>
      <description>&lt;P&gt;This is an invalid expression apparently&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 11:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554177#M745129</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2019-03-08T11:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554202#M745130</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Show-only-latest-date/td-p/1055183" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Show-only-latest-date/td-p/1055183&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 12:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554202#M745130</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-03-08T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554285#M745131</link>
      <description>&lt;P&gt;I'm afraid this doesn't work for my situation&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 14:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554285#M745131</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2019-03-08T14:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554493#M745132</link>
      <description>&lt;P&gt;Try load data and group by primary key and use max([Last Observed No UTC])&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;PrimaryKey,&lt;/P&gt;&lt;P&gt;max([Last Observed No UTC]) as&amp;nbsp;[Last Observed No UTC]&lt;/P&gt;&lt;P&gt;From source.qvd(qvd) // or any source you are using&lt;/P&gt;&lt;P&gt;Group by PrimaryKey;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you should have only one record per each PriamryKey&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 22:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554493#M745132</guid>
      <dc:creator>waszcma1</dc:creator>
      <dc:date>2019-03-08T22:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554734#M745133</link>
      <description>&lt;P&gt;Because I am concatenating two tables of data for now, and either have a natural primary key, I had to resident the load of the key underneath, but still had no luck. Here is my script:&lt;/P&gt;&lt;P&gt;Vulnerabilities:&lt;BR /&gt;LOAD Plugin,&lt;BR /&gt;[Plugin Name],&lt;BR /&gt;Family,&lt;BR /&gt;Severity,&lt;BR /&gt;[IP Address],&lt;BR /&gt;[First Discovered],&lt;BR /&gt;// Max(Date([Last Observed])) AS LastObserved,&lt;BR /&gt;(Replace([Last Observed],'UTC','')) as [Last Observed1],&lt;BR /&gt;Plugin &amp;amp; [IP Address] AS KEY&lt;BR /&gt;FROM&lt;BR /&gt;[Data.csv];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Concatenate&lt;BR /&gt;(Vulnerabilities)&lt;BR /&gt;LOAD Plugin,&lt;BR /&gt;[Plugin Name],&lt;BR /&gt;Family,&lt;BR /&gt;Severity,&lt;BR /&gt;[IP Address],&lt;BR /&gt;[First Discovered],&lt;BR /&gt;// Max(Date([Last Observed])) AS LastObserved,&lt;BR /&gt;(Replace([Last Observed],'UTC','')) as [Last Observed1],&lt;BR /&gt;Plugin &amp;amp; [IP Address] AS KEY&lt;BR /&gt;FROM&lt;BR /&gt;[Data.csv];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;max([Last Observed1]) AS LASTOBSERVED&lt;BR /&gt;RESIDENT Vulnerabilities&lt;BR /&gt;GROUP BY KEY;&lt;/P&gt;&lt;P&gt;Is there another way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date/m-p/1554734#M745133</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2019-03-11T10:07:38Z</dc:date>
    </item>
  </channel>
</rss>

