<?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: Sorting Stacks in Stacked Bar Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-Stacks-in-Stacked-Bar-Chart/m-p/2092214#M89524</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/230504"&gt;@tsbrian&lt;/a&gt;&amp;nbsp; Please use the below expression to the top 5&lt;/P&gt;
&lt;P&gt;if(Aggr(rank(sum(jobcount)),Month,Jobtype)&amp;lt;=5,Jobtype)&lt;/P&gt;
&lt;P&gt;And to sort the job type:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sidhiq91_0-1689010003020.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/111927i1EC639B002BBE9B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sidhiq91_0-1689010003020.png" alt="sidhiq91_0-1689010003020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this resolves the issue, please like and accept it as a solution.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 17:27:05 GMT</pubDate>
    <dc:creator>sidhiq91</dc:creator>
    <dc:date>2023-07-10T17:27:05Z</dc:date>
    <item>
      <title>Sorting Stacks in Stacked Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-Stacks-in-Stacked-Bar-Chart/m-p/2092194#M89522</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have a stacked bar chart with 2 dimensions (YearMonth, Job Type) and 1 measure (Jobs Count). As there are many job types and I want to limit the job type by Top 5 and also i need to sort the stacks(Job Type) in descending order. I am not able to achieve this. Need help on this please.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-Stacks-in-Stacked-Bar-Chart/m-p/2092194#M89522</guid>
      <dc:creator>tsbrian</dc:creator>
      <dc:date>2023-07-10T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Stacks in Stacked Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-Stacks-in-Stacked-Bar-Chart/m-p/2092214#M89524</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/230504"&gt;@tsbrian&lt;/a&gt;&amp;nbsp; Please use the below expression to the top 5&lt;/P&gt;
&lt;P&gt;if(Aggr(rank(sum(jobcount)),Month,Jobtype)&amp;lt;=5,Jobtype)&lt;/P&gt;
&lt;P&gt;And to sort the job type:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sidhiq91_0-1689010003020.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/111927i1EC639B002BBE9B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sidhiq91_0-1689010003020.png" alt="sidhiq91_0-1689010003020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this resolves the issue, please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 17:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-Stacks-in-Stacked-Bar-Chart/m-p/2092214#M89524</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2023-07-10T17:27:05Z</dc:date>
    </item>
  </channel>
</rss>

