<?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 straight table by expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477153#M482092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just double click on the expression column header of the expression and it automatically sorts the table by expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 13:01:51 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-09-03T13:01:51Z</dc:date>
    <item>
      <title>Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477144#M482083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with Names as dimensions, and then i have an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i sort the expression by another expression??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477144#M482083</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477145#M482084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am not sure i have understood right or wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U mean &lt;A _jive_internal="true" href="https://community.qlik.com/thread/76247"&gt;this&lt;/A&gt; ? if yes this thread may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/76247"&gt;Fix the sort order in a straight table&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477145#M482084</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-09-03T12:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477146#M482085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the chart properties, Sort tab, use Sort by: Expression. Keep in mind that your expression has to make sense within the context of the chart, or it may not provide the expected result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477146#M482085</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T12:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477147#M482086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i cannot select expression on my expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477147#M482086</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477148#M482087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no. I wanna sort my expression by another expression, but i cannot select expression in sort tab on the expression, only the dimension, and i dont want to sort the dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477148#M482087</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477149#M482088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to include a sample QVW - it is not clear what exactly you're doing, I think. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477149#M482088</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477150#M482089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this here is the expression i wanna sort:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat(DimItemRecommendation.RecommendedConcatItem, chr(10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to sort it by the highest value of a field called Probaility&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477150#M482089</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477151#M482090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;this here is the expression i wanna sort:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=concat(DimItemRecommendation.RecommendedConcatItem, chr(10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i want to sort it by the highest value of a field called Probaility&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477151#M482090</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477152#M482091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46140_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to sort by this: but im not allowed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477152#M482091</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477153#M482092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just double click on the expression column header of the expression and it automatically sorts the table by expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477153#M482092</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-03T13:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477154#M482093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;You cannot sort an expression by another expression. You should sort your *dimension* based on an expression. In your case, follow the instructions mentioned above, but on the Eventtype field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477154#M482093</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477155#M482094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, cause i dont want it to be sorted by my expression, and want it to be sorted on another expression, which is not included in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then i should make a new expression and then hide it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477155#M482094</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477156#M482095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the expression in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Properties -&amp;gt; Sort -&amp;gt; Select Expression and put your expression there.&amp;nbsp; If not working can you attach some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477156#M482095</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-03T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477157#M482096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats not what im looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477157#M482096</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477158#M482097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still cannot select expression on my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my sort tab i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Eventtype&lt;/P&gt;&lt;P&gt;Expression: sum(blabla)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna sort on the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477158#M482097</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477159#M482098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I once again suggest you post a sample QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorting an expression based on an expression doesn't make any sense. You can't sort an expression on its own - it has to be tied to dimensions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477159#M482098</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T13:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477160#M482099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my case it does &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot post an example sorry:/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477160#M482099</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477161#M482100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly you have 3 options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You can sort by y-value which refers to the first expression in your chart/table. But this only allows ascending/descending sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You select your dimension and then use an expression sort. This is effectively adding another expression to your chart/table. The expression does not have to be related to the dimension directly, it just has to make sense in the table/chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Add the second expression to your chart, sort on it and then hide it (I have not tested this one)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477161#M482100</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-09-03T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477162#M482101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still not following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension - Expression - SortValue&lt;/P&gt;&lt;P&gt;A - 50 - 3&lt;/P&gt;&lt;P&gt;B - 100 - 1&lt;/P&gt;&lt;P&gt;C - 200 - 2&lt;/P&gt;&lt;P&gt;D - 150 - 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would expect you are trying to get is:&lt;/P&gt;&lt;P&gt;B - 100&lt;/P&gt;&lt;P&gt;C - 200&lt;/P&gt;&lt;P&gt;A - 50&lt;/P&gt;&lt;P&gt;D - 150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expected result, if I understand your request correctly, is:&lt;/P&gt;&lt;P&gt;A - 100&lt;/P&gt;&lt;P&gt;B - 200&lt;/P&gt;&lt;P&gt;C - 50&lt;/P&gt;&lt;P&gt;D - 150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you're trying to achieve? Sort the expressions without considering the dimensions they are attached to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 14:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477162#M482101</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T14:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting straight table by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477163#M482102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 14:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-straight-table-by-expression/m-p/477163#M482102</guid>
      <dc:creator />
      <dc:date>2013-09-03T14:48:43Z</dc:date>
    </item>
  </channel>
</rss>

