<?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 Value for latest and previous date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548914#M597564</link>
    <description>&lt;P&gt;This is sweet and easy. Thanks a ton for suggestion&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 20:55:41 GMT</pubDate>
    <dc:creator>montubhardwaj</dc:creator>
    <dc:date>2019-02-25T20:55:41Z</dc:date>
    <item>
      <title>Max Value for latest and previous date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548836#M597561</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am looking for your suggestions on how to achieve this in QlikView. I want to display current value and previous value 'Factor' in a two different text objects. For example, in the example,&lt;/P&gt;&lt;P&gt;- for product C, the latest date is 01/25/2019 and there are two value 0.51 and 0.82 for this. I want to display 0.82 in 1st text object (i.e. max of value if there are same dates). In 2nd text object, I want to display previous value for Product C on earlier date i.e. the value which was on 1/24/2019, which is 0.47&lt;/P&gt;&lt;P&gt;Similarly, For product B, first text object I want to show 0.65 (i.e. max of value if there are same dates). And for Product B, in the 2nd text object,I want to display 0.58 (Max value for the same dates just before the latest date).&lt;/P&gt;&lt;P&gt;How can I achieve this? I have attached the sample qvw for your reference.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 17:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548836#M597561</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2019-02-25T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value for latest and previous date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548838#M597562</link>
      <description>&lt;P&gt;Is this something we can achieve by FirstSortedValue? Looking for some suggestions here.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 17:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548838#M597562</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2019-02-25T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value for latest and previous date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548903#M597563</link>
      <description>&lt;P&gt;Hi, if one product has to be selected:&lt;BR /&gt;1st: =Max({&amp;lt;Date={"$(=date(Max(Date)))"}&amp;gt;} Factor)&lt;BR /&gt;2nd: =Max({&amp;lt;Date={"$(=date(Max(Date,2)))"}&amp;gt;} Factor)&lt;BR /&gt;&lt;BR /&gt;For fixed product in expression:&lt;BR /&gt;2nd: =Max({&amp;lt;Product={'Product_B'}, Date={"$(=date(Max({&amp;lt;Product={'Product_B'}&amp;gt;} Date,2)))"}&amp;gt;} Factor)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548903#M597563</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-02-25T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value for latest and previous date</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548914#M597564</link>
      <description>&lt;P&gt;This is sweet and easy. Thanks a ton for suggestion&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-for-latest-and-previous-date/m-p/1548914#M597564</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2019-02-25T20:55:41Z</dc:date>
    </item>
  </channel>
</rss>

