<?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 Sort expression in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-expression-in-straight-table/m-p/117226#M18056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with several dimensions, and 3 expressions.&lt;/P&gt;&lt;P&gt;I want the straight table be sorted according to one of the expressions, in descending order.&lt;/P&gt;&lt;P&gt;However, my expression is not sortable in the sort tab in properties because expression is not checkable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that the tips is to sort the dimension with the expression.&lt;/P&gt;&lt;P&gt;However, when I do this, nothing changes in my straight table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression I want to sort the straight table with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=num(Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_DIFF), '# ###,', ',', ' ')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;amp; ' ('&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;amp; round(100 - (Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_DEST) * 100)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_SRC)), 0.001)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;amp; '%)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2018 20:58:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-27T20:58:46Z</dc:date>
    <item>
      <title>Sort expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-expression-in-straight-table/m-p/117226#M18056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with several dimensions, and 3 expressions.&lt;/P&gt;&lt;P&gt;I want the straight table be sorted according to one of the expressions, in descending order.&lt;/P&gt;&lt;P&gt;However, my expression is not sortable in the sort tab in properties because expression is not checkable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that the tips is to sort the dimension with the expression.&lt;/P&gt;&lt;P&gt;However, when I do this, nothing changes in my straight table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression I want to sort the straight table with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=num(Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_DIFF), '# ###,', ',', ' ')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;amp; ' ('&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;amp; round(100 - (Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_DEST) * 100)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(Sum({$&amp;lt;HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}&amp;gt;}HISTO_CTRL_NB_ELEM_SRC)), 0.001)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;amp; '%)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-expression-in-straight-table/m-p/117226#M18056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-27T20:58:46Z</dc:date>
    </item>
  </channel>
</rss>

