<?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: Re: Displaying second largest value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660271#M537227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or a bit less complicated...&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a calculated dimension with IF(AGGR(RANK(SUM(Sales),4),Market)=2,Market)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppress Null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then just add SUM(Sales) as your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 21:06:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-22T21:06:00Z</dc:date>
    <item>
      <title>Displaying second largest value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660267#M537218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a chart which contains incident categories . i need to create norther 5 charts which shows d top 5 categories one by one. d largest i can get it done. but how can i display ONLY the second largest value ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my equation to calculate the count of categories as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(year(today())=fp_year) and cat_tier='Fail',IncID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if some one could help me in this issue i would really appreciate it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 08:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660267#M537218</guid>
      <dc:creator />
      <dc:date>2014-10-20T08:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying second largest value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660268#M537220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Perhaps this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;&lt;EM&gt;MyCategoryDimensionHere&lt;/EM&gt;={"=rank(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;fp_year={'$(=year(today))'},cat_tier={'Fail'}&amp;gt;} IncID)&lt;/SPAN&gt;)=2"}, fp_year={'$(=year(today))'},cat_tier={'Fail'}&amp;gt;} IncID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe&lt;/P&gt;&lt;P&gt;max(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;fp_year={'$(=year(today))'},cat_tier={'Fail'}&amp;gt;} IncID)&lt;/SPAN&gt;,&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyCategoryDimensionHere&lt;/EM&gt;),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 08:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660268#M537220</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-20T08:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying second largest value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660269#M537222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;max(aggr(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt;fp_year={'$(=year(today))'},cat_tier={'Fail'}&amp;gt;} IncID)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,&lt;/SPAN&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MyCategoryDimensionHere&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;),2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it show falls values but if i remove the dimension in the dimension tab it shows the correct value but it dosent show the category name . what can i do for that??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 09:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660269#M537222</guid>
      <dc:creator />
      <dc:date>2014-10-20T09:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying second largest value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660270#M537224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about the attached solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One expression (for the Bar) similar to MAX(AGGR(SUM(Sales),Market),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One expression (to be shown on the axis) similar to ONLY(IF(AGGR(RANK(SUM(Sales),4),Market)=2,Market))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 21:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660270#M537224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T21:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying second largest value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660271#M537227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or a bit less complicated...&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a calculated dimension with IF(AGGR(RANK(SUM(Sales),4),Market)=2,Market)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppress Null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then just add SUM(Sales) as your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 21:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-second-largest-value/m-p/660271#M537227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T21:06:00Z</dc:date>
    </item>
  </channel>
</rss>

