<?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 AW:Sorting of bar chart. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222518#M75191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello saffatwist,&lt;/P&gt;&lt;P&gt;DV is right. I tested it in a little other way. I took via copy/paste the value(!) directly out of the listbox. AND ... there is really a CR and/or a LF in your fieldvalue. Meanwhile I went to dinner, so I am too late with my answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Sum ( {&amp;lt; Classification={'First class honours&lt;BR /&gt;'} &amp;gt;}MeasureScore)&lt;BR /&gt;/Sum (Total &amp;lt;ShortName&amp;gt; MeasureScore)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;will work for the moment, but much better is, as DV still mentioned, cleaning the data during load.&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 19:17:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-19T19:17:46Z</dc:date>
    <item>
      <title>Sorting of bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222515#M75188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 17:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222515#M75188</guid>
      <dc:creator />
      <dc:date>2011-04-19T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Sorting of bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222516#M75189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saffatwist,&lt;/P&gt;&lt;P&gt;You are doing right! I had checked your sort expression and it is perfect. However there is seems to be line break in your Classifiction Field. If you export the Classification Field to Excel and copy the text in to your sort expression it works fine. Or else you can try the below expression because it works for me...&lt;/P&gt;&lt;P&gt;=Sum ({$&amp;lt;Classification={'First class honours&lt;BR /&gt;'}&amp;gt;} [MeasureScore])/Sum (Total &amp;lt;ShortName&amp;gt; MeasureScore)&lt;/P&gt;&lt;P&gt;So the problem is with raw data. There is a line break and your 'First class hounours' is not getting evaluated in the sort expression. Using excel is the best way to troubleshoot with string data types.&lt;/P&gt;&lt;P&gt;Also uncheck other sort types (I am assuming that you are just testing them...)&lt;/P&gt;&lt;P&gt;I hope this helps and please mark the post answered if this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 18:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222516#M75189</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-19T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Sorting of bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222517#M75190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to add one more point - Your Subject field seems to be right, unlike the Classification Field. I would strongly recommend you to clean up the data in the script. You are having this problem because of Carriage Return.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 18:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222517#M75190</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-19T18:48:25Z</dc:date>
    </item>
    <item>
      <title>AW:Sorting of bar chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222518#M75191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello saffatwist,&lt;/P&gt;&lt;P&gt;DV is right. I tested it in a little other way. I took via copy/paste the value(!) directly out of the listbox. AND ... there is really a CR and/or a LF in your fieldvalue. Meanwhile I went to dinner, so I am too late with my answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Sum ( {&amp;lt; Classification={'First class honours&lt;BR /&gt;'} &amp;gt;}MeasureScore)&lt;BR /&gt;/Sum (Total &amp;lt;ShortName&amp;gt; MeasureScore)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;will work for the moment, but much better is, as DV still mentioned, cleaning the data during load.&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 19:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-of-bar-chart/m-p/222518#M75191</guid>
      <dc:creator />
      <dc:date>2011-04-19T19:17:46Z</dc:date>
    </item>
  </channel>
</rss>

