<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055602#M353913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the quarters and month-year values as duals, for example, in your calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q' &amp;amp; Ceil(Month(CalDate) / 4), &lt;SPAN style="font-size: 13.3333px;"&gt;Ceil(Month(CalDate) / 4)) As Quarter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(CalDate), 'MMM-yyyy') As MonthYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;Now you can sort these fields numerically to get the correct order. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 04:51:01 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2016-03-01T04:51:01Z</dc:date>
    <item>
      <title>Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055601#M353912</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 a cyclic group dimension for Year, Quarter &amp;amp; Month Year in a bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show the dimensions in the calendar order such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014,2015,2016 for year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1, Q2, Q3, Q4 for Quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan-2015, Feb-2015....Dec-2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sort all these dimensions into calendar order. I have tried to sort based on the expression of Min(Date), but it doesn't work for quarters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please advise me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Karthikeyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 04:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055601#M353912</guid>
      <dc:creator>karthikeyan1504</dc:creator>
      <dc:date>2016-03-01T04:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055602#M353913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the quarters and month-year values as duals, for example, in your calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q' &amp;amp; Ceil(Month(CalDate) / 4), &lt;SPAN style="font-size: 13.3333px;"&gt;Ceil(Month(CalDate) / 4)) As Quarter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(CalDate), 'MMM-yyyy') As MonthYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;Now you can sort these fields numerically to get the correct order. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 04:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055602#M353913</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-01T04:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055603#M353914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need your month-year to span multiple years, you could add a month-sequence field, or define the month-year o behave like a sequence number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Date(CalDate, 'MMM-yyyy'), Year(CalDate)*12 + Month(CalDate)) As MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will ensure that Jan-2016 follows after Dec-2015.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 04:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055603#M353914</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-01T04:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055604#M353915</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;Can you attach the script that you are using to generate this fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Year and Month select Number in Sort tab &amp;amp; for Quarter select Text in Sort tab.&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>Tue, 01 Mar 2016 05:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055604#M353915</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-01T05:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055605#M353916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!!! It worked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 05:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1055605#M353916</guid>
      <dc:creator>karthikeyan1504</dc:creator>
      <dc:date>2016-03-01T05:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1813925#M1212815</link>
      <description>&lt;P&gt;Awesome.. Thanks a ton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 13:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-issue/m-p/1813925#M1212815</guid>
      <dc:creator>mahendrankr</dc:creator>
      <dc:date>2021-06-09T13:15:30Z</dc:date>
    </item>
  </channel>
</rss>

