<?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 Birthday field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330801#M1177168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently loading a bunch of our system-generated reports (.txt files) into QV to do my own analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are going to start sending Birthday SMS's to all our customers - until we developed this functionality in the system I will be manually extracting the Birthday Lists every morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our Account Extract we have a [Date of Birth] field in this format: DD-MMM-YY (e.g. 01-MAR-85). In some extracts the dates also have timestamps, so:&lt;/P&gt;&lt;P&gt;I import this in the following way:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;DATE(DATE#( left([Date of birth],11), 'DD-MMM-YY')) as [Date of birth], &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This then gives me all dates as YYYY/MM/DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is load a new field (derived from Date of Birth) called Birthday - the field should be equal to the Date and Month and the Current Year, e.g. if DOB is 1985/03/01 then Birthday must be 2012/03/01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure this out - any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 06:42:20 GMT</pubDate>
    <dc:creator>gerhardl</dc:creator>
    <dc:date>2012-03-01T06:42:20Z</dc:date>
    <item>
      <title>Birthday field</title>
      <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330801#M1177168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently loading a bunch of our system-generated reports (.txt files) into QV to do my own analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are going to start sending Birthday SMS's to all our customers - until we developed this functionality in the system I will be manually extracting the Birthday Lists every morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our Account Extract we have a [Date of Birth] field in this format: DD-MMM-YY (e.g. 01-MAR-85). In some extracts the dates also have timestamps, so:&lt;/P&gt;&lt;P&gt;I import this in the following way:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;DATE(DATE#( left([Date of birth],11), 'DD-MMM-YY')) as [Date of birth], &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This then gives me all dates as YYYY/MM/DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is load a new field (derived from Date of Birth) called Birthday - the field should be equal to the Date and Month and the Current Year, e.g. if DOB is 1985/03/01 then Birthday must be 2012/03/01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure this out - any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330801#M1177168</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-03-01T06:42:20Z</dc:date>
    </item>
    <item>
      <title>Birthday field</title>
      <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330802#M1177169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you tried with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(Year(Today()),Month([Date of birth]),Day([Date of birth])) as Birthday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(Year(Today()),Month(&lt;EM style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;DATE(DATE#( left([Date of birth],11), 'DD-MMM-YY')) &lt;/STRONG&gt;&lt;/EM&gt;),Day(&lt;EM style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;DATE(DATE#( left([Date of birth],11), 'DD-MMM-YY')) &lt;/STRONG&gt;&lt;/EM&gt;)) as Birthday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330802#M1177169</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T06:51:57Z</dc:date>
    </item>
    <item>
      <title>Birthday field</title>
      <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330803#M1177170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second option worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330803#M1177170</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-03-01T07:21:42Z</dc:date>
    </item>
    <item>
      <title>Birthday field</title>
      <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330804#M1177171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think &lt;STRONG&gt;[Date of birth]&lt;/STRONG&gt; field doesn't have a proper date format is it so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330804#M1177171</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Birthday field</title>
      <link>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330805#M1177172</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;Do you mean in the original extract I pull in? No - it is DD-MMM-YY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But once I pull it into QV using &lt;EM&gt;&lt;STRONG&gt;DATE(DATE#( left([Date of birth],11), 'DD-MMM-YY')) as [Date of birth], &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Birthday-field/m-p/330805#M1177172</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-03-01T07:38:12Z</dc:date>
    </item>
  </channel>
</rss>

