<?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: FirstSortedValue or Max() value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508274#M190005</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;Can you attach some sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 03:11:47 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-10-23T03:11:47Z</dc:date>
    <item>
      <title>FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508273#M190004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47988_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;How do I return the values for a Field X for the dates in Max(_kMasterDate). I am able to fetch the max(_kMasterDate) for each Month Year but not the values for that date. I also tried FirstSortedValue(X, -_kMasterDate) to no luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldX can be a granular data field at daily level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 02:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508273#M190004</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-10-23T02:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508274#M190005</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;Can you attach some sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 03:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508274#M190005</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-23T03:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508275#M190006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;see the attached file on firstsorted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 04:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508275#M190006</guid>
      <dc:creator />
      <dc:date>2013-10-23T04:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508276#M190007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried&lt;/P&gt;&lt;P&gt;aggr(max(value),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;_kMasterDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(aggr(max(Value),[Month Year]),-aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;_kMasterDate&lt;/SPAN&gt;,[Month Year]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 05:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508276#M190007</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-10-23T05:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508277#M190008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 08:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508277#M190008</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-23T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508278#M190009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 11:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508278#M190009</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-10-23T11:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508279#M190010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is all great, and thanks for the reply, however, it needs to scale from weekly to monthly to quarterly to yearly grabbing the max value at each step of the way so the qvw's do not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as for Aggr(max(value), _kMasterDate) i wrapped a sum and that was incorrect and tried a Max() and that was partially correct because it fetches the max(value) of 300 if November2013 value is less than October 2013 value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508279#M190010</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-10-23T12:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508280#M190011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what did work however is,&lt;/P&gt;&lt;P&gt;FirstSortedValue(aggr(max(Value),_kMasterDate),-aggr(_kMasterDate,_kMasterDate))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508280#M190011</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-10-23T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Max() value</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508281#M190012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to extend this to return the SUM(Value) for the max period? and also support the Product and Customer hierarchy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 03:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Max-value/m-p/508281#M190012</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2013-10-24T03:02:18Z</dc:date>
    </item>
  </channel>
</rss>

