<?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 multi dimensional Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661805#M1072266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this for top 10:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(rank(sum(Data))&amp;lt;=10, User),User)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 06:50:55 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2014-08-12T06:50:55Z</dc:date>
    <item>
      <title>Sorting multi dimensional Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661804#M1072265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Please take a look at the attached sample application. What I want to accomplish is to chart the top 10 zip codes based on the expression value sum(population) for year 2012. So, I tried the following sort expression in the Sort tab as you can see in the app:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 9px; font-family: 'Courier New'; color: #92130a;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;=&lt;SPAN style="color: #103ffb;"&gt;rank&lt;/SPAN&gt;(&lt;SPAN style="color: #103ffb;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #103ffb;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #92130a;"&gt;year&lt;/SPAN&gt;={2012}&amp;gt;}&lt;SPAN style="color: #92130a;"&gt;population&lt;/SPAN&gt;),&lt;SPAN style="color: #92130a;"&gt;year&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;But it's not working. Can someone point me to the right direction.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 06:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661804#M1072265</guid>
      <dc:creator />
      <dc:date>2014-08-12T06:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting multi dimensional Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661805#M1072266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this for top 10:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(rank(sum(Data))&amp;lt;=10, User),User)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 06:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661805#M1072266</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-12T06:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting multi dimensional Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661806#M1072267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. But, I am not sure if I follow your suggestion. Are you saying in my case to use this expression in the Sort tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(rank(sum(population&amp;lt;=10,year),year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart displays the expression four times for each zip code in the x-axis (one for each year). I need to sort the x-axis (zip codes) based on the last year (2012) expression values.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661806#M1072267</guid>
      <dc:creator />
      <dc:date>2014-08-12T07:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting multi dimensional Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661807#M1072268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use this concept as Calculated dimension and than expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-multi-dimensional-Bar-Chart/m-p/661807#M1072268</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-12T07:13:34Z</dc:date>
    </item>
  </channel>
</rss>

