<?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 and Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051839#M466420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=count(OrderNo)=Max(TOtal aggr(count(OrderNo),Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; in a TextBox gives you exaktly the 15/01/2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 15:09:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T15:09:53Z</dc:date>
    <item>
      <title>FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051834#M466415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I wish to achieve is to return the date which is associated to the most number of orders for a day. Is firstsortedvalue the correct way to go? I have attached my app as well as a screenshot which adds more detail to my question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Scott&lt;IMG __jive_id="113584" alt="FSVCOUNT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113584_FSVCOUNT.png" style="width: 620px; height: 274px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 15:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051834#M466415</guid>
      <dc:creator />
      <dc:date>2016-02-04T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051835#M466416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you really want the date or just order the date by the Count?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051835#M466416</guid>
      <dc:creator />
      <dc:date>2016-02-08T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051836#M466417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Date,-Aggr(Count(OrderNo),Date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051836#M466417</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2016-02-08T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051837#M466418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the second part of the question, try this -&amp;gt; &lt;STRONG&gt;=FirstSortedValue(Date,-(Aggr(Count(OrderNo),Date)* 100000+Date))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051837#M466418</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051838#M466419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Part 2: Add a small value depending on date to distinguish between same Count:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Date,-Aggr(Count(OrderNo)&lt;STRONG&gt;+Date/1E6&lt;/STRONG&gt;,Date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 15:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051838#M466419</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-08T15:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051839#M466420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=count(OrderNo)=Max(TOtal aggr(count(OrderNo),Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; in a TextBox gives you exaktly the 15/01/2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 15:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051839#M466420</guid>
      <dc:creator />
      <dc:date>2016-02-08T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051840#M466421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does not seem to work for some reason when I copied this expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051840#M466421</guid>
      <dc:creator />
      <dc:date>2016-02-09T10:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051841#M466422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I require the date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051841#M466422</guid>
      <dc:creator />
      <dc:date>2016-02-09T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue and Count</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051842#M466423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my qvw:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-and-Count/m-p/1051842#M466423</guid>
      <dc:creator />
      <dc:date>2016-02-09T10:59:11Z</dc:date>
    </item>
  </channel>
</rss>

