<?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: month &amp; year from date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781661#M663243</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;You can use month and year function to take out the respective part from Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex: if you want to pull number of the month you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numsum(month(DateField)) &amp;amp; Year (DateField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 14:39:37 GMT</pubDate>
    <dc:creator>kamal_sanguri</dc:creator>
    <dc:date>2015-01-28T14:39:37Z</dc:date>
    <item>
      <title>month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781658#M663240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe can I script to receive a month and a year out of a field containing a date? I tried the following which did not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT jobnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month (datum)&amp;amp; Year (datum) as StundenMonat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stunden,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stundenart,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; marnr as MitarbeiterStunden&lt;/P&gt;&lt;P&gt;FROM EASY.stunden;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have: 01 2014, 02 2014 e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781658#M663240</guid>
      <dc:creator />
      <dc:date>2015-01-28T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781659#M663241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder why it did not work. But Try this instead.&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;Month(Date(datum))&amp;amp; ' ' &amp;amp; Year(Date(datum)) as StundenMonat&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;"&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;"&gt;This may or may not work, but worth giving a shot.&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;"&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;"&gt;Best,&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;"&gt;S&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781659#M663241</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-01-28T14:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781660#M663242</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;maybe&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Month (datum)&amp;amp;' '&amp;amp; Year (datum) as StundenMonat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781660#M663242</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-28T14:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781661#M663243</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;You can use month and year function to take out the respective part from Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex: if you want to pull number of the month you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numsum(month(DateField)) &amp;amp; Year (DateField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781661#M663243</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2015-01-28T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781662#M663245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check whether &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;datum is in date format . If yes then try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;onth (datum)&amp;amp;' '&amp;amp; Year (datum) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781662#M663245</guid>
      <dc:creator />
      <dc:date>2015-01-28T14:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781663#M663247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're mixing QV script with SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Month (datum)&amp;amp; Year (datum) as StundenMonat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT jobnr,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datum,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stunden,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stundenart,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; marnr as MitarbeiterStunden&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM EASY.stunden;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781663#M663247</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-28T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781664#M663249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthStart(datum),'MM YYYY') as StundenMonat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT jobnr,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datum,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stunden,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stundenart,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; marnr as MitarbeiterStunden&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM EASY.stunden;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;because this will create a real date instead of text, i.e. no sorting and calculation issues ...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MArco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781664#M663249</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-28T14:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781665#M663252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good catch. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Did not see that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781665#M663252</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-01-28T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: month &amp; year from date</title>
      <link>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781666#M663254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/month-year-from-date/m-p/781666#M663254</guid>
      <dc:creator />
      <dc:date>2015-01-28T14:45:07Z</dc:date>
    </item>
  </channel>
</rss>

