<?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: Re: Problems with sorting on drill down dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725288#M10530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there - i think you can accomplish this using some data modelling techniques. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just posted the technique in this other thread... respond in your current thread if you can't get it to work. I tried many ways and ended up with this . Also attached is a QVF sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/622735"&gt;Re: Sort on a drill down dimension - qlik sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 15:39:05 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-30T15:39:05Z</dc:date>
    <item>
      <title>Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725283#M10525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a line graph on a drill down dimension (month - day). The data shows up fine at first (when showing months) but when I drill down into a month (select a month and click confirm) the dates are not sorted properly but appears in what seem as random order. I have tried different sorting options in the chart configuration but without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before selection:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="months.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67940_months.PNG.png" style="width: 620px; height: 402px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After selecting a month:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="days.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67941_days.PNG.png" style="width: 620px; height: 413px;" /&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;/Viktor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 08:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725283#M10525</guid>
      <dc:creator />
      <dc:date>2014-09-30T08:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725284#M10526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viktor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a known issue in our R&amp;amp;D department and people are working on that. Unfortunately, so far we only support sorting on the 'top layer' of a drill-down dimension. Let me think about it and see if we have any walk around of that for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725284#M10526</guid>
      <dc:creator />
      <dc:date>2014-09-30T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725285#M10527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viktor, have you tried the 'Sort command...' button in the edit group window?:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/68004_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725285#M10527</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-30T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725286#M10528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bohua,&lt;/P&gt;&lt;P&gt;Thanks for letting me know. I'll have to think about how to visualize longer time periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruben,&lt;/P&gt;&lt;P&gt;I'm using qlik sense so I don't have that option (I think).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725286#M10528</guid>
      <dc:creator />
      <dc:date>2014-09-30T15:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725287#M10529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ops, sorry, i din't see it was for Sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725287#M10529</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-30T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725288#M10530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there - i think you can accomplish this using some data modelling techniques. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just posted the technique in this other thread... respond in your current thread if you can't get it to work. I tried many ways and ended up with this . Also attached is a QVF sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/622735"&gt;Re: Sort on a drill down dimension - qlik sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725288#M10530</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-30T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725289#M10531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jonathan. I will have a look at your solution and return to this thread with my findings &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 12:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725289#M10531</guid>
      <dc:creator />
      <dc:date>2014-10-01T12:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725290#M10532</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 the same problem, but im fetching my info from SQL server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me fill in the formula? Can't seem to get it working in any way..&lt;/P&gt;&lt;P&gt;_____________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'XX.XX.XX.X';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "No_" as Projekti,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creation Date" as PVM,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day("Creation Date")*-1 as OrderDateFact,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year("Creation Date")*-1 as OrderYearFact,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month("Creation Date")*-1 as OrderMonthFact;&lt;/P&gt;&lt;P&gt;SQL SELECT "No_",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creation Date"&lt;/P&gt;&lt;P&gt;FROM "XXXXXXXXXXXX";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Years:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; OrderYearFact,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fabs(OrderYearFact) as OrderYear&lt;/P&gt;&lt;P&gt;resident OrdersHeader&lt;/P&gt;&lt;P&gt;order by OrderYearFact desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Months:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; OrderMonthFact,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(monthName(date(fabs(OrderDateFact),3)),3) as OrderMonth&lt;/P&gt;&lt;P&gt;resident OrdersHeader&lt;/P&gt;&lt;P&gt;order by OrderMonthFact desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; OrderDateFact,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(fabs(OrderDateFact)) as OrderDate&lt;/P&gt;&lt;P&gt;resident OrdersHeader&lt;/P&gt;&lt;P&gt;order by OrderDateFact desc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725290#M10532</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725291#M10533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you only need to have PVM field in the OrdersHeader table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Years:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; PVM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(PVM) as OrderYear&lt;/P&gt;&lt;P&gt;resident OrdersHeader&lt;/P&gt;&lt;P&gt;order by PVM desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Months:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; PVM,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(PVM) as OrderMonth&lt;/P&gt;&lt;P&gt;resident OrdersHeader&lt;/P&gt;&lt;P&gt;order by OrderMonthFact desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725291#M10533</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2014-10-28T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725292#M10534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&amp;nbsp; the Years , Months, and Dates tables are loaded from the data that comes back from the first table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my script i n&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;amed the first table OrdersHeader , but i don't see that in your example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Load Editor, please add the following line in front of the first load as follows to give the table the correct name. That way when the other tables load from a table that is already 'resident ' ,&amp;nbsp; (ie:&amp;nbsp; resident OrderHeader) it should work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in you chart, don't use the 'fact' fields, you should see OrderDate,OrderYear, and OrderMonth available to build the drill down. Recreate the dimension from scratch as well as the chart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know what happens ! &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;&lt;/P&gt;&lt;P&gt;OrdersHeader: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD "No_" as Projekti,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creation Date" as PVM,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day("Creation Date")*-1 as OrderDateFact,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year("Creation Date")*-1 as OrderYearFact,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month("Creation Date")*-1 as OrderMonthFact;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT "No_",&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creation Date"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "XXXXXXXXXXXX";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725292#M10534</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-28T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725293#M10535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I used another tip of yours. (&lt;A href="http://qliktech-public.hosted.jivesoftware.com/message/639153#639153" title="http://qliktech-public.hosted.jivesoftware.com/message/639153#639153"&gt;Qlik Sense Desktop - how can I filer by date? | Qlik Community&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Is there a function to filter out only one year in the data load editor, like if you have dates from 2011 to 2014 and want only to get the 2014 dates and related content. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD "No_" as Projekti,&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year2014("Creation Date") as Year-2014&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or something similar..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 06:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725293#M10535</guid>
      <dc:creator />
      <dc:date>2014-10-31T06:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with sorting on drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725294#M10536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi max - for sure - can you put this in a new thread ? it makes it easy for other users to find solutions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 17:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-sorting-on-drill-down-dimension/m-p/725294#M10536</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-31T17:42:16Z</dc:date>
    </item>
  </channel>
</rss>

