<?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 is not returning single value in set analysis. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634680#M232800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope!&lt;BR /&gt;It did not work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2014 22:13:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-30T22:13:26Z</dc:date>
    <item>
      <title>FirstSortedValue is not returning single value in set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634676#M232796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;The FIrstSortedvalue is not working in this expression....If used alone it returns single date but it seems it is return NULL in set analysis..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Sum(Aggr(If(MonthName(Min({1}TxnDate)) = 'May 2013'), Sum({&amp;lt;TxnDate={$(=Date(FirstSortedValue((TxnDate), Aggr(Min({&amp;lt;TxnType={'Invoice'}&amp;gt;}TxnDate),CustomerListID, TxnDate))),'MM/DD/YYYY')}&amp;gt;}Amount), 0), CustomerListID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Saurabh &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 19:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634676#M232796</guid>
      <dc:creator />
      <dc:date>2014-05-30T19:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue is not returning single value in set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634677#M232797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this expression in textbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;$(=Date(FirstSortedValue((TxnDate), Aggr(Min({&amp;lt;TxnType={'Invoice'}&amp;gt;}TxnDate),CustomerListID, TxnDate))),'MM/DD/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Darek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 20:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634677#M232797</guid>
      <dc:creator />
      <dc:date>2014-05-30T20:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue is not returning single value in set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634678#M232798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darek,&lt;/P&gt;&lt;P&gt;BOth expressions&amp;nbsp; work in textbox but they do not work when i used them in expression....&lt;/P&gt;&lt;P&gt;BTW..is it possible to use the value of textbox in a expression.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 21:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634678#M232798</guid>
      <dc:creator />
      <dc:date>2014-05-30T21:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue is not returning single value in set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634679#M232799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ramya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try encircling the $() in single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;Sum(Aggr(If(MonthName(Min({1}TxnDate)) = 'May 2013'), Sum({&amp;lt;TxnDate={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;$(=Date(FirstSortedValue((TxnDate), Aggr(Min({&amp;lt;TxnType={'Invoice'}&amp;gt;}TxnDate),CustomerListID, TxnDate))),'MM/DD/YYYY')&lt;STRONG style=": ; color: #ff0000; text-decoration: underline;"&gt;'&lt;/STRONG&gt;}&amp;gt;}Amount), 0), CustomerListID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 22:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634679#M232799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-30T22:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue is not returning single value in set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634680#M232800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope!&lt;BR /&gt;It did not work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 22:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-is-not-returning-single-value-in-set-analysis/m-p/634680#M232800</guid>
      <dc:creator />
      <dc:date>2014-05-30T22:13:26Z</dc:date>
    </item>
  </channel>
</rss>

