<?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: Get Latest Year for Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406705#M486575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max(if(not IsNull(Sales),Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt;Sales={'*'}&amp;gt;}Year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 08:56:04 GMT</pubDate>
    <dc:creator>sivarajs</dc:creator>
    <dc:date>2013-03-05T08:56:04Z</dc:date>
    <item>
      <title>Get Latest Year for Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406704#M486574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date dimension which has years 2000 up to 2025.&lt;/P&gt;&lt;P&gt;I need to get the latest year that has sales (in this case 2013), and need to display this value in a simple text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody provide some pointers to write this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 08:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406704#M486574</guid>
      <dc:creator />
      <dc:date>2013-03-05T08:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get Latest Year for Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406705#M486575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max(if(not IsNull(Sales),Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt;Sales={'*'}&amp;gt;}Year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 08:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406705#M486575</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2013-03-05T08:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Latest Year for Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406706#M486576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this should do it: max({&amp;lt;SalesValue={'*'}&amp;gt;} Year). Replace SalesVales and Year with the names of your dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 08:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Latest-Year-for-Sales/m-p/406706#M486576</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-05T08:56:04Z</dc:date>
    </item>
  </channel>
</rss>

