<?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 by Expression not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609866#M45889</link>
    <description>&lt;P&gt;&lt;SPAN&gt;=Match(only({1} [Item 3: Length of Service]),'More than 5 years','3-5 years','1-2 years','Less than 1 year')&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 14:30:08 GMT</pubDate>
    <dc:creator>Claudiu_Anghelescu</dc:creator>
    <dc:date>2019-08-06T14:30:08Z</dc:date>
    <item>
      <title>Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609676#M45880</link>
      <description>&lt;P&gt;Good morning everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use the Match function to custom sort text values in a certain field for my pie charts, but it doesn't work. Here is my expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Match([Item 3: Length of Service],'More than 5 years','3-5 years','1-2 years','Less than 1 year')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=w8kRtE--GSU&amp;amp;feature=youtu.be" target="_self"&gt;Here is a quick video&lt;/A&gt; explaining my issue. Sorry for the poor sound quality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609676#M45880</guid>
      <dc:creator>imsohotness</dc:creator>
      <dc:date>2019-08-06T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609699#M45881</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Where do you want to sort? In a stacked bar?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 09:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609699#M45881</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-08-06T09:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609710#M45882</link>
      <description>Trying to do a Pie chart. I want the values to show up in the correct order in the legend.</description>
      <pubDate>Tue, 06 Aug 2019 10:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609710#M45882</guid>
      <dc:creator>imsohotness</dc:creator>
      <dc:date>2019-08-06T10:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609743#M45883</link>
      <description>&lt;P&gt;When i create a sample with your formula, i have a correct order. In lengend settings, have you tried "reverse order"?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Legend.png" style="width: 496px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16596i5E8AE7B9192D7C6C/image-dimensions/496x306?v=v2" width="496" height="306" role="button" title="Legend.png" alt="Legend.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 11:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609743#M45883</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-08-06T11:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609808#M45884</link>
      <description>&lt;P&gt;I have tried to reverse the sort order, but to no avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=w8kRtE--GSU&amp;amp;feature=youtu.be" target="_self"&gt;Here is a quick video&lt;/A&gt; explaining my issue. Sorry for the poor sound quality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like it should be so straightforward but it's not and its driving me crazy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609808#M45884</guid>
      <dc:creator>imsohotness</dc:creator>
      <dc:date>2019-08-06T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609820#M45885</link>
      <description>&lt;P&gt;I think you might be in the wrong forum, looks like you're asking about Qlik Sense, not QlikView...&lt;/P&gt;&lt;P&gt;When dealing with sorting issues, I've always had the most luck by setting up the fields in question as Dual() types in my script (you can also create a duplicate of the field in your script as a dual and keep the original), with the numeric aspect then used to control the sort order. If you only have four values, which seems to be the case, you should be able to do that without too much trouble.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609820#M45885</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2019-08-06T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609822#M45886</link>
      <description>&lt;P&gt;Thanks for your video. But you're on Sense not VIew. But, both should have the same behaviour.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609822#M45886</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-08-06T13:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609824#M45887</link>
      <description>&lt;P&gt;Thanks for your suggestion. I will try this, but I am not sure how to go about it. Is it something that can be done from the sheet view or do I need to unlock the data load editor?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609824#M45887</guid>
      <dc:creator>imsohotness</dc:creator>
      <dc:date>2019-08-06T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609831#M45888</link>
      <description>&lt;P&gt;In your load statement, try with :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD dual (Length, Num_lengt) as Length_of_service
INLINE [
Length, Num_lengt
More than 5 years,4
3-5 years,3
1-2 years,2
Less than 1 year,1
];&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Aug 2019 13:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609831#M45888</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2019-08-06T13:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609866#M45889</link>
      <description>&lt;P&gt;&lt;SPAN&gt;=Match(only({1} [Item 3: Length of Service]),'More than 5 years','3-5 years','1-2 years','Less than 1 year')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609866#M45889</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-08-06T14:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609883#M45890</link>
      <description>&lt;P&gt;I've tried both, but the values refuse to sort. They won't budge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this so complicated??&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-by-Expression-not-working/m-p/1609883#M45890</guid>
      <dc:creator>imsohotness</dc:creator>
      <dc:date>2019-08-06T14:51:34Z</dc:date>
    </item>
  </channel>
</rss>

