<?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 Sorting Problem (Bar Chart) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306594#M113230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that there is not just one Num.Date value for each week so the Sort expression will return multiple values and that is, essentially, null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to return just one of the values so use Max or Min:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; max(Num.Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 15:37:15 GMT</pubDate>
    <dc:creator>stephencredmond</dc:creator>
    <dc:date>2012-01-25T15:37:15Z</dc:date>
    <item>
      <title>Sorting Problem (Bar Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306592#M113228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #f8f4e6; font-size: 12px; margin-bottom: 10px; color: #636363; font-family: Arial;"&gt;Hi,&lt;/P&gt;&lt;P style="background-color: #f8f4e6; font-size: 12px; margin-bottom: 10px; color: #636363; font-family: Arial;"&gt;I have added a test application in which you see two charts (bar/straight table) sorted by a numeric date for that the weeks are in ascending order. the sorting works in in table, but in the bar chart (sort by expression)&amp;nbsp; it doesn't work. I don't know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #f8f4e6; font-size: 12px; margin-bottom: 10px; color: #636363; font-family: Arial;"&gt;thanks for answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306592#M113228</guid>
      <dc:creator>markmm</dc:creator>
      <dc:date>2012-01-25T15:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Problem (Bar Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306593#M113229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sorting by numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306593#M113229</guid>
      <dc:creator />
      <dc:date>2012-01-25T15:35:14Z</dc:date>
    </item>
    <item>
      <title>Sorting Problem (Bar Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306594#M113230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that there is not just one Num.Date value for each week so the Sort expression will return multiple values and that is, essentially, null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to return just one of the values so use Max or Min:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; max(Num.Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306594#M113230</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-25T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Sorting Problem (Bar Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306595#M113231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should mark the response as "Correct Answer".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Problem-Bar-Chart/m-p/306595#M113231</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-25T15:41:56Z</dc:date>
    </item>
  </channel>
</rss>

