<?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: Date Sort on Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677356#M245742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use this expression in your Sorting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetCurrentField(DateDrill)='YEAR_LONG_TEXT',Num(YEAR_LONG_TEXT),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='MONTH_LONG_NAME',&lt;/P&gt;&lt;P&gt;dual(MONTH_LONG_NAME,Match(MONTH_LONG_NAME,'January','February','March','April','May','June','July','August','September','October','November','December')),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='WEEK_NUMBER_IN_MONTH_TEXT2',SubField(WEEK_NUMBER_IN_MONTH_TEXT2,' ',2),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='THE_DATE',purgechar(THE_DATE,'-')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly, replace your DrillDown (DateDrill) field (MONTH_SHORT_NAME &amp;amp; '-' &amp;amp; WEEK_NUMBER_IN_MONTH_TEXT2)&lt;/P&gt;&lt;P&gt;with field WEEK_NUMBER_IN_MONTH_TEXT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are drilling Week Numbers on the basis of Months of Months only. Than what's the need of Mar Week 4. Use only Week 4 in place of it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Make these Settings:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="67503" alt="Sorting.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67503_Sorting.png" style="width: 620px; height: 548px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, See the Attachment.&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;Aviral Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 03:55:53 GMT</pubDate>
    <dc:creator>aveeeeeee7en</dc:creator>
    <dc:date>2014-09-24T03:55:53Z</dc:date>
    <item>
      <title>Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677355#M245741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a chart that has Date Drill object on the X-Axis. &lt;/P&gt;&lt;P&gt;I have sorted out the values by overriding that on the group and used the Date table ID field in expression to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this seems not working. Can someone please let me know what is going wrong or how to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the QVW that I have created and has issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: When I start drill down, the Years, Month, Month-Week and the date should be orders as per the calender dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 02:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677355#M245741</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2014-09-24T02:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677356#M245742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use this expression in your Sorting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetCurrentField(DateDrill)='YEAR_LONG_TEXT',Num(YEAR_LONG_TEXT),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='MONTH_LONG_NAME',&lt;/P&gt;&lt;P&gt;dual(MONTH_LONG_NAME,Match(MONTH_LONG_NAME,'January','February','March','April','May','June','July','August','September','October','November','December')),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='WEEK_NUMBER_IN_MONTH_TEXT2',SubField(WEEK_NUMBER_IN_MONTH_TEXT2,' ',2),&lt;/P&gt;&lt;P&gt;if(GetCurrentField(DateDrill)='THE_DATE',purgechar(THE_DATE,'-')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly, replace your DrillDown (DateDrill) field (MONTH_SHORT_NAME &amp;amp; '-' &amp;amp; WEEK_NUMBER_IN_MONTH_TEXT2)&lt;/P&gt;&lt;P&gt;with field WEEK_NUMBER_IN_MONTH_TEXT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are drilling Week Numbers on the basis of Months of Months only. Than what's the need of Mar Week 4. Use only Week 4 in place of it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Make these Settings:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="67503" alt="Sorting.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67503_Sorting.png" style="width: 620px; height: 548px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, See the Attachment.&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;Aviral Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 03:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677356#M245742</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-09-24T03:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677357#M245743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67508_test.png" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;DIM_DATE.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;ORDER BY SK_DATE_ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now in drilldown group give Sort order Load Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 04:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677357#M245743</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-24T04:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677358#M245744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your new file &lt;/P&gt;&lt;P&gt;Is This?&lt;/P&gt;&lt;P&gt;I changed Group type for cyclic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 04:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677358#M245744</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-24T04:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677359#M245745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. Your tips helped me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got this worked after sorting the month column using the Month number in year expression.&lt;/P&gt;&lt;P&gt;The same with the week number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is easy when we have the month number and week number in year columns. I used them in expression to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677359#M245745</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2014-09-24T23:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sort on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677360#M245746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your attached QVW helped me in fixing my issue. As you did, i have sorted the columns using the month number and the week number columns in the dim date table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still used the Drill Down object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks heaps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Sort-on-Chart/m-p/677360#M245746</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2014-09-24T23:19:20Z</dc:date>
    </item>
  </channel>
</rss>

