<?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: Rank for only first - Straight table chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157326#M377427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Market Leader:&lt;/P&gt;&lt;P&gt;FirstSortedValue(Corporation,-Aggr(Sum(Sales),Molecule,Corporation))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 12:35:18 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-07-27T12:35:18Z</dc:date>
    <item>
      <title>Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157325#M377426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a column in a straight table for showing the market leader of a certain dimension.&lt;/P&gt;&lt;P&gt;In other words:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is Molecule, then I have the Molecule Sales (Sum(sales)), then I need the name of the Corporation which Rank(TOTAL &amp;lt;Molecule&amp;gt; Sum(sales)) = 1 and then this Corporation's Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I achieved so far is to show the market leader in a text object only when one molecule is selected, using this:&lt;/P&gt;&lt;P&gt;Only(&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;Rank(TOTAL&lt;/P&gt;&lt;P&gt;Sum( IMP_VL_DEMAND_MTH)&lt;/P&gt;&lt;P&gt;) = 1,&lt;/P&gt;&lt;P&gt;Corporation&lt;/P&gt;&lt;P&gt;), Corporation&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work in the straight table chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an example (attached).&lt;/P&gt;&lt;P&gt;While selecting MolA, the straight table should display CorpH and the sales value of 918,98. This should happen without having to select the molecule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157325#M377426</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-07-27T12:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157326#M377427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Market Leader:&lt;/P&gt;&lt;P&gt;FirstSortedValue(Corporation,-Aggr(Sum(Sales),Molecule,Corporation))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157326#M377427</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-07-27T12:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157327#M377428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works as a charm! Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used this for the market leader sales:&lt;BR /&gt;FirstSortedValue(Aggr(Sum(Sales),Molecule,Corporation),-Aggr(Sum(Sales),Molecule,Corporation))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157327#M377428</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-07-27T12:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157328#M377429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;gt;&amp;gt;"Used this for the market leader sales:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I that case I think that&lt;/P&gt;&lt;P&gt;Max(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Aggr(Sum(Sales),Molecule,Corporation)) should perform better&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157328#M377429</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-07-27T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157329#M377430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157329#M377430</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-07-27T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for only first - Straight table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157330#M377431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TRY THIS ONE.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FirstSortedValue(Corporation,-Aggr(Sum(Sales),Molecule,Corporation))&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;A _jive_internal="true" class="jive-acclaim-likelink" data-command="like" data-object-id="1092699" data-object-type="2" href="https://community.qlik.com/message/1092699" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Re: Rank for only first - Straight table chart&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 12:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-only-first-Straight-table-chart/m-p/1157330#M377431</guid>
      <dc:creator>arvind1494</dc:creator>
      <dc:date>2018-01-24T12:40:13Z</dc:date>
    </item>
  </channel>
</rss>

