<?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: Use sort expression on drilldown in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648907#M538841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dialog where you set up the group (Dimensions tab --&amp;gt; Edit groups... --&amp;gt; select the group and press Edit) you can set how every field has to sort (Sort command... button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need a different sort for this graph you can use getcurrentfield funtion to catch the current field in the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 12:22:34 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-19T12:22:34Z</dc:date>
    <item>
      <title>Use sort expression on drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648906#M538840</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;Can somebody help me with this? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a drilldown chart called "top 20 customers" with on the X axis year and next customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the beginnen when the years are shown, i want 2013 2014 in that order so from the sort tab i select "Numeric value - Ascending".&lt;/P&gt;&lt;P&gt;But when i click on a year, i want the chart to be sorted by the value(numeric totals) on the data points, and NOT by customer name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in that way, the total values are shown from highest to lowest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that on the sort tab, i need to override the group sort order and do an expression. But can somebody help me out with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648906#M538840</guid>
      <dc:creator />
      <dc:date>2014-09-19T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use sort expression on drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648907#M538841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dialog where you set up the group (Dimensions tab --&amp;gt; Edit groups... --&amp;gt; select the group and press Edit) you can set how every field has to sort (Sort command... button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need a different sort for this graph you can use getcurrentfield funtion to catch the current field in the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648907#M538841</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-19T12:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use sort expression on drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648908#M538842</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;Thanks for the reaction but i do not think that this is what i need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When year is shown, i want to sort by X year Ascending, but when drilling down to X customer, i want to sort by Y-value eg the totals per customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what i need to do in the sort tab expression is if(getcurrentfield(drillDownYearCustomer='Year', *sort by year ascending*,*sort by Y-value descending*) But i do not know how to code the parts between the **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 13:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648908#M538842</guid>
      <dc:creator />
      <dc:date>2014-09-19T13:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use sort expression on drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648909#M538843</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; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write condition on sort tab&amp;nbsp; with Match function (=match(top20customers=2013,2014,so and so)) in expression,,uncheck the all box except expression&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;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648909#M538843</guid>
      <dc:creator />
      <dc:date>2014-09-19T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use sort expression on drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648910#M538844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok i got it now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to solve the problem i needed to check "expression" under the sort tab and enter&lt;/P&gt;&lt;P&gt;if(getcurrentfield(drillDownYearCustomer)='year', 'year', sum(amount)) with descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next i checked "Numeric value" with ascending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meaning years would be ascending and total amounts would be descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solved &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-sort-expression-on-drilldown/m-p/648910#M538844</guid>
      <dc:creator />
      <dc:date>2014-09-19T14:32:37Z</dc:date>
    </item>
  </channel>
</rss>

