<?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: How to exclude earliest dates from date range in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444271#M84875</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/34687"&gt;@AllenG&lt;/a&gt;&amp;nbsp;Do you have an example of your workflow? I can take a look.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I understand you need to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Have a formula take the previous day's market close (row-1) and input into a new column as the beginning of day value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Have this roll for a 60 day period (e.g dropping off oldest row each time a new day is added)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if I have misunderstood any part of your desired output.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 19:24:43 GMT</pubDate>
    <dc:creator>PeterA1</dc:creator>
    <dc:date>2019-07-26T19:24:43Z</dc:date>
    <item>
      <title>How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444249#M84866</link>
      <description>&lt;P&gt;Hi, I'm reconciling investment returns pulled from sql using Beginning Market Value and Ending Market Value.&amp;nbsp; Our tables only contain Ending Market Values so for the Beginning Mkt Val, I'm using Multi-Row formula tool to create Beg Mkt Val from prior dates End Mkt Val.&amp;nbsp; I'm also needing to run for a rolling 60 day period, but this conflicts with using the Multi-Row formula for the first dates Beg Mkt Val, since there is no prior End Mkt Value to use, so the first dates data for each investment is not valid.&amp;nbsp; I can use the Fliter tool to remove the first date in date range, but this would need to be updated each day and I'm hoping to automate report.&amp;nbsp; The number of investments we have changes frequently as well, so this precludes me from using Sample tool to skip X numbers of row (number of investments), so looking for formula/tool to exclude the earliest date in the rolling 60 day date range.&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 18:56:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444249#M84866</guid>
      <dc:creator>AllenG</dc:creator>
      <dc:date>2019-07-26T18:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444271#M84875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/34687"&gt;@AllenG&lt;/a&gt;&amp;nbsp;Do you have an example of your workflow? I can take a look.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I understand you need to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Have a formula take the previous day's market close (row-1) and input into a new column as the beginning of day value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Have this roll for a 60 day period (e.g dropping off oldest row each time a new day is added)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if I have misunderstood any part of your desired output.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 19:24:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444271#M84875</guid>
      <dc:creator>PeterA1</dc:creator>
      <dc:date>2019-07-26T19:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444298#M84882</link>
      <description>&lt;P&gt;I'm wondering if the Generate rows tool would help you. Have you tried investigating that one?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 20:36:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444298#M84882</guid>
      <dc:creator>smoskowitz</dc:creator>
      <dc:date>2019-07-26T20:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444396#M84906</link>
      <description>I'm not too sure why you cant use the sample tool here? It has the group by functionality which would allow you to skip the first row per investment.&lt;BR /&gt;&lt;BR /&gt;Or perhaps it could even be simpler by just using a filter tool to exclude instances where the start value is empty.&lt;BR /&gt;&lt;BR /&gt;But perhaps I'm not understanding the data structure correctly.&lt;BR /&gt;&lt;BR /&gt;Ben</description>
      <pubDate>Sat, 27 Jul 2019 08:03:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/444396#M84906</guid>
      <dc:creator>BenMoss</dc:creator>
      <dc:date>2019-07-27T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445456#M85228</link>
      <description>&lt;P&gt;Thanks, but it seems the sample tool only allows you to skip a certain number of of rows.&amp;nbsp; Since the number of investments (rows) changes frequently, this number would have to updated each time and that doesn't make for good automation of reporting.&amp;nbsp; Let me know if I'm missing something about the Select tool.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:29:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445456#M85228</guid>
      <dc:creator>AllenG</dc:creator>
      <dc:date>2019-07-30T17:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445490#M85239</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/34687"&gt;@AllenG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you always looking to pull the 60 most recent lines in your dataset? You could always sort in reverse date order (highest on top), and use Sample to pull the first 60 records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example of your data (dummy data of course) would be helpful as we try to troubleshoot this for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Esther&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 18:19:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445490#M85239</guid>
      <dc:creator>estherb47</dc:creator>
      <dc:date>2019-07-30T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445512#M85248</link>
      <description>&lt;P&gt;No, I'm looking to exclude the earliest date for each investment and the number of investments changes frequently.&amp;nbsp; So, for example if I'm I'm pulling 60 day's of returns for 100 investments and the earliest date is 6/1/2019, I want to exclude 6/1/2019.&amp;nbsp; Some of suggested that I just sort by date and exclude first 100 rows, but since the number of investments frequently change, I'd have to keep monitoring and updating the workflow.&amp;nbsp; I'm attaching output data if that helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 19:19:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445512#M85248</guid>
      <dc:creator>AllenG</dc:creator>
      <dc:date>2019-07-30T19:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445891#M85371</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/34687"&gt;@AllenG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By sorting by investment and date, then excluding the first entry per investment, would this accomplish what you're looking for? It becomes dynamic where the first date for each investment will be excluded, regardless of how many investments / records per investment there are.&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="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/71928i5EB3A07BE8E1FDD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:49:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/445891#M85371</guid>
      <dc:creator>NickSm</dc:creator>
      <dc:date>2019-07-31T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/446574#M85608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/34687"&gt;@AllenG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, now I understand why the Sample tool on its own won't work. But, you can use it (with sort) to pull the earliest date out of your data, append the first date back into your data set, and then filter on what doesn't match that first date.&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="image.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/72157iE4E23C4F74A97A4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is dynamic and doesn't require monitoring. It will always exclude matches to the first date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Esther&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 15:18:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/446574#M85608</guid>
      <dc:creator>estherb47</dc:creator>
      <dc:date>2019-08-01T15:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude earliest dates from date range</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/447113#M85793</link>
      <description>&lt;P&gt;This works!&amp;nbsp; Thank you for the time you spend to figure this out and post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 18:26:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-exclude-earliest-dates-from-date-range/m-p/447113#M85793</guid>
      <dc:creator>AllenG</dc:creator>
      <dc:date>2019-08-02T18:26:31Z</dc:date>
    </item>
  </channel>
</rss>

