<?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: Picking the most recent entry, FirstSortedValue, Aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209010#M518274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would want the most recent date's data for all the dimensions on the right. And i want the text box to display it when the end user opens up the dashboard and before making a selection. &lt;/P&gt;&lt;P&gt;How would i replace the Max function as i understand that the Max(Date) would pick the maximum date irrespective of the other dimensions?&lt;/P&gt;&lt;P&gt;I tried to replace the Max with FirstSortedvalue function but that didnot work for me either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2016 11:52:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-04T11:52:02Z</dc:date>
    <item>
      <title>Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209004#M518268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pick the most recent entry and display it in a text box. The requirement is to get the most recent Sales for one day, and when none of the filters are selected it should Sum every possible Sales and display it.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Most Recent Sales1.jpg" class="jive-image image-1" src="/legacyfs/online/142917_Most Recent Sales1.jpg" style="float: left;" /&gt;For example, when No Country is selected in the Filter, the text Box should have the Sales as 3196+2454.&lt;/P&gt;&lt;P&gt;However when a country is selected, it should display the actual numbers, India-2454 and Aus-3196.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the sample application here, please give me your suggestions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 09:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209004#M518268</guid>
      <dc:creator />
      <dc:date>2016-11-04T09:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209005#M518269</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;&lt;STRONG&gt;=Sum(Aggr(FirstSortedValue(Sales,-DateNum), Ctry))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 09:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209005#M518269</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-04T09:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209006#M518270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if i have more dimensions, i just have to include them next to the Ctry in Aggr here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 09:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209006#M518270</guid>
      <dc:creator />
      <dc:date>2016-11-04T09:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209007#M518271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well for the result you are looking to get, I would just add Ctry. But if the requirement is to get something else, then you might have to change the expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 09:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209007#M518271</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-04T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209008#M518272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just pasting a snapshot of my actual dashboard, the Daily Sales, daily margin are the text boxes which needs this expression. And when none of the list boxes from the right are selected , the expressions should calculate the most recent values for every single combination. If any of the filters are selected , Qlikview will take acre of it automatically right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i am using this expression for Daily Sales which is not correct because it does not consider every combination's recent date/max date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Sum({&amp;lt;DateNum={$(=Num(Max(SLS_RPT_TRNS.INVC__DT)))}&amp;gt;}PRC_USD_AMT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Most Recent Sales2.jpg" class="jive-image image-1" src="/legacyfs/online/142935_Most Recent Sales2.jpg" style="height: 461px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 11:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209008#M518272</guid>
      <dc:creator />
      <dc:date>2016-11-04T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209009#M518273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well selections will be taken care automatically unless you add a set analysis. The question is you want Max(Date) per what dimension? 1 Dimension or multiple dimensions? In a sense, if you had to show me the max date what all dimensions would you add in your straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 11:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209009#M518273</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-04T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209010#M518274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would want the most recent date's data for all the dimensions on the right. And i want the text box to display it when the end user opens up the dashboard and before making a selection. &lt;/P&gt;&lt;P&gt;How would i replace the Max function as i understand that the Max(Date) would pick the maximum date irrespective of the other dimensions?&lt;/P&gt;&lt;P&gt;I tried to replace the Max with FirstSortedvalue function but that didnot work for me either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 11:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209010#M518274</guid>
      <dc:creator />
      <dc:date>2016-11-04T11:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209011#M518275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone else might be able to help you out better, but with the information you are providing me right now, its all guess work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I did provide a solution for your initial request, either try out different things (playing around with the expression) at your end or I suggest to provide more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 11:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209011#M518275</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-04T11:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209012#M518276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your inputs Sunny. i will keep exploring. Will you be able to suggest me something on a similar issue here - &lt;A href="https://community.qlik.com/message/1153742"&gt;Including Dimensions in Set expression&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 13:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209012#M518276</guid>
      <dc:creator />
      <dc:date>2016-11-04T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209013#M518277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the sample file here.Please give me your suggestions. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 22:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209013#M518277</guid>
      <dc:creator />
      <dc:date>2016-11-04T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209014#M518278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me out here please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 17:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209014#M518278</guid>
      <dc:creator />
      <dc:date>2016-11-06T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209015#M518279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you expect to see when no selection had been made and what do you expect to see with 2-3 different selections as an example. I am having a somewhat hard time to imagine what you required output is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 18:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209015#M518279</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-06T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209016#M518280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Example1.jpg" class="jive-image image-1" height="319" src="https://community.qlik.com/legacyfs/online/143066_Example1.jpg" style="height: 318.67px; width: 393px;" width="393" /&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;The above image has 3 fields INVC__DT,Country and a measure. Country 'US' has data on 19thOct,Aust on 15thOct and Netherlands on 14th Oct as their recent dates. &lt;/P&gt;&lt;P&gt;When i used the below expression, it will always give me 'US' numbers as it has the most recent date when nothing is selectedin any of the filters. But what i actually want is that it should Sum all the most recent dates for every country, 19th for US, 15th for Austr and 14th For Nether and show it in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Sum({&amp;lt;DateNum={$(=Num(Max(SLS_RPT_TRNS.INVC__DT)))}&amp;gt;}PRC_USD_AMT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 19:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209016#M518280</guid>
      <dc:creator />
      <dc:date>2016-11-06T19:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209017#M518281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can someone help me here please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 18:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209017#M518281</guid>
      <dc:creator />
      <dc:date>2016-11-08T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Picking the most recent entry, FirstSortedValue, Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209018#M518282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions on this?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 17:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-the-most-recent-entry-FirstSortedValue-Aggr/m-p/1209018#M518282</guid>
      <dc:creator />
      <dc:date>2016-11-21T17:51:54Z</dc:date>
    </item>
  </channel>
</rss>

