<?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 Maximum and 2nd Maximum Financial Year in Dimension Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492022#M183948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my .qvw application there are three financial year 2013-2014,2012-2013 and 2011-2012.I want to show the 2013-2014 and 2012-2013 financial year in dimension of a pivot table which are the maximim and 2nd Maximum Financial Year.Anyone have the solution plese share here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 09:25:59 GMT</pubDate>
    <dc:creator>koushik_btech20</dc:creator>
    <dc:date>2013-09-06T09:25:59Z</dc:date>
    <item>
      <title>Maximum and 2nd Maximum Financial Year in Dimension Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492022#M183948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my .qvw application there are three financial year 2013-2014,2012-2013 and 2011-2012.I want to show the 2013-2014 and 2012-2013 financial year in dimension of a pivot table which are the maximim and 2nd Maximum Financial Year.Anyone have the solution plese share here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 09:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492022#M183948</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2013-09-06T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum and 2nd Maximum Financial Year in Dimension Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492023#M183949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( FY = maxstring(FY) or FY = maxstring(FY,2), FY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FY being your financial year field name. And check 'Suppress When Value is Null' on dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can also use a set expression in all your expressions, create two variables using the maxstring() functions, then do it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FY = {$(FYMax),$(FYMax2)}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Maxstring() does not seem to support the rank argument like Max() function. But you can create your FY field using a dual value, assigning a number (like Year '2013' in '2012 - 2013') and then use max() function instead of maxstring().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 09:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492023#M183949</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-06T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum and 2nd Maximum Financial Year in Dimension Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492024#M183950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;calculated dimension as&lt;/P&gt;&lt;P&gt;=Aggr(If(Rank(FY)&amp;lt;3,FY),FY)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , and check 'Suppress When Value is Null' on dimension tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 09:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-2nd-Maximum-Financial-Year-in-Dimension-Problem/m-p/492024#M183950</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-06T09:41:33Z</dc:date>
    </item>
  </channel>
</rss>

