<?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: Max And Min in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869804#M71834</link>
    <description>&lt;P&gt;It sounds like a simple group by with min and max, but your sample doesn't match the text description - the max of the Departure for the first row would be 02/11/2021 14:12:03 in that case. If that's an error, it should be just a case of&lt;/P&gt;
&lt;P&gt;Load Pair, Stage, Min(Arrival) as Arrival, Max(Departure) as Departure&lt;/P&gt;
&lt;P&gt;From YourTable&lt;/P&gt;
&lt;P&gt;Group By Pair, Stage;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 14:07:36 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2021-12-13T14:07:36Z</dc:date>
    <item>
      <title>Max And Min</title>
      <link>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869794#M71832</link>
      <description>&lt;P&gt;Hello Friends&lt;/P&gt;
&lt;P&gt;I have the following problem:&lt;/P&gt;
&lt;TABLE border="1" width="800px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="25px"&gt;Pair&lt;/TD&gt;
&lt;TD width="132.891px" height="25px"&gt;Arrival&lt;/TD&gt;
&lt;TD width="266.641px" height="25px"&gt;Stage&lt;/TD&gt;
&lt;TD width="266.672px" height="25px"&gt;Departure&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="132.891px" height="47px"&gt;02/11/2021 13:31:27&lt;/TD&gt;
&lt;TD width="266.641px" height="47px"&gt;1. Process&lt;/TD&gt;
&lt;TD width="266.672px" height="47px"&gt;02/11/2021 14:11:38&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="132.891px" height="47px"&gt;02/11/2021 14:12:02&lt;/TD&gt;
&lt;TD width="266.641px" height="47px"&gt;1. Process&lt;/TD&gt;
&lt;TD width="266.672px" height="47px"&gt;02/11/2021 14:12:03&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="132.891px" height="47px"&gt;02/11/2021 14:18:27&lt;/TD&gt;
&lt;TD width="266.641px" height="47px"&gt;2 Distribucion&lt;/TD&gt;
&lt;TD width="266.672px" height="47px"&gt;02/11/2021 14:18:28&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="47px"&gt;2&lt;/TD&gt;
&lt;TD width="132.891px" height="47px"&gt;02/11/2021 14:50:42&lt;/TD&gt;
&lt;TD width="266.641px" height="47px"&gt;1. Process&lt;/TD&gt;
&lt;TD width="266.672px" height="47px"&gt;02/11/2021 15:03:51&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="132.797px" height="47px"&gt;2&lt;/TD&gt;
&lt;TD width="132.891px" height="47px"&gt;02/11/2021 15:10:41&lt;/TD&gt;
&lt;TD width="266.641px" height="47px"&gt;2 Distribucion&lt;/TD&gt;
&lt;TD width="266.672px" height="47px"&gt;02/11/2021 15:10:42&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I have some pairs of data, but I would like to get the max and minimum, for example for the case of 1. Process would be the first Arrival that is, 11/02/2021 13:31:27 with the pair 1 Max Arrival (2 Distribution)&lt;/P&gt;
&lt;P&gt;in the end they should look like this:&lt;/P&gt;
&lt;TABLE border="1" width="800px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="133px"&gt;Pair&lt;/TD&gt;
&lt;TD width="133px" height="25px"&gt;Arrival&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;Stage&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;Departure&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="133px"&gt;1&lt;/TD&gt;
&lt;TD width="133px" height="25px"&gt;02/11/2021 13:31:27&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;1. Process&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;02/11/2021 14:11:38&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="133px"&gt;1&lt;/TD&gt;
&lt;TD width="133px" height="25px"&gt;02/11/2021 14:18:27&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;2 Distribucion&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;02/11/2021 14:18:28&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="133px"&gt;2&lt;/TD&gt;
&lt;TD width="133px" height="25px"&gt;02/11/2021 14:50:42&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;1. Process&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;02/11/2021 15:03:51&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="133px"&gt;2&lt;/TD&gt;
&lt;TD width="133px" height="25px"&gt;02/11/2021 15:10:41&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;2 Distribucion&lt;/TD&gt;
&lt;TD width="267px" height="25px"&gt;02/11/2021 15:10:42&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869794#M71832</guid>
      <dc:creator>Aldemarprins4</dc:creator>
      <dc:date>2021-12-13T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Max And Min</title>
      <link>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869804#M71834</link>
      <description>&lt;P&gt;It sounds like a simple group by with min and max, but your sample doesn't match the text description - the max of the Departure for the first row would be 02/11/2021 14:12:03 in that case. If that's an error, it should be just a case of&lt;/P&gt;
&lt;P&gt;Load Pair, Stage, Min(Arrival) as Arrival, Max(Departure) as Departure&lt;/P&gt;
&lt;P&gt;From YourTable&lt;/P&gt;
&lt;P&gt;Group By Pair, Stage;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869804#M71834</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-13T14:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max And Min</title>
      <link>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869831#M71835</link>
      <description>&lt;P&gt;Thanks it worked but, the dates are lost when doing the max and min&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However I will try to fix it ...&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869831#M71835</guid>
      <dc:creator>Aldemarprins4</dc:creator>
      <dc:date>2021-12-13T14:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Max And Min</title>
      <link>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869835#M71837</link>
      <description>&lt;P&gt;If the dates are strings rather than actual dates, you can use MinString and MaxString. If the dates are actual dates and you are just looking at the format being changed to a number, you can use Date(Min()) and Date(Max()) to re-format as date. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Max-And-Min/m-p/1869835#M71837</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-13T14:56:29Z</dc:date>
    </item>
  </channel>
</rss>

