<?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: RE:Bar Sort order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044767#M522535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create your YearMonth field as a proper datetime field and you can sort it numerically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get the YearMonth as a text field from your source, then convert during the load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(&lt;SPAN style="font-size: 13.3333px;"&gt;YearMonth , 'YYYY-MMM') as YearMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 08:52:04 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2016-04-04T08:52:04Z</dc:date>
    <item>
      <title>RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044764#M522532</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 some issue in bar chart where am unable to get sortout the&amp;nbsp; yearmonth values in order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:YearMonth.&lt;/P&gt;&lt;P&gt;REQ:in chart need to show values as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015 oct&lt;/P&gt;&lt;P&gt;2015 nov&lt;/P&gt;&lt;P&gt;2015dec&lt;/P&gt;&lt;P&gt;2016jan&lt;/P&gt;&lt;P&gt;2016feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chk below my chart and sort tab;&lt;/P&gt;&lt;P&gt;2016mar&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="120377" alt="sort1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/120377_sort1.PNG" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044764#M522532</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-04T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044765#M522533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your selection to Numeric Value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044765#M522533</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-04-04T08:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044766#M522534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create your Month_Year field as a date in the script: &lt;STRONG&gt;Date(MonthStart(MyDate),'YYYY-MMM') as Month_Year&lt;/STRONG&gt;. Then sort it by Numeric Value in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044766#M522534</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-04T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044767#M522535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create your YearMonth field as a proper datetime field and you can sort it numerically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get the YearMonth as a text field from your source, then convert during the load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(&lt;SPAN style="font-size: 13.3333px;"&gt;YearMonth , 'YYYY-MMM') as YearMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044767#M522535</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-04-04T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044768#M522536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i change to numeric...also its not givng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044768#M522536</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-04T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044769#M522537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your monthyear field is in string format. Make it in Number format like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;date(date#(MonthYear,'YYYY-MMM'),'&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;YYYY-MMM') as MonthYear&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to Sort tab and sort it by Numerical values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044769#M522537</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-04T08:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044770#M522538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the values (YearMonth) is a string. You must use the date format to get the values in numbers and then they will be sorted as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below function to get the Year Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date,'YYYY-MMM') as YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044770#M522538</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-04-04T08:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044771#M522539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Have you tried to checked Load Order Original and uncheck from all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044771#M522539</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2016-04-04T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044772#M522540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes...its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044772#M522540</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-04T09:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Bar Sort order</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044773#M522541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt;The first thing you should be aware of is that there are &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;two&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt; different functions: Date#() and Date(). The first is an&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Interpretation&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt; function and the second is a &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Formatting&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f5faf0;"&gt; function&lt;/SPAN&gt;". That is from this link...good stuff: &lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what a possible solution for you would look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date#(MyTextDate, 'YYYY-MMM') as MyDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MyValue&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyTextDate, MyValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015-Dec, 63&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015-Nov, 52&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015-Oct, 42&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015-Sep, 79&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016-Feb, 31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016-Jan, 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016-Mar, 36&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 14:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Bar-Sort-order/m-p/1044773#M522541</guid>
      <dc:creator>jlongoria</dc:creator>
      <dc:date>2016-04-04T14:33:15Z</dc:date>
    </item>
  </channel>
</rss>

