<?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 a Legend by Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2047256#M86133</link>
    <description>&lt;P&gt;Yes, I have a table&amp;nbsp; with two collumns. One column has the age buckets and the other has its required order (1, 2, 3 and so on called "Age sequence"). I have sorted the age buckets according to the Age sequence which has ordered the stacks of the bar chart correctly however the legend is still being sorted incorrectly.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 09:54:39 GMT</pubDate>
    <dc:creator>YH_IKONS</dc:creator>
    <dc:date>2023-03-09T09:54:39Z</dc:date>
    <item>
      <title>Sorting a Legend by Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2046669#M86092</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I have a table which correlates the table of ages in its correct order. I have sorted the graph by expression which sorts out the data values correctly as shown below ('Age &amp;gt; 182' is shown as the bottom stack in the bar graph) however, the legend shows this value as second. Is there a way to sort out the legend?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YH_IKONS_0-1678269104077.png" style="width: 604px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102257iCF9128CF22D405CD/image-dimensions/604x367?v=v2" width="604" height="367" role="button" title="YH_IKONS_0-1678269104077.png" alt="YH_IKONS_0-1678269104077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;BR /&gt;Regards &lt;BR /&gt;Daanyaal&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 09:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2046669#M86092</guid>
      <dc:creator>YH_IKONS</dc:creator>
      <dc:date>2023-03-08T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a Legend by Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2046984#M86116</link>
      <description>&lt;P&gt;Hi Daanyaal,&lt;/P&gt;
&lt;P&gt;Have you tried using the dual() function to assign a numeric sort value to each age bucket alongside the string of text?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/FormattingFunctions/Dual.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/FormattingFunctions/Dual.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2046984#M86116</guid>
      <dc:creator>BenjaminT</dc:creator>
      <dc:date>2023-03-08T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a Legend by Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2047256#M86133</link>
      <description>&lt;P&gt;Yes, I have a table&amp;nbsp; with two collumns. One column has the age buckets and the other has its required order (1, 2, 3 and so on called "Age sequence"). I have sorted the age buckets according to the Age sequence which has ordered the stacks of the bar chart correctly however the legend is still being sorted incorrectly.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 09:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-Legend-by-Expression/m-p/2047256#M86133</guid>
      <dc:creator>YH_IKONS</dc:creator>
      <dc:date>2023-03-09T09:54:39Z</dc:date>
    </item>
  </channel>
</rss>

