<?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: Add a column for an end date in MultiRow Tool in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430143#M80433</link>
    <description>&lt;P&gt;Good Job my friend,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more help dont&amp;nbsp;&lt;SPAN&gt;hesitate let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 16:52:44 GMT</pubDate>
    <dc:creator>carlosteixeira</dc:creator>
    <dc:date>2019-06-21T16:52:44Z</dc:date>
    <item>
      <title>Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430100#M80422</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a new column called "PlanEndDate" in this workflow. Below are my fields. the EEPID field is unique, and repeats for every time a plan is changed. The PlanEffectiveDateHistory Field is the "start date" of that plan, but i need to calculate the end date. I cant get my if statment to work correctly in my MultiRow tool. Here is what I want to accomplish in that tool&lt;/P&gt;&lt;P&gt;IF ([Row+1:EEPID] = [EEPID] then Row+1 PlanEffeftiveDateHistory &lt;U&gt;&lt;STRONG&gt;minus one day&lt;/STRONG&gt;&lt;/U&gt;. If the EEPID row is the last one then it would populate with the last day of the current month or something that would indicate that the plan is active and has not ended. This would be a date field, so putting "current" in the field probably wouldn't work&lt;/P&gt;&lt;P&gt;for example records 1-4 is the same person, and here is the desired outcome for the new field&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Record&lt;/TD&gt;&lt;TD&gt;EEPID&lt;/TD&gt;&lt;TD&gt;EmployeeEnrollmentDate&lt;/TD&gt;&lt;TD&gt;PlanEffDateHistory&lt;/TD&gt;&lt;TD&gt;PlanEndDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;01005.087.M&lt;/TD&gt;&lt;TD&gt;2006-04-01&lt;/TD&gt;&lt;TD&gt;2006-04-01&lt;/TD&gt;&lt;TD&gt;2009-03-31&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;01005.087.M&lt;/TD&gt;&lt;TD&gt;2006-04-01&lt;/TD&gt;&lt;TD&gt;2009-04-01&lt;/TD&gt;&lt;TD&gt;2014-11-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;01005.087.M&lt;/TD&gt;&lt;TD&gt;2006-04-01&lt;/TD&gt;&lt;TD&gt;2014-12-01&lt;/TD&gt;&lt;TD&gt;2017-11-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;01005.087.M&lt;/TD&gt;&lt;TD&gt;2006-04-01&lt;/TD&gt;&lt;TD&gt;2017-12-01&lt;/TD&gt;&lt;TD&gt;current plan or some kind of date that could always indicate that its a current plan. maybe 2222-01-01&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my sample data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Plan End.jpg" style="width: 517px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/66946iEDA4D319200FF40B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Plan End.jpg" alt="Plan End.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:16:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430100#M80422</guid>
      <dc:creator>alphabex18</dc:creator>
      <dc:date>2019-06-21T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430118#M80424</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/9699"&gt;@alphabex18&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try use this workflow adpting to your necessary. If not work or you can´t understand, let me know and send your source and so that I can ride for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Holpe this help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:23:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430118#M80424</guid>
      <dc:creator>carlosteixeira</dc:creator>
      <dc:date>2019-06-21T16:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430128#M80428</link>
      <description>&lt;P&gt;its helpful for sure but I think my iif statement is malformed, and i dont know how to get it right. This is what i have...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iif([Row+1:EEPID]=[EEPID], DateTimeAdd([Row+1:PlanEffectiveDateHistory],-1,"days")&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:36:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430128#M80428</guid>
      <dc:creator>alphabex18</dc:creator>
      <dc:date>2019-06-21T16:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430140#M80431</link>
      <description>&lt;P&gt;Can you put here your workflow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way my help will be more efective! :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:49:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430140#M80431</guid>
      <dc:creator>carlosteixeira</dc:creator>
      <dc:date>2019-06-21T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430141#M80432</link>
      <description>&lt;P&gt;Nevermind. I got it. it was actually much easier than I first thought&lt;/P&gt;&lt;P&gt;Here is the final result for anyone else that comes across this problem....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF [Row+1:EEPID] = [EEPID] THEN DateTimeAdd([Row+1:PlanEffectiveDateHistory],-1,"days") ELSE "2222-12-02" ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:50:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430141#M80432</guid>
      <dc:creator>alphabex18</dc:creator>
      <dc:date>2019-06-21T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add a column for an end date in MultiRow Tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430143#M80433</link>
      <description>&lt;P&gt;Good Job my friend,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more help dont&amp;nbsp;&lt;SPAN&gt;hesitate let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:52:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Add-a-column-for-an-end-date-in-MultiRow-Tool/m-p/430143#M80433</guid>
      <dc:creator>carlosteixeira</dc:creator>
      <dc:date>2019-06-21T16:52:44Z</dc:date>
    </item>
  </channel>
</rss>

