<?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: How to sort a measure by dimension within a table/bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-sort-a-measure-by-dimension-within-a-table-bar-chart/m-p/2490406#M101927</link>
    <description>&lt;P&gt;found a way, is to sort by expression, descending,&amp;nbsp;(4-type)*999999999+sum(value)&lt;/P&gt;
&lt;P&gt;and the chart will look like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdyTan_1-1730529715245.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173722i107A6F46622312C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdyTan_1-1730529715245.png" alt="EdyTan_1-1730529715245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2024 06:42:14 GMT</pubDate>
    <dc:creator>EdyTan</dc:creator>
    <dc:date>2024-11-02T06:42:14Z</dc:date>
    <item>
      <title>How to sort a measure by dimension within a table/bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-a-measure-by-dimension-within-a-table-bar-chart/m-p/2490403#M101926</link>
      <description>&lt;P&gt;Assuming I have the following data:&lt;/P&gt;
&lt;TABLE cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;type&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;row&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;value&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;A&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;10&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;B&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;20&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;C&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;30&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;D&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;40&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;2&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;10&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;50&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;2&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;11&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;60&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;3&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;Total&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;100&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible create a table/bar chart which sort by type followed by sum(value).&amp;nbsp; The result is like this:&lt;/P&gt;
&lt;TABLE cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;row&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;sum(value)&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;D&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;40&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;C&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;30&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;B&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;20&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;A&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;10&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;11&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;60&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;10&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;50&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;Total&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD valign="bottom"&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2" color="#000000"&gt;100&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 06:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-a-measure-by-dimension-within-a-table-bar-chart/m-p/2490403#M101926</guid>
      <dc:creator>EdyTan</dc:creator>
      <dc:date>2024-11-02T06:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort a measure by dimension within a table/bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-a-measure-by-dimension-within-a-table-bar-chart/m-p/2490406#M101927</link>
      <description>&lt;P&gt;found a way, is to sort by expression, descending,&amp;nbsp;(4-type)*999999999+sum(value)&lt;/P&gt;
&lt;P&gt;and the chart will look like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdyTan_1-1730529715245.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173722i107A6F46622312C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdyTan_1-1730529715245.png" alt="EdyTan_1-1730529715245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 06:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-a-measure-by-dimension-within-a-table-bar-chart/m-p/2490406#M101927</guid>
      <dc:creator>EdyTan</dc:creator>
      <dc:date>2024-11-02T06:42:14Z</dc:date>
    </item>
  </channel>
</rss>

