<?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: Sort order, cyclic group not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850409#M298289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sort now seems to work ok if I force it via a 'dual'. Thanks Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only odd thing left now is that I have some functionality on the text format of the second dimension that says 'if the value is &amp;lt;x then make it italic'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine until I put the date field as a column heading. ie. it works fine if data is displayed vertically but not horizontally! Seems a bit like a bug to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 13:50:49 GMT</pubDate>
    <dc:creator>juleshartley</dc:creator>
    <dc:date>2015-05-13T13:50:49Z</dc:date>
    <item>
      <title>Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850404#M298284</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 a pivot table with 2 cyclic groups as the first 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The group 'ML Hierarchy' has a sort expression set &lt;STRONG&gt;in the group&lt;/STRONG&gt; that = 'ML Hierarchy Sort'. I have shown the values in that field below for clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the pivot table seems to be ignoring this sort order!&lt;/P&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sort.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86409_Sort.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pivot.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86408_Pivot.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 09:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850404#M298284</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2015-05-13T09:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850405#M298285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850405#M298285</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2015-05-13T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850406#M298286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason is that you only used a field without an aggregation which led to NULL and therefore qv ignored these sorting. Try instead avg([ML Hierarchy Sort]) as expression. Another possibility could be to include the sorting within the field(s) by using dual-fields: &lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850406#M298286</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-13T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850407#M298287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah, I tried using max() and avg() but made no difference. Turning it into a dual did work but causes other problems as there are sorts with the same numerical value, which seems to confuse Qlik. I'll have another go at this approach...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 11:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850407#M298287</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2015-05-13T11:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850408#M298288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorting from pivots are quite difficult and often only the dual-approach worked. Instead of the aggregation expression you could try a lookup expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match([ML Hierachy], 'INB', 'Force ...', ...), 1, 2, 3, ....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 12:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850408#M298288</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-13T12:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850409#M298289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sort now seems to work ok if I force it via a 'dual'. Thanks Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only odd thing left now is that I have some functionality on the text format of the second dimension that says 'if the value is &amp;lt;x then make it italic'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine until I put the date field as a column heading. ie. it works fine if data is displayed vertically but not horizontally! Seems a bit like a bug to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850409#M298289</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2015-05-13T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850410#M298290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: it also works if I switch the date dimension to a normal field, rather than cyclic group...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850410#M298290</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2015-05-13T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850411#M298291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u check the check box, SortBy---&amp;gt; State--ascending and see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850411#M298291</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-13T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850412#M298292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload your QVW to take a look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850412#M298292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order, cyclic group not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850413#M298293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One problem could be that a ML Hierarchy Sort value is not unique, but can occur for several values of the other dimensions. The sort order defined in the hierarchy is not defined in the context of the pivot table, but only outside chart contexts. To be honest pivot tables are bothersome beast with regards to sorting. Can you post a qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 14:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-order-cyclic-group-not-working/m-p/850413#M298293</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-13T14:16:04Z</dc:date>
    </item>
  </channel>
</rss>

