<?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 Load Month and Year text fields as dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296321#M618893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to load text fields Month and Year into QV in date format to more easily sort them in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My month field is in long form (January, February, etc) and the year is typical 2017, 2018. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have been trying to implement the following code in my load script but am receiving no values when I pull my test metric into a straight table with project id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Month] &amp;amp; ' ' &amp;amp;[Estimated Completion Year] , 'MMYYYY')) as TestMetric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also tried &lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Month], 'MM)) as TestMonthMetric&lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Year] , 'YYYY')) as TestYearMetric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like I am simply misunderstanding how the date function works but could use some insight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of this task is to be able to sort a bar chart in correct date order. Was previously loading these fields as a concatenated value [Estimated Completion Month]&amp;amp;' '&amp;amp;[Estimated Completion Year] AS ECD but could not determine a way to order by year and then sort by month.. Will gladly take any tips on this issue as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 19:17:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-28T19:17:22Z</dc:date>
    <item>
      <title>Load Month and Year text fields as dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296321#M618893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to load text fields Month and Year into QV in date format to more easily sort them in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My month field is in long form (January, February, etc) and the year is typical 2017, 2018. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have been trying to implement the following code in my load script but am receiving no values when I pull my test metric into a straight table with project id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Month] &amp;amp; ' ' &amp;amp;[Estimated Completion Year] , 'MMYYYY')) as TestMetric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also tried &lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Month], 'MM)) as TestMonthMetric&lt;/P&gt;&lt;P&gt;date(date#([Estimated Completion Year] , 'YYYY')) as TestYearMetric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like I am simply misunderstanding how the date function works but could use some insight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of this task is to be able to sort a bar chart in correct date order. Was previously loading these fields as a concatenated value [Estimated Completion Month]&amp;amp;' '&amp;amp;[Estimated Completion Year] AS ECD but could not determine a way to order by year and then sort by month.. Will gladly take any tips on this issue as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296321#M618893</guid>
      <dc:creator />
      <dc:date>2017-03-28T19:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load Month and Year text fields as dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296322#M618894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&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;"&gt;&lt;STRONG&gt;Date(Date#([Estimated Completion Month] &amp;amp; ' ' &amp;amp;[Estimated Completion Year] , 'MMMM YYYY')) as TestMetric&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more about dates here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3102"&gt;QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296322#M618894</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-28T19:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load Month and Year text fields as dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296323#M618895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick reply! It's working great now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Month-and-Year-text-fields-as-dates/m-p/1296323#M618895</guid>
      <dc:creator />
      <dc:date>2017-03-28T19:45:40Z</dc:date>
    </item>
  </channel>
</rss>

