<?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: Top Rank Chart Label in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988078#M336882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 15:44:49 GMT</pubDate>
    <dc:creator>AC3</dc:creator>
    <dc:date>2015-10-02T15:44:49Z</dc:date>
    <item>
      <title>Top Rank Chart Label</title>
      <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988074#M336878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart which plots the top ranking Customer over 2 days by hour.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="146" src="https://community.qlik.com/legacyfs/online/100787_Capture.PNG" style="height: 146.023px; width: 474px;" width="475" /&gt;&lt;/P&gt;&lt;P&gt;The Expression used is: &lt;STRONG&gt;Sum({1&amp;lt;customer= {"=aggr(rank(sum(sales)), &lt;SPAN style="font-size: 13.3333px;"&gt;customer&lt;/SPAN&gt;) = 1"}&amp;gt; } &lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'd like the Expression Label to be the customer with rank=1.&amp;nbsp; I've tried this &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;if(rank(sum(&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;))=1,&lt;SPAN style="font-size: 13.3333px;"&gt;customer&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; but it's returning nulls.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Appreciate any help!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988074#M336878</guid>
      <dc:creator>AC3</dc:creator>
      <dc:date>2015-10-02T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Top Rank Chart Label</title>
      <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988075#M336879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try =only({1&amp;lt;customer={"=rank(sum(sales))=1"}&amp;gt;} customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988075#M336879</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-02T15:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Top Rank Chart Label</title>
      <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988076#M336880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try below:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({1&amp;lt;customer= {"$(=aggr(rank(sum(sales)), &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;customer&lt;/SPAN&gt;) = 1)"}&amp;gt; } &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988076#M336880</guid>
      <dc:creator />
      <dc:date>2015-10-02T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Top Rank Chart Label</title>
      <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988077#M336881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using firstsorted value function and aggr that and to display&lt;/P&gt;&lt;P&gt;it in descending order use - sign&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988077#M336881</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2015-10-02T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Top Rank Chart Label</title>
      <link>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988078#M336882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-Rank-Chart-Label/m-p/988078#M336882</guid>
      <dc:creator>AC3</dc:creator>
      <dc:date>2015-10-02T15:44:49Z</dc:date>
    </item>
  </channel>
</rss>

