<?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 in cyclical group - unsolved in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253688#M867365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas, I tried this but still didn't work. It sorts from Jan Oct Nov Sep, etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 12:57:11 GMT</pubDate>
    <dc:creator>infock12</dc:creator>
    <dc:date>2016-12-13T12:57:11Z</dc:date>
    <item>
      <title>Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253680#M867357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to make the cyclic group sorting work but not finding any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 dimensions in a group. MonthName, Specialty and Consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went into Chart Properties&amp;gt;Sort, unticked everything and choose 'Override Group Sort Order'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went into Document Settings &amp;gt; Document Properties &amp;gt; Groups &amp;gt; Edit, promoted the MonthName to first in the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went into Sort Orders, chose MonthName and said Match(MonthName, 'Apr-15', 'May-15',etc.)&lt;/P&gt;&lt;P&gt;For Specialty, I chose Expression descending and copied the expression that I used in the chart (This is because I can't see a Y-value descending here).&lt;/P&gt;&lt;P&gt;For consultant, I followed the same above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The outcome I am getting for Months is it starts with Apr-16 (instead of Apr-15) and goes up to Nov-16, and goes to Jan-16 (skipping Dec-15) and then Mar-16 (skipping Feb-16). The data does exists for those months and it is jumbled, so not sure why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;karthik &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253680#M867357</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253681#M867358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you created the Monthname field using the monthname() function, the field should be sorted numerically as it is a dual field.&lt;/P&gt;&lt;P&gt;Your expression is sorting the field as text hence April is shown first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong when the data is sorted using the Default Group Sort Order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this explanation of Dual()&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253681#M867358</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-12-13T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253682#M867359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;arthik,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post an example.qvw with scrambled data to help you ?&lt;/P&gt;&lt;P&gt;You may want to create your [MonthName] field a dual value (text and numeric) and then sort by numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253682#M867359</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2016-12-13T12:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253683#M867360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to uncheck '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Override Group Sort Order' because you want your chart to be sorted by whatever you have set within your cycle group for sort order. Right now you are telling your chart to over-ride what is available for sorting within the cycle group properties and use one of the options available within the chart&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253683#M867360</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-13T12:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253684#M867361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I am using the below for month name&lt;/P&gt;&lt;P&gt;Date(MakeDate(Year(Attendance_Date), Month(Attendance_Date)) ,'MMM-YY') as MonthName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted the other dimensions to be sorted by Y-value descending (expression descending).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried the Default option as per your suggesion, I am getting other dimensions sorted by y-value descending but I am getting the monthname starting from Nov-16.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253684#M867361</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T12:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253685#M867362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add the month function so : &lt;/P&gt;&lt;P&gt;month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MakeDate(Year(Attendance_Date), Month(Attendance_Date))) as MonthName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253685#M867362</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2016-12-13T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253686#M867363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the monthname function and the data will be created as a dual field and will sort correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monthname(Attendance_Date) as MonthName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253686#M867363</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-12-13T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253687#M867364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the sample file. Please let me know.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253687#M867364</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T12:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253688#M867365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas, I tried this but still didn't work. It sorts from Jan Oct Nov Sep, etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253688#M867365</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253689#M867366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried this Colin, but it gives Jan 16, Sept 15, Nov 2015, etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253689#M867366</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T12:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253690#M867367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Sunny. When I try the 'Override Group Sort Order', it sorts the months correctly,but it is not allowing the other dimensions to sort by y-value (expression) descending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253690#M867367</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253691#M867368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need edit the group =&amp;gt; sort order :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month : numeric value ascending&lt;/P&gt;&lt;P&gt;Others : expressions ==&amp;gt; put the same measure as the one in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the chart, un select every check box in the sort otab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This workaround should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253691#M867368</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2016-12-13T13:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in cyclical group - unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253692#M867369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly Thomas!! Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-cyclical-group-unsolved/m-p/1253692#M867369</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-12-13T13:52:21Z</dc:date>
    </item>
  </channel>
</rss>

