<?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 2 overall in multiple dimension Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346491#M824514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you solve this problem? I'm really struggling here with the same issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2018 15:27:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-12T15:27:46Z</dc:date>
    <item>
      <title>Top 2 overall in multiple dimension Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346488#M824511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a Line Chart with multiple dimensions that will provide results on the Top 2 overall rather than the Top 2 intersect of the two dimensions.&amp;nbsp; Currently using Dimension Limits I am only able to see the Top 2 intersect of Dimension Limits, however if I change the chart to a Straight Table and sort using the second dimension (the one I would like to use as the overall criteria) I'm able to see it without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, say I have Dimensions:&lt;/P&gt;&lt;P&gt;Quarter - Period in the year&lt;/P&gt;&lt;P&gt;State - State in which the transaction took place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Expressions:&lt;/P&gt;&lt;P&gt;Count - Invisible, no Display, used as calculated field for "first expression" calculations only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(TransactionID)&lt;/P&gt;&lt;P&gt;Frequency - % of all Transactions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(TransactionID)/Count(TOTAL TransactionID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension Limits is set to the Top 2 States only.&amp;nbsp; My expectation here is that Qlik will take a look at all of the States in the given selection, find the States with the largest 2 Count(TransactionID), and give me two lines representing these two States over each Quarter.&amp;nbsp; Instead, Qlik is finding the Top 2 States per Quarter, which leaves me with more lines than I would like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached example, you can see that there are 3 lines in the workspace representing FL, GA, and NY.&amp;nbsp; This is because in Q1 FL&amp;amp;NY have the highest Count(TransactionID), Q2 belongs to FL&amp;amp;NY, Q3 belongs to GA&amp;amp;NY, and Q4 belongs to GA&amp;amp;NY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Straight Table below the Line Chart is just a copy of the same object, but with a sort on State.&amp;nbsp; Because it's doing the sort only on State, we only see two States, which is what I'd like to see represented in the Line Chart.&amp;nbsp; You can change it to look like the Line Chart above if you change it to sort on Quarter, where we will then have 3 states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple sorting options but I can't ever see less than 3 lines in the Line Chart.&amp;nbsp; Is there a fix to this that I'm missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346488#M824511</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Top 2 overall in multiple dimension Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346489#M824512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use rank function with Aggr() to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 16:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346489#M824512</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-20T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Top 2 overall in multiple dimension Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346490#M824513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only issue with this is in my actual data I'm doing a Top 5 of 52 possibilities so I wouldn't have a legend limited to the Top 5 and it would be confusing to see entries outside of the ones visible in the chart.&amp;nbsp; Your result in the actual Line Chart is what I'm looking for, however!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 16:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346490#M824513</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-07-20T16:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Top 2 overall in multiple dimension Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346491#M824514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you solve this problem? I'm really struggling here with the same issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346491#M824514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-12T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Top 2 overall in multiple dimension Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346492#M824515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not.&amp;nbsp; This might have to be solved with logic in the data model by creating a "top X" flag in the load script, but I never went through with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-2-overall-in-multiple-dimension-Line-Chart/m-p/1346492#M824515</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2018-04-12T15:46:27Z</dc:date>
    </item>
  </channel>
</rss>

