<?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: Problem with sorting months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778573#M275983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the end I am using this expression : &lt;/P&gt;&lt;P&gt;=if(MonthLT = MonthSales and MonthSales = Month, Date(Date#(Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1) , 'MMM'),'MMM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My listBox has checked Show as TreeView property;&lt;/P&gt;&lt;P&gt;And on sorting tab checked Numeric Value Ascending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now seems to be working, Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 06:13:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-11T06:13:53Z</dc:date>
    <item>
      <title>Problem with sorting months</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778570#M275980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using expression on sorting tab to sort months, but if I select month and then close the file and reopen it sorting is "broken" selected value is first and the others are not sorted as well. I tried using match function in the expression also num(Month) and everything works the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(MonthLT = MonthSales and MonthSales = Month, Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1))&lt;/P&gt;&lt;P&gt;This is my expression for the list box. I want to select months from all my calendars that's why I am doing this workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 18:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778570#M275980</guid>
      <dc:creator />
      <dc:date>2015-02-10T18:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sorting months</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778571#M275981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the selected value moving to the first, uncheck the state option on sort tab and retry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778571#M275981</guid>
      <dc:creator>reshmakala</dc:creator>
      <dc:date>2015-02-10T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sorting months</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778572#M275982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - what are the sample outputs of this expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt; "&amp;nbsp;&amp;nbsp; Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1)&amp;nbsp; " &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Is it 'Jan', 'Feb' ,'Mar'&amp;nbsp; ?&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;You may need to leverage dates to do this like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Date(Date#( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1) , 'MMM'),'MMM')&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;But to fix the sort order you may need SET ANALYSIS to cancel the user's selection for sorting purposes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(Date#(&amp;nbsp; only ( {1}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1) ) , 'MMM'),'MMM')&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778572#M275982</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-02-10T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sorting months</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778573#M275983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the end I am using this expression : &lt;/P&gt;&lt;P&gt;=if(MonthLT = MonthSales and MonthSales = Month, Date(Date#(Left(MonthLT, 1) &amp;amp; Mid(MonthSales, 2, 1) &amp;amp; Right(Month, 1) , 'MMM'),'MMM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My listBox has checked Show as TreeView property;&lt;/P&gt;&lt;P&gt;And on sorting tab checked Numeric Value Ascending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now seems to be working, Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 06:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sorting-months/m-p/778573#M275983</guid>
      <dc:creator />
      <dc:date>2015-02-11T06:13:53Z</dc:date>
    </item>
  </channel>
</rss>

