<?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: Matching first part of Date fields while ignoring year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949636#M78261</link>
    <description>&lt;P&gt;There are various possibilities, for example:&lt;/P&gt;
&lt;P&gt;-(makedate(0, month(Date1), day(Date1)) =&amp;nbsp;makedate(0, month(Date2), day(Date2))) as Flag&lt;/P&gt;
&lt;P&gt;or maybe:&lt;/P&gt;
&lt;P&gt;-(daynumberofyear(Date1) = daynumberofyear(Date2)) as Flag&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 10:50:48 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-06-29T10:50:48Z</dc:date>
    <item>
      <title>Matching first part of Date fields while ignoring year</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949441#M78249</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for a way to match the first part of the xx/xx/1997 (ignoring the year field) with another field a like.&lt;/P&gt;
&lt;P&gt;Essentially field 1 is a DOB and field 2 is an AppointmentDate.&lt;/P&gt;
&lt;P&gt;Looking to create a formula which is if day and month match in both DOB and AppointmentDate (while ignoring the year), display name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've looking into a couple things like wild match but I can't see any of them matching my scenario.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Any help or guidance would be appreaciated here!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949441#M78249</guid>
      <dc:creator>dranjbar</dc:creator>
      <dc:date>2022-06-29T04:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Matching first part of Date fields while ignoring year</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949446#M78250</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128554"&gt;@dranjbar&lt;/a&gt;&amp;nbsp; I have taken some sample data and created your requirement. Please let me know if it has resolved your issue.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Name, DOB, Appointment Date&lt;BR /&gt;Sidhiq, 09/06/1991, 09/07/2013&lt;BR /&gt;Satish, 14/08/1990, 14/08/2013&lt;BR /&gt;Danish, 31/03/1991, 24/09/2013&lt;BR /&gt;Avinash, 22/11/1989, 22/11/2013&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp1:&lt;BR /&gt;Load *,&lt;BR /&gt;if(trim(New_DOB)=trim([New Appointment Date]),Name,'No Match') as Match_Column;&lt;/P&gt;
&lt;P&gt;Load *,&lt;BR /&gt;Date(Date#(DOB,'DD/MM/YYYY'),'DD/MM') as New_DOB,&lt;BR /&gt;Date(Date#([Appointment Date],'DD/MM/YYYY'),'DD/MM') as [New Appointment Date]&lt;/P&gt;
&lt;P&gt;Resident Temp;&lt;/P&gt;
&lt;P&gt;Drop table Temp;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949446#M78250</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-29T04:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Matching first part of Date fields while ignoring year</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949636#M78261</link>
      <description>&lt;P&gt;There are various possibilities, for example:&lt;/P&gt;
&lt;P&gt;-(makedate(0, month(Date1), day(Date1)) =&amp;nbsp;makedate(0, month(Date2), day(Date2))) as Flag&lt;/P&gt;
&lt;P&gt;or maybe:&lt;/P&gt;
&lt;P&gt;-(daynumberofyear(Date1) = daynumberofyear(Date2)) as Flag&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 10:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949636#M78261</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-06-29T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Matching first part of Date fields while ignoring year</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949850#M78274</link>
      <description>&lt;P&gt;some other expressions:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Month(DOB)=Month(AppointmentDate) and Day(DOB)=Day(AppointmentDate)

Left(DOB,5)=Left(AppointmentDate,5)

SetDateYear(DOB,Year(AppointmentDate))=AppointmentDate

Age(AppointmentDate,DOB)&amp;gt;Age(AppointmentDate-1,DOB)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 16:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-first-part-of-Date-fields-while-ignoring-year/m-p/1949850#M78274</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-06-29T16:48:56Z</dc:date>
    </item>
  </channel>
</rss>

