<?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: next date using firstValue or fiesrSortedValue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084526#M361142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date&lt;/P&gt;&lt;P&gt;dd/mm/yyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 09:25:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-16T09:25:06Z</dc:date>
    <item>
      <title>next date using firstValue or fiesrSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084523#M361139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;/P&gt;&lt;P&gt;i have some actions that suposed to hapen in the future.&lt;/P&gt;&lt;P&gt;i need to get the first date fron all the future dates if there are bigger than today.&lt;/P&gt;&lt;P&gt;for example i have the dates 25-03-2016, 13-8-2016, 6-9-2016&lt;/P&gt;&lt;P&gt;and i need to get only 25-03-2016 as next date.&lt;/P&gt;&lt;P&gt;this is the code that i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(date(max(DriveDate_DateFormat))&amp;gt;Date(Now()),FirstSortedValue(date(max(DriveDate_DateFormat)),1)) as NextDonationDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident DonationEvents&lt;/P&gt;&lt;P&gt;&amp;nbsp; Group By AccountId;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is " Nasted aggegation not allowed"&lt;/P&gt;&lt;P&gt;need your help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084523#M361139</guid>
      <dc:creator />
      <dc:date>2016-03-16T08:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: next date using firstValue or fiesrSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084524#M361140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the format of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DriveDate_DateFormat?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084524#M361140</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-16T09:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: next date using firstValue or fiesrSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084525#M361141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccountId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DriveDate_DateFormat&lt;/SPAN&gt;)&lt;SPAN style="line-height: 1.5em;"&gt; as NextDonationDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DonationEvents&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DriveDate_DateFormat &amp;gt; Today()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccountId&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084525#M361141</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-16T09:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: next date using firstValue or fiesrSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084526#M361142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date&lt;/P&gt;&lt;P&gt;dd/mm/yyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/next-date-using-firstValue-or-fiesrSortedValue/m-p/1084526#M361142</guid>
      <dc:creator />
      <dc:date>2016-03-16T09:25:06Z</dc:date>
    </item>
  </channel>
</rss>

