<?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 Problem with Month - Year Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301924#M1198949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!! Problem solved!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jan 2011 18:49:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-26T18:49:19Z</dc:date>
    <item>
      <title>Problem with Month - Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301921#M1198946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help with this. Im new to qiliview.&lt;/P&gt;&lt;P&gt;I have all a table with all the sales order in 3 years, with the date YYYY-MM-DD of the order.&lt;/P&gt;&lt;P&gt;I want to make a line chart that shows the sum(Sales) by month. So i made a field called Month Year, like this : month(saledate)&amp;amp;' '&amp;amp;year(saledate).&lt;/P&gt;&lt;P&gt;Everything oK... but when i want to sort it to show it in the chart the sort doesent work correctly.&lt;/P&gt;&lt;P&gt;I try to put expressiones, sort in load order, and nothing.&lt;/P&gt;&lt;P&gt;The sort i get is something like this.. : dic 2007 - jun 2007 - mar 2008 ... etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try order by expression Year(..) &amp;amp; month(...) but nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alwayes there is a month-year that is not correctly order....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can i dot??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!!!!1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301921#M1198946</guid>
      <dc:creator />
      <dc:date>2011-01-26T16:36:38Z</dc:date>
    </item>
    <item>
      <title>Problem with Month - Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301922#M1198947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, instead of that create the calculated expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;date(saledate,'MM-YYYY')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and sort by numeric value&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;use dual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;dual(month(saledate) &amp;amp; '-' year(saledate), year(saledate)*100 + month(saledate))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;so the text will be 'Jan-2011', but the internal value will be 201101, and use numeric value for the sort&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301922#M1198947</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-01-26T16:42:47Z</dc:date>
    </item>
    <item>
      <title>Problem with Month - Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301923#M1198948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use the monthname function to craete the MonthYear field:&lt;/P&gt;&lt;P&gt;Monthname(saledate) as MonthYear&lt;/P&gt;&lt;P&gt;then you just have to order your MonthYear field by Numeric Value&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301923#M1198948</guid>
      <dc:creator />
      <dc:date>2011-01-26T16:48:00Z</dc:date>
    </item>
    <item>
      <title>Problem with Month - Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301924#M1198949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!! Problem solved!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 18:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Month-Year-Field/m-p/301924#M1198949</guid>
      <dc:creator />
      <dc:date>2011-01-26T18:49:19Z</dc:date>
    </item>
  </channel>
</rss>

