<?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: Chart With Multiple Segments in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533621#M199318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you could use valuelist to create a faked dimension.&lt;/P&gt;&lt;P&gt;If valuelist()=first value then calculate the top10, =second the top25 and so on&lt;/P&gt;&lt;P&gt;Then you have to sort this values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 15:02:19 GMT</pubDate>
    <dc:creator>bbi_mba_76</dc:creator>
    <dc:date>2013-10-09T15:02:19Z</dc:date>
    <item>
      <title>Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533619#M199316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to create a chart like attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows Top 10 values and their Total and % then shows Top 25 and their Total and % including Others and overall Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this achievable in single object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533619#M199316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-09T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533620#M199317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try with pivot table ? If not possible, please make the aggregate data and concatenate to your table in the script. can you please post sample data here ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533620#M199317</guid>
      <dc:creator />
      <dc:date>2013-10-09T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533621#M199318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you could use valuelist to create a faked dimension.&lt;/P&gt;&lt;P&gt;If valuelist()=first value then calculate the top10, =second the top25 and so on&lt;/P&gt;&lt;P&gt;Then you have to sort this values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533621#M199318</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-09T15:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533622#M199319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attached an Excel file. Need to show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top 10 Total - after first 10 rows&lt;BR /&gt;Top 10 % of Total - below "Top 10 Total"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, at the bottom (after 25 rows) show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top 25 Total&lt;BR /&gt;Top 25 % of Total&lt;/P&gt;&lt;P&gt;All others&lt;/P&gt;&lt;P&gt;Overall Total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533622#M199319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-09T22:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533623#M199320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; you could add an inline table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTop10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Top10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Top10%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimTop25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Top25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Top25%&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the chart the following dimensions (I worked only for the first part):&lt;/P&gt;&lt;P&gt;"F1" (the field could be hidden)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;"=if(F1='DimTop10', if(aggr(rank(sum(Val),4,2), Dim)&amp;lt;=10, Dim)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(F1='Top10', 'Top10'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(F1='Top10%', 'Top10%')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the following expression&lt;/P&gt;&lt;P&gt;"=if(F1='DimTop10', if(aggr(rank(sum(Val),4,2), Dim)&amp;lt;=10, sum(Val))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(F1='Top10', sum({$&amp;lt;Dim={"=rank(sum(Val))&amp;lt;=10"}&amp;gt;} Val)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(F1='Top10%', sum({$&amp;lt;Dim={"=rank(sum(Val))&amp;lt;=10"}&amp;gt;} Val) / sum(Val))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" height="243" src="https://community.qlik.com/legacyfs/online/47423_pastedImage_9.png" style="width: 573px; height: 243.063px;" width="573" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 07:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533623#M199320</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-10T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533624#M199321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried for Top10 if worked almost fine (except the fact it shows 9 rows in the chart) but Top25 does not work as expected. For Top25, I only see Top25 Total and Top25 % rows but no rows above that for DimTop25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions:&lt;BR /&gt;F1&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;=if(F1='DimTop10', &lt;/P&gt;&lt;P&gt;if(aggr(rank(sum(Change),4,2), Client)&amp;lt;=10, Client), &lt;/P&gt;&lt;P&gt;if(F1='Top10', 'Top10', &lt;/P&gt;&lt;P&gt;if(F1='Top10%', 'Top10%',&lt;/P&gt;&lt;P&gt;if(F1='DimTop25', &lt;/P&gt;&lt;P&gt;if(aggr(rank(sum(Change),4,2), Client)&amp;lt;=25, Client),&lt;/P&gt;&lt;P&gt;if(F1='Top25', 'Top25', &lt;/P&gt;&lt;P&gt;if(F1='Top25%', 'Top25%'&lt;/P&gt;&lt;P&gt;))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=if(F1='DimTop10', &lt;/P&gt;&lt;P&gt;if(aggr(rank(sum(Change),4,2), Client)&amp;lt;=10, sum(Change)),&lt;/P&gt;&lt;P&gt;if(F1='Top10', sum({$&amp;lt;Client={"=rank(sum(Change))&amp;lt;=10"}&amp;gt;} Change),&lt;/P&gt;&lt;P&gt;if(F1='Top10%', sum({$&amp;lt;Client={"=rank(sum(Change))&amp;lt;=10"}&amp;gt;} Change) / sum(Change),&lt;/P&gt;&lt;P&gt;if(F1='DimTop25', &lt;/P&gt;&lt;P&gt;if(aggr(rank(sum(Change),4,2), Client)&amp;lt;=25, sum(Change)),&lt;/P&gt;&lt;P&gt;if(F1='Top25', sum({$&amp;lt;Client={"=rank(sum(Change))&amp;lt;=25"}&amp;gt;} Change),&lt;/P&gt;&lt;P&gt;if(F1='Top25%', sum({$&amp;lt;Client={"=rank(sum(Change))&amp;lt;=25"}&amp;gt;} Change) / sum(Change)&lt;/P&gt;&lt;P&gt;))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/47464_Untitled1.jpg" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 14:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533624#M199321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533625#M199322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dathu.qv&lt;/P&gt;&lt;P&gt;I don't think Pivot table does that, I attached some sample data as an Excel in my very first post.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533625#M199322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T17:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Chart With Multiple Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533626#M199323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arsalan, I am busy with my priorities so my reply got delayed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just you make the data into slices and finally concatenate all the slices. You can do all this into script level. Please find the attached qvd for reference. Please let me know in case of any concerns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-With-Multiple-Segments/m-p/533626#M199323</guid>
      <dc:creator />
      <dc:date>2013-10-10T18:23:04Z</dc:date>
    </item>
  </channel>
</rss>

