<?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 With Max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308336#M407003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this you are expecting?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164195_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 05:57:29 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-22T05:57:29Z</dc:date>
    <item>
      <title>FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308335#M407002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the max count and name fo first user.&lt;/P&gt;&lt;P&gt;Cany anyone help me in doing so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Straight Table&lt;/P&gt;&lt;P&gt;2 Dimension: SYSTEM_CREATED&lt;/P&gt;&lt;P&gt;3 Expression1: FirstSortedValue(USER,-Aggr(COUNT(USER),USER,SYSTEM_CREATED))&lt;/P&gt;&lt;P&gt;4 Expression2: =Max(Aggr(Count(USER),USER,&lt;SPAN style="font-size: 13.3333px;"&gt;SYSTEM_CREATED&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="189" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 352px; height: 176px;" width="350"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;SYSTEM_CREATED&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;USER&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Max Count&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;CLA&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Sent&lt;/TD&gt;&lt;TD class="xl70" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;GOL&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Chri&lt;/TD&gt;&lt;TD class="xl70" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;LOI&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Rame&lt;/TD&gt;&lt;TD class="xl70" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;QUO&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Dani&lt;/TD&gt;&lt;TD class="xl70" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;SES&lt;/TD&gt;&lt;TD class="xl69" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Geor&lt;/TD&gt;&lt;TD class="xl71" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I am getting the result but CLA sent count is showing 16 which is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When I am creating a list box Region on clicking the USA it not reflecting the name of User in the straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 05:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308335#M407002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T05:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308336#M407003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this you are expecting?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164195_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 05:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308336#M407003</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-22T05:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308337#M407004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting 15&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="164191" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164191_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308337#M407004</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-22T06:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308338#M407005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you expecting like this&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164198_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308338#M407005</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2017-05-22T06:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308339#M407006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u using the same expression and dimension as I have used.&lt;/P&gt;&lt;P&gt;2nd have you create Region on clicking the USA did you the name of the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308339#M407006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T06:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308340#M407007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used same, Nothing changes done AON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell us expected result may be? If anything need ful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308340#M407007</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-22T06:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308341#M407008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Test1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164201_Test1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I am not getting the name of the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308341#M407008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T06:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308342#M407009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need 'DISTINCT' like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FirstSortedValue(&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; USER,-Aggr(COUNT(USER),USER,SYSTEM_CREATED))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164199_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308342#M407009</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-22T06:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308343#M407010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be the reason, You are aggregating two dimensions. May be try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(USER,-Aggr(COUNT(USER),SYSTEM_CREATED))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308343#M407010</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-22T06:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308344#M407011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now its working fine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 06:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308344#M407011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T06:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue With Max</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308345#M407012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="179" src="https://community.qlik.com/legacyfs/online/164391_Capture.PNG" style="height: 179px; width: 710.272px;" width="710" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Hi Bijay I tried same on front end and as well as back end but i got same result in both .&lt;/P&gt;&lt;P&gt;Please go through with the attached qvw for better understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 12:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-With-Max/m-p/1308345#M407012</guid>
      <dc:creator>srishsum2017</dc:creator>
      <dc:date>2017-05-23T12:01:19Z</dc:date>
    </item>
  </channel>
</rss>

