<?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 Get Max Value between 2 Dates (per Day) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28175#M608180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already opened a discussion (&lt;A href="https://community.qlik.com/message/1426622"&gt;Re: Get Max Value from a Field between two dates&lt;/A&gt;). I got the answer, but now i have a second problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nn my diagram i show per Day how much problems were created (For example on 2017-11-11 74 problems were created). Now i want to know within the StartDate and the EndDate (both are variables, which can be modified) the Max Value of Problems per Day. In my Table I have data which show the problem, when it occours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Within the period of time 2018-01-01 - 2018-01-15 i want to know the Max Problems per Day.&lt;/P&gt;&lt;P&gt;My tables looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OpenDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProblemID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&lt;/P&gt;&lt;P&gt;2018-01-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 238848&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23&lt;/P&gt;&lt;P&gt;2018-01-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 923333&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 184&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 938489&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 94&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 284928&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 83&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 283829&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 89&lt;/P&gt;&lt;P&gt;2018-01-14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 398200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the solution would be now 3!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u can understand what i want to say. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 13:20:07 GMT</pubDate>
    <dc:creator>5abi0001</dc:creator>
    <dc:date>2018-01-31T13:20:07Z</dc:date>
    <item>
      <title>Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28175#M608180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already opened a discussion (&lt;A href="https://community.qlik.com/message/1426622"&gt;Re: Get Max Value from a Field between two dates&lt;/A&gt;). I got the answer, but now i have a second problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nn my diagram i show per Day how much problems were created (For example on 2017-11-11 74 problems were created). Now i want to know within the StartDate and the EndDate (both are variables, which can be modified) the Max Value of Problems per Day. In my Table I have data which show the problem, when it occours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Within the period of time 2018-01-01 - 2018-01-15 i want to know the Max Problems per Day.&lt;/P&gt;&lt;P&gt;My tables looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OpenDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProblemID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&lt;/P&gt;&lt;P&gt;2018-01-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 238848&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23&lt;/P&gt;&lt;P&gt;2018-01-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 923333&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 184&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 938489&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 94&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 284928&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 83&lt;/P&gt;&lt;P&gt;2018-01-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 283829&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 89&lt;/P&gt;&lt;P&gt;2018-01-14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 398200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the solution would be now 3!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u can understand what i want to say. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28175#M608180</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-01-31T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28176#M608181</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;Max(Aggr(Count(DISTINCT ProblemID), OpenDate, ProblemID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(TOTAL Aggr(Count(DISTINCT ProblemID), OpenDate, ProblemID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28176#M608181</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T13:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28177#M608182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this would be a good solution .. but i want the Max of Problems within the StartDate and EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Habe a OpenDate were the problem occured. 2 variables StartDate and EndDate - with these two variables i can limit the OpenDate -&amp;gt; And now i want to now the max amount of problems which occured between StartDate and EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable and OpenDate is in a numberic format!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28177#M608182</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-01-31T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28178#M608183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I thought you would know that you need to continue using any set analysis that you had from the previous discussion... try this&lt;/P&gt;&lt;P&gt;&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;Max(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[OpenDate Key] = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&amp;gt;} &lt;/SPAN&gt;Aggr(Count(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[OpenDate Key] = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&amp;gt;} &lt;/SPAN&gt;DISTINCT ProblemID), OpenDate, ProblemID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28178#M608183</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T14:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28179#M608184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all thank u that u try to help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it out .. but it does not work. It shows me 1 .. this is defitintiv not correct! OpenDate - in which format should this be? Because now i made OpenDate in numberic format (trough Documentsettings). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Max({&amp;lt;OpenDate= {"&amp;gt;=$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StartDate&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EndDate&lt;/SPAN&gt;)"}&amp;gt;} Aggr(Count({&amp;lt;OpenDate= {"&amp;gt;=$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StartDate&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EndDate&lt;/SPAN&gt;)"}&amp;gt;} DISTINCT ProblemID), OpenDate, ProblemID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28179#M608184</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-01-31T14:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28180#M608185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this (removed ProblemID from the aggr() function)&lt;/P&gt;&lt;P&gt;&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;=Max({&amp;lt;OpenDate= {"&amp;gt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;StartDate&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;EndDate&lt;/SPAN&gt;)"}&amp;gt;} Aggr(Count({&amp;lt;OpenDate= {"&amp;gt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;StartDate&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;EndDate&lt;/SPAN&gt;)"}&amp;gt;} DISTINCT ProblemID), OpenDate))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28180#M608185</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T14:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28181#M608186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm no - it does not work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .. I uploaded u a file - so maybe u understand how it looks like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 09:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28181#M608186</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-02-01T09:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28182#M608187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this is an issue in your real qvw or not, but your sample's OpenDate is a timestamp. In order to convert it into a date, I created another field like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(Floor(OpenDate)) as OpenDateFloored&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now try this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Max({&amp;lt;OpenDate= {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&amp;gt;} Aggr(Count({&amp;lt;OpenDate= {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&amp;gt;} DISTINCT ProblemID), OpenDateFloored))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me 200, is this the number you were after?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192161_Capture.PNG" style="height: 278px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28182#M608187</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-01T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28183#M608188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U are a hero! Thank u .. it works fine in my rel qvw! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/28183#M608188</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-02-01T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Value between 2 Dates (per Day)</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/1982351#M1221061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have something matching requirement but little different.&lt;BR /&gt;&lt;BR /&gt;I have two dates ( CalDate and PosDate)&lt;BR /&gt;&lt;BR /&gt;if I select my CalDate as 09/19/2018 then below records are populating which is correct:&lt;BR /&gt;&lt;BR /&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DEPT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DEPT_TYPE&amp;nbsp; &amp;nbsp; &amp;nbsp;PosDate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Account&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 06/01/2021&amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 03/29/2008&amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12/25/2011&amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/01/2018&amp;nbsp; 0&lt;/P&gt;
&lt;P&gt;Now here you can see ID-100 was working in multiple DEPT with different PosDate and as per current logic&amp;nbsp;&lt;BR /&gt;its calculating count as 1 for max of total PosDate.&lt;/P&gt;
&lt;P&gt;Expetation is when user select Caldate as 09/19/2018&amp;nbsp; then&amp;nbsp; during this period ID was working in Finanance DEPT and its max posDate is 01/01/2018 so this record needs to shown in count as 1.&lt;BR /&gt;&lt;BR /&gt;expected result:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DEPT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DEPT_TYPE&amp;nbsp; &amp;nbsp; &amp;nbsp;PosDate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Count&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Account&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 06/01/2021&amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;---- this record can be null or removed as Caldate is&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;backdated date selected&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 03/29/2008&amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12/25/2011&amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&amp;nbsp; &amp;nbsp; &amp;nbsp; AB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/01/2018&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;--- this needs to shown only for backdated calDate with&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max posDate&lt;BR /&gt;&lt;BR /&gt;How to achieve this in set analysis.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 07:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Max-Value-between-2-Dates-per-Day/m-p/1982351#M1221061</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2022-09-19T07:43:44Z</dc:date>
    </item>
  </channel>
</rss>

