<?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: Min and Max value of my selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12460#M902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a way by using this for Max:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(date(right(GetFieldSelections(Extract_Date,',',200),10))&amp;gt;&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date))),&lt;/P&gt;&lt;P&gt;date(right(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for Min:&lt;/P&gt;&lt;P&gt;=if(IsNull(date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1))),&lt;/P&gt;&lt;P&gt;date(left(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;if(date(left(GetFieldSelections(Extract_Date,',',200),10))&amp;lt;&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1)),&lt;/P&gt;&lt;P&gt;date(left(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way I managed to find in my list of date the one I need&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;29/05/2018,30/05/2018,31/05/2018,01/06/2018,&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline; font-weight: inherit;"&gt;04/06/2018 (max)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;16/05/2018 (min)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,17/05/2018,18/05/2018&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I know it's very clean but it works !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 10:34:55 GMT</pubDate>
    <dc:creator>reivax31</dc:creator>
    <dc:date>2018-06-12T10:34:55Z</dc:date>
    <item>
      <title>Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12452#M894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to find the max/min date of my selection for this I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(GetFieldSelections(Extract_Date,',',100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;29/05/2018,30/05/2018,31/05/2018,01/06/2018,&lt;SPAN style="text-decoration: underline;"&gt;04/06/2018&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;SPAN style="text-decoration: underline;"&gt;16/05/2018&lt;/SPAN&gt;,17/05/2018,18/05/2018,22/05/2018,23/05/2018,24/05/2018,25/05/2018,28/05/2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dates in Bold are the one in green selection.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="green.png" class="jive-image image-1" height="167" src="https://community.qlik.com/legacyfs/online/204909_green.png" style="height: 167px; width: 148.296px;" width="148" /&gt;&lt;/P&gt;&lt;P&gt;the other date are in dark grey but selected (check mark next to the value)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="grey.png" class="jive-image image-2" height="184" src="https://community.qlik.com/legacyfs/online/204910_grey.png" style="height: 183.264px; width: 150px;" width="150" /&gt;&lt;/P&gt;&lt;P&gt;The value I want to find is 04/06/2018 for max and for min 16/05/2018. How can I do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12452#M894</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-06-12T09:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12453#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Date = {'&amp;gt;=$(=vMin)&amp;lt;=$(=vMax)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where vMin = Min(Date)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMax = Max(Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12453#M895</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-06-12T09:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12454#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you use Max(Extract_date) for Max&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;Min(Extract_date) for Min?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12454#M896</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2018-06-12T09:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12455#M897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because I really need the min and max dates of my selected dates, not the on in my selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exemple:&lt;/P&gt;&lt;P&gt;the min for my selected dates is :&amp;nbsp; 16/05/2018&lt;/P&gt;&lt;P&gt;the min for my selection is : 29/05/2018 (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Min(Extract_date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is the min of my selected date: &lt;SPAN style="font-size: 13.3333px;"&gt;16/05/2018 &lt;/SPAN&gt;(see check mark in my screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12455#M897</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-06-12T09:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12456#M898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMin = Min(Date) . but this is what I want to find, the vMin. But &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Min(Date) will not return value &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;16/05/2018 as it is out of my selection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12456#M898</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-06-12T09:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12457#M899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min(Extract_date) will return min of the selected date. Isn't it something that you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 10:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12457#M899</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2018-06-12T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12458#M900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My expression will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you need to select the date range&amp;nbsp; &lt;/P&gt;&lt;P&gt; then it will show between the selected range dates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 10:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12458#M900</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-06-12T10:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12459#M901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this you want?&lt;IMG alt="range.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204914_range.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 10:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12459#M901</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-06-12T10:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Min and Max value of my selection</title>
      <link>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12460#M902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a way by using this for Max:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(date(right(GetFieldSelections(Extract_Date,',',200),10))&amp;gt;&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date))),&lt;/P&gt;&lt;P&gt;date(right(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for Min:&lt;/P&gt;&lt;P&gt;=if(IsNull(date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1))),&lt;/P&gt;&lt;P&gt;date(left(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;if(date(left(GetFieldSelections(Extract_Date,',',200),10))&amp;lt;&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1)),&lt;/P&gt;&lt;P&gt;date(left(GetFieldSelections(Extract_Date,',',200),10)),&lt;/P&gt;&lt;P&gt;date(SubField(GetFieldSelections(Extract_Date,',',200),',',GetSelectedCount(Extract_Date)+1))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way I managed to find in my list of date the one I need&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;29/05/2018,30/05/2018,31/05/2018,01/06/2018,&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline; font-weight: inherit;"&gt;04/06/2018 (max)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;16/05/2018 (min)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,17/05/2018,18/05/2018&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I know it's very clean but it works !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 10:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-and-Max-value-of-my-selection/m-p/12460#M902</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-06-12T10:34:55Z</dc:date>
    </item>
  </channel>
</rss>

