<?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 months in string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676991#M1054071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data/app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 10:45:49 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-10-22T10:45:49Z</dc:date>
    <item>
      <title>Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676987#M1054067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I am using text box to show curremt selection:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;&amp;gt; ' &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ')&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in result I will have &amp;gt;&amp;gt;year&amp;gt;quarter&amp;gt;month&lt;/P&gt;&lt;P&gt;the problem is that if I will select more than 1 month it will sort months alfabeticaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to stop sorting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrzej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676987#M1054067</guid>
      <dc:creator />
      <dc:date>2014-10-22T10:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676988#M1054068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, maybe:&lt;/P&gt;&lt;P&gt;='&amp;gt;&amp;gt; ' &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ')&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ', &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If not, can you post a sample of the data to make tests?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676988#M1054068</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-22T10:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676989#M1054069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In text i don't believe you sort it but you can use the straight table for this with only expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676989#M1054069</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-22T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676990#M1054070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry I add wrong formula in OP&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the formula from OP works fine as it has full date. but i want to show months only, and then it sorts incorrectly:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;&amp;gt; ' &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ')&lt;BR /&gt;&amp;amp; ' &amp;gt; '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ',') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676990#M1054070</guid>
      <dc:creator />
      <dc:date>2014-10-22T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676991#M1054071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data/app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676991#M1054071</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-22T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676992#M1054072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the like: Jan, Feb, Mar.. then try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat(Distinct month([DB Date]), ',', &lt;STRONG&gt;month([DB Date])&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second 'month([DB Date])' defines the sort order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676992#M1054072</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-22T10:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sort months in string</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676993#M1054073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this is what I needed. It works after little adjustment&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DB Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-months-in-string/m-p/676993#M1054073</guid>
      <dc:creator />
      <dc:date>2014-10-22T11:02:37Z</dc:date>
    </item>
  </channel>
</rss>

