<?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 Expression in Pivot Chart - sorting issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271207#M101671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do that using the Y value option to ascending or descending in the sort tab of the chart properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you checked it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 11:46:53 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-10T11:46:53Z</dc:date>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271206#M101670</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;I have&amp;nbsp; created a pivot chart using 3 dimensions with several different rates calculated as expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am having is that I need to sort the pivot by one of the expressions e.g. (AR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot sort the pivot in the usual manner (using the sort tab) as this only affects the dimensions and not the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possibility to add a sort to my expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are simple expressions (e.g.)&amp;nbsp; sum(Activity) / sum (time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gregg &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271206#M101670</guid>
      <dc:creator />
      <dc:date>2012-02-10T11:32:49Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271207#M101671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do that using the Y value option to ascending or descending in the sort tab of the chart properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you checked it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271207#M101671</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-10T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271208#M101672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorting will be only for first expression wise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271208#M101672</guid>
      <dc:creator />
      <dc:date>2012-02-10T11:52:25Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271209#M101673</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;If I use the sort tab of the chart properties it only affects the dimensions in my chart - not the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several expressions in my chart and I need to sort the chart by one of the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271209#M101673</guid>
      <dc:creator />
      <dc:date>2012-02-10T11:53:19Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271210#M101674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swatantra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not sure what you mean, can you eplain further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few expressions but need to sort using one expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271210#M101674</guid>
      <dc:creator />
      <dc:date>2012-02-10T11:55:16Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271211#M101675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do this type of sort for straight table but its not possible in pivot because its drilling through multiple dimension.If possible make your chart to straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271211#M101675</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-10T11:58:56Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271212#M101676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Celambarasan Adhimulam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping there would be a way to do it in the pivot chart but from what I have read I think the solution as you said is to move to a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into this and try to keep the same formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="background-color: #fafafa; font-size: 1.3333em; padding-top: 3px; padding-bottom: 3px; color: #252525; overflow-x: hidden; overflow-y: hidden; font-family: Arial;"&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 12:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271212#M101676</guid>
      <dc:creator />
      <dc:date>2012-02-10T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271213#M101677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you think there is a way I could use a function for the expression to allow me to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not too familiar with expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea being to use a rank function and show the highest value first etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 14:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271213#M101677</guid>
      <dc:creator />
      <dc:date>2012-02-10T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271214#M101678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then use sort by expression as &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Rank(aggr(Expr to be sort,all dimensions))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example: Rank(Aggr(Sum(Sales),Year,Quarter,Month)) here Sum(Sales) is the expression to be sorted and year,Quarter,month are the dimensions used in pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 14:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271214#M101678</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-10T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271215#M101679</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;My issue was that there in some circumstances was a total by the same person for 2 customers which gave them a TOTAL rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this total rate was across every customer so when trying to sort the column it would be inconsistent as it was not per&amp;nbsp; individual customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271215#M101679</guid>
      <dc:creator />
      <dc:date>2012-02-17T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Pivot Chart - sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271216#M101680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a somewhat similar issue.. I have a pivot table detailing sales data (company, rep, close date, product, etc.) The last dimension is the Year-Month in which the sale closed, and I pulled that up as a horizontal dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It used to work fine, but now the YearMonth sort is all over the place (instead of ascending, which is what we want). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I ensure the horizontal dimension is sorted properly? It is a text field "2012-Jun", "2013-Feb", etc. but I created a unique number field for each month (from (Year(CloseDate)-2010)*12+Month(CloseDate) called OMN. When I tried to sort the last dimension using expression = OMN, it didn't make a difference - the months were all over the place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 16:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Chart-sorting-issue/m-p/271216#M101680</guid>
      <dc:creator />
      <dc:date>2015-01-27T16:20:16Z</dc:date>
    </item>
  </channel>
</rss>

