<?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 Expression issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129912#M19568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick fix try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [A Process Date]={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'$(=&lt;/STRONG&gt;&lt;/SPAN&gt;FirstSortedValue({&amp;lt;[A Process Date]={'&amp;lt;=$(=Max([A Process Date]))'}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_Day=,_Month=, _Year=&amp;gt;} TOTAL &amp;lt;[Source System]&amp;gt; [Process Date], -[Process Date])&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)'&lt;/STRONG&gt;&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If this doesn't work, try to share a sample app.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 07:35:04 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-10-03T07:35:04Z</dc:date>
    <item>
      <title>FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129911#M19567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Below Expression is not evaluating the &lt;SPAN style="font-size: 13.3333px;"&gt;FirstSortedValue Statement. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt; [Source System] ={DLDAU}, [A Process Date]={"=FirstSortedValue({&amp;lt;[A Process Date]={'&amp;lt;=$(=Max([A Process Date]))'},_Day=,_Month=, _Year=&amp;gt;} TOTAL &amp;lt;[Source System]&amp;gt; [Process Date], -[Process Date])"}&amp;gt;}[B Job SuccessCNT]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 07:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129911#M19567</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2018-10-03T07:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129912#M19568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick fix try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [A Process Date]={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'$(=&lt;/STRONG&gt;&lt;/SPAN&gt;FirstSortedValue({&amp;lt;[A Process Date]={'&amp;lt;=$(=Max([A Process Date]))'}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_Day=,_Month=, _Year=&amp;gt;} TOTAL &amp;lt;[Source System]&amp;gt; [Process Date], -[Process Date])&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)'&lt;/STRONG&gt;&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If this doesn't work, try to share a sample app.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 07:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129912#M19568</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-03T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129913#M19569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ for the prompt reply, However I am yet to get the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer the attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the selection of Sep 18 currently i am getting the below result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="294"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Core Source System&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2018-09-27&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;225&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2018-09-28&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my expected result is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 294px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Core Source System&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2018-09-27&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;225&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2018-09-28&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as the Sum for 123 should come from Sep 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 12:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129913#M19569</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2018-10-03T12:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129914#M19570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Inputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 04:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129914#M19570</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2018-10-04T04:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129915#M19571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue({&amp;lt;Core_Day=,Core_Month=, Core_Year&amp;gt;} Aggr( NODISTINCT Sum({&amp;lt;Core_Day=,Core_Month=, Core_Year&amp;gt;} [CoreB Job SuccessCNT]),[Core Source System],[Core Process Date]), -[Core Process Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215064_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129915#M19571</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-04T06:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129916#M19572</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;This works like a charm, I have another query what if i need to Display the Sum (24 in this case) in a text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129916#M19572</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2018-10-04T06:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129917#M19573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum({&amp;lt;Core_Day=,Core_Month=, Core_Year&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr( &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AboveExpression&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Core Source System]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Expression-issue/m-p/129917#M19573</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-04T06:43:54Z</dc:date>
    </item>
  </channel>
</rss>

