<?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 Finding max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600145#M1106997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the source data in the table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="250" style="border: 1px solid rgb(0, 0, 0); width: 355px; height: 169px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;13&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header4 has two values a1 and a2.&lt;/P&gt;&lt;P&gt;a1 takes priority.whenever a1 availabe need to ignore a2 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objective is to find max(header5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the final result would be&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="95" style="border: 1px solid rgb(0, 0, 0); width: 383px; height: 95px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alex&lt;/TD&gt;&lt;TD&gt;1/1/2013&lt;/TD&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;a1&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 21:40:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-03T21:40:21Z</dc:date>
    <item>
      <title>Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600145#M1106997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the source data in the table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="250" style="border: 1px solid rgb(0, 0, 0); width: 355px; height: 169px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;13&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Alex&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;1/1/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;T2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;a2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header4 has two values a1 and a2.&lt;/P&gt;&lt;P&gt;a1 takes priority.whenever a1 availabe need to ignore a2 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objective is to find max(header5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the final result would be&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="95" style="border: 1px solid rgb(0, 0, 0); width: 383px; height: 95px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alex&lt;/TD&gt;&lt;TD&gt;1/1/2013&lt;/TD&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;a1&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 21:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600145#M1106997</guid>
      <dc:creator />
      <dc:date>2014-04-03T21:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600146#M1106998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;RESULT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56546_1.png" style="width: auto; height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SCRIPT&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;DIRECTORY;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;s:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [Header 1],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 2],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 3],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 4],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 5]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="113110" data-objecttype="1" href="http://community.qlik.com/thread/113110"&gt;http://community.qlik.com/thread/113110&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;t:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;load * where key&amp;lt;&amp;gt;peek(key);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;rowno() as id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Header 1] &amp;amp; '-' &amp;amp; [Header 3] as key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Resident s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;order by [Header 1], [Header 3], [Header 4], [Header 5] desc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;DROP Table s;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 22:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600146#M1106998</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-03T22:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600147#M1106999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyway ..... i hope you like it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun with QV:)&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 00:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600147#M1106999</guid>
      <dc:creator />
      <dc:date>2014-04-04T00:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600148#M1107000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Hai poojananda,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;I here by Attach qvw File ..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Pls Find My Attach It's Useful For U...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56559_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;ArjunKrish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600148#M1107000</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-04T06:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600149#M1107001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as my license finished &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; please show Header 5 expression. I'am interested if you have found another way than I to resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600149#M1107001</guid>
      <dc:creator />
      <dc:date>2014-04-04T06:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600150#M1107002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Darek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Header 3]='T1' and [Header 4]='a1',aggr(Max([Header 5]),[Header 4]),&lt;/P&gt;&lt;P&gt;If([Header 3]='T2',aggr(Max([Header 5]),[Header 3])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600150#M1107002</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-04T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600151#M1107003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; DARIUSZ MIELCZAREK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur Demo U Just Add These steps&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD [Header 1],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 2],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 3],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 4],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 5]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;max.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;LOAD * Where key&amp;lt;&amp;gt; Peek(Key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;[Header 1] &amp;amp; '-' &amp;amp; [Header 3] as key,&lt;/P&gt;&lt;P&gt;Resident A&lt;/P&gt;&lt;P&gt;order by [Header 1], [Header 3], [Header 4], [Header 5] desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in table chart give header 1,2,3,5 as dimensions&amp;nbsp; and Expression is ur&amp;nbsp; =Aggr(MinString([Header 4]),[Header 1],[Header 2], [Header 3]) expression..&lt;/P&gt;&lt;P&gt;try this ..................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600151#M1107003</guid>
      <dc:creator />
      <dc:date>2014-04-04T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600152#M1107004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey check this..!!&lt;IMG alt="sol.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56565_sol.png" style="width: 620px; height: 391px;" /&gt;&lt;IMG alt="sol2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56566_sol2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600152#M1107004</guid>
      <dc:creator />
      <dc:date>2014-04-04T06:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600153#M1107005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amay,&lt;/P&gt;&lt;P&gt;your expression finds max, but over Heder3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i understand, Pojananda wants to:&lt;/P&gt;&lt;P&gt;1. Aggregate Header 4 over Heder1-3.&lt;/P&gt;&lt;P&gt;2. find max Heder 5 for Header4 callculated in step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution calculates exactly this. Even if we will have more tahn 2 values to consider in Heder 4. So it is dynamic approach. I;am also afraid that my method may has poor performance. This is why i'am interested if somebody has some another idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Arjun - i'am afraid, that your expression will not work if we will load some different data into Heder3 or Header4 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 07:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600153#M1107005</guid>
      <dc:creator />
      <dc:date>2014-04-04T07:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600154#M1107006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@your main objective is to find max Header 5 you probably written wrong out put&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;so the final result would be like these not 11 .&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="95" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Header 5&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;Alex&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;T1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;a1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;Alex&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1/1/2013&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;T2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;a2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;for best results find attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 07:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600154#M1107006</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-04-04T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600155#M1107007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Poojananda told:&lt;/P&gt;&lt;P&gt;Header4 has two values a1 and a2. a1 takes priority.whenever a1 availabe&lt;/P&gt;&lt;P&gt;need to ignore a2 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only question is If there arr only 2 priority values. If YES, there may&lt;/P&gt;&lt;P&gt;be If or pick be used. But If priority has more possible values, we need&lt;/P&gt;&lt;P&gt;more dynamic approach.&lt;/P&gt;&lt;P&gt;04-04-2014 09:31 użytkownik "Sunil Kumar" &amp;lt;qcwebmaster@qlik.com&amp;gt;&lt;/P&gt;&lt;P&gt;napisał:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;      Qlik Community &amp;lt;http://community.qlik.com/&amp;gt;   Finding max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Sunil Kumar&amp;lt;http://community.qlik.com/people/sunilkumarqv?et=watches.email.thread&amp;gt;in *New&lt;/P&gt;&lt;P&gt;to QlikView* - View the full discussion&amp;lt;http://community.qlik.com/message/502205?et=watches.email.thread#502205&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 08:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600155#M1107007</guid>
      <dc:creator />
      <dc:date>2014-04-04T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600156#M1107008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found very nice solution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Lets assume for a moment, that we load additional integer column (i named it "priority"). It has values corresponding to header 4, but without letter a. So, it has values 1 for a1, 2 for a2, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Lets assume, that we are able during reload create expression body like this (and for exaple put it into variable value).:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(min(priority), max({&amp;lt;priority={1}&amp;gt;}[Header 5]),max({&amp;lt;priority={2}&amp;gt;}[Header 5]),max({&amp;lt;priority={3}&amp;gt;}[Header 5]),....max({&amp;lt;priority={n}&amp;gt;}[Header 5]) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I have no time to prepare load script which will build this expression, but it is not difficult)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my case expression is:&lt;/P&gt;&lt;P&gt;pick(min(priority), max({&amp;lt;priority={1}&amp;gt;}[Header 5]),max({&amp;lt;priority={2}&amp;gt;}[Header 5]),max({&amp;lt;priority={3}&amp;gt;}[Header 5])),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because in my tests max priority in all popullation has value 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If we have above done, solution is easy and, should has normal performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look on last column in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun with QV &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600156#M1107008</guid>
      <dc:creator />
      <dc:date>2014-04-04T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600157#M1107009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.It seems working.Can you please explain me the expression code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 16:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600157#M1107009</guid>
      <dc:creator />
      <dc:date>2014-04-04T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600158#M1107010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all thank you so much for all these ideas.You guys rock!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600158#M1107010</guid>
      <dc:creator />
      <dc:date>2014-04-04T17:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600159#M1107011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priority has only two values,a1 and a2.no third value for that column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600159#M1107011</guid>
      <dc:creator />
      <dc:date>2014-04-04T17:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600160#M1107012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil-a1 has only two values 10 and 11 in the above example.a1 takes priority over a2.so need to ignore the record where header5 is 40.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600160#M1107012</guid>
      <dc:creator />
      <dc:date>2014-04-04T17:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600161#M1107013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I donot think I can go with this option.Because header3 has multiple values,cannot hardcod with&lt;BR /&gt;If([Header 3]='T1' or If([Header 3]='T2'.Only header4 has two static values a1 and a2.Sorry may be I was not clearly mentioned this in the requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600161#M1107013</guid>
      <dc:creator />
      <dc:date>2014-04-04T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600162#M1107014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take expression from &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/502291-100321/comm_header1_5_v3.qvw"&gt;comm_header1_5_v3.qvw&lt;/A&gt;&amp;nbsp; I attached in one of my responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. column with Header4 is Calculated Dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(minstring([Header 4]),[Header 1],[Header 2],[Header 3])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i simple gives you minimal valye of H4 for combination of H1,H2,H3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Header 5 column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(min(priority), max({&amp;lt;priority={1}&amp;gt;}[Header 5]),max({&amp;lt;priority={2}&amp;gt;}[Header 5]),max({&amp;lt;priority={3}&amp;gt;}[Header 5]))&lt;/P&gt;&lt;P&gt;a)&lt;/P&gt;&lt;P&gt;pick(n,ex1,ex2,ex3,...,exm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n-integer value, in our case n=min(priority)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick() gives you n'th expression. So, if our priority = 2, there will be ex2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our expression are very similiar to each other:&lt;/P&gt;&lt;P&gt;max({&amp;lt;priority={1}&amp;gt;}[Header 5]) is taken when priority =1&lt;/P&gt;&lt;P&gt;max({&amp;lt;priority={2}&amp;gt;}[Header 5]) is taken when priority =2,&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Belive me, even if today you have only 2 priorities, there may be someday 3-rd priority &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; So, be ready for it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need some more information, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 20:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600162#M1107014</guid>
      <dc:creator />
      <dc:date>2014-04-04T20:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Finding max</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600163#M1107015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darek..Thank you so much for your time to explain the code.Have a great day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 16:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-max/m-p/600163#M1107015</guid>
      <dc:creator />
      <dc:date>2014-04-07T16:58:14Z</dc:date>
    </item>
  </channel>
</rss>

