<?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 Sort by Expression Changes When Selection is Made in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1531992#M438818</link>
    <description>&lt;P&gt;I have a bar chart showing months on the x-axis and numbers of users on the y-axis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart shows employees&amp;nbsp;in a company based on&amp;nbsp;when they were employed&amp;nbsp;and compares 2 years at a time, month by month.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart can be filtered by the Department selection box in the sheet.&lt;/P&gt;&lt;P&gt;I have tried to sort by Expression (Ascending) using the following:&lt;/P&gt;&lt;P&gt;WildMatch(Month,'Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec','Jan','Feb','Mar')&lt;/P&gt;&lt;P&gt;The user wants the chart always to run from April to March (their financial year) and this should not change.&amp;nbsp; However when departments are selected, the sort order changes.&amp;nbsp; The order it changes to is different with each selection, there does not appear to be a pattern.&lt;/P&gt;&lt;P&gt;I have attempted adding the fix suggested in&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Sorting-changes-when-selection-is-made/m-p/978183#M225989" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Sorting-changes-when-selection-is-made/m-p/978183#M225989&lt;/A&gt; but it only seems to work for keeping the sort order static in a Selection Box.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any other solutions to this kind of issue that anyone has come across?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Eoin&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:34:53 GMT</pubDate>
    <dc:creator>eoinboylan</dc:creator>
    <dc:date>2024-11-16T21:34:53Z</dc:date>
    <item>
      <title>Sort by Expression Changes When Selection is Made</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1531992#M438818</link>
      <description>&lt;P&gt;I have a bar chart showing months on the x-axis and numbers of users on the y-axis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart shows employees&amp;nbsp;in a company based on&amp;nbsp;when they were employed&amp;nbsp;and compares 2 years at a time, month by month.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart can be filtered by the Department selection box in the sheet.&lt;/P&gt;&lt;P&gt;I have tried to sort by Expression (Ascending) using the following:&lt;/P&gt;&lt;P&gt;WildMatch(Month,'Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec','Jan','Feb','Mar')&lt;/P&gt;&lt;P&gt;The user wants the chart always to run from April to March (their financial year) and this should not change.&amp;nbsp; However when departments are selected, the sort order changes.&amp;nbsp; The order it changes to is different with each selection, there does not appear to be a pattern.&lt;/P&gt;&lt;P&gt;I have attempted adding the fix suggested in&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Sorting-changes-when-selection-is-made/m-p/978183#M225989" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Sorting-changes-when-selection-is-made/m-p/978183#M225989&lt;/A&gt; but it only seems to work for keeping the sort order static in a Selection Box.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any other solutions to this kind of issue that anyone has come across?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Eoin&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1531992#M438818</guid>
      <dc:creator>eoinboylan</dc:creator>
      <dc:date>2024-11-16T21:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression Changes When Selection is Made</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1532086#M438824</link>
      <description>&lt;P&gt;Try this sort expression&lt;/P&gt;&lt;PRE&gt;WildMatch(&lt;FONT color="#FF0000"&gt;Only({1}&lt;/FONT&gt; Month&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;,'Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec','Jan','Feb','Mar')&lt;/PRE&gt;&lt;P&gt;you can also use this&lt;/P&gt;&lt;PRE&gt;Only({1} WildMatch(Month,'Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec','Jan','Feb','Mar'))&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jan 2019 12:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1532086#M438824</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T12:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Expression Changes When Selection is Made</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1532089#M438826</link>
      <description>&lt;P&gt;That has worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Sunny_talwar!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 12:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Expression-Changes-When-Selection-is-Made/m-p/1532089#M438826</guid>
      <dc:creator>eoinboylan</dc:creator>
      <dc:date>2019-01-18T12:48:00Z</dc:date>
    </item>
  </channel>
</rss>

