<?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 with Firstsortedvalue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068978#M637618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton .. its working..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2016 17:32:55 GMT</pubDate>
    <dc:creator>QlikAngel</dc:creator>
    <dc:date>2016-04-06T17:32:55Z</dc:date>
    <item>
      <title>Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068974#M637614</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 want to add below expression , below expression is working .. but want to add in below expression stating if PO_NUMBER is Max on selection of Year or Month then only below expression should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( DISTINCT Aggr(SUM({&amp;lt;PODTL_PHA_CREATION_YEAR = {$(vMaxYear)},PODTL_PHA_AUTHORIZATION_STATUS = {"APPROVED"} &amp;gt;}DISTINCT PODTL_PLA_UNIT_PRICE),&lt;/P&gt;&lt;P&gt;PODTL_ORGANIZATION_NAME,NEW_PODTL_ITEM_CODE,PODTL_ITEM_CODE,PODTL_PHA_CREATION_DATE),-(PODTL_PHA_CREATION_DATE),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do it please help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 15:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068974#M637614</guid>
      <dc:creator>QlikAngel</dc:creator>
      <dc:date>2016-04-06T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068975#M637615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand, but may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;If(Max(PO_NUMBER) = Max({1} PO_NUMBER)&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FirstSortedValue( DISTINCT Aggr(SUM({&amp;lt;PODTL_PHA_CREATION_YEAR = {$(vMaxYear)},PODTL_PHA_AUTHORIZATION_STATUS = {"APPROVED"} &amp;gt;}DISTINCT PODTL_PLA_UNIT_PRICE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;PODTL_ORGANIZATION_NAME,NEW_PODTL_ITEM_CODE,PODTL_ITEM_CODE,PODTL_PHA_CREATION_DATE),-(PODTL_PHA_CREATION_DATE),1)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068975#M637615</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T16:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068976#M637616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i want sequentially previous PO then ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068976#M637616</guid>
      <dc:creator>QlikAngel</dc:creator>
      <dc:date>2016-04-06T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068977#M637617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand, can you share a sample with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068977#M637617</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068978#M637618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton .. its working..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068978#M637618</guid>
      <dc:creator>QlikAngel</dc:creator>
      <dc:date>2016-04-06T17:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Max with Firstsortedvalue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068979#M637619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am amazed it does, because I seriously had no clue about what you wanted. Well I had some clue, but was not 100% sure &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-with-Firstsortedvalue/m-p/1068979#M637619</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T17:35:06Z</dc:date>
    </item>
  </channel>
</rss>

