<?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: Need to count how many values of a list are between two other given values in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52261#M19652</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one way could be the Generate Rows Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generate N rows in a new column starting from Start_date, adding 1 days in each new row, until the date in the new column is &amp;lt;= End_Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start_Date=2017-03-30 | End_date=2017-04-05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New column=&lt;/P&gt;&lt;P&gt;2017-03-30&lt;/P&gt;&lt;P&gt;2017-03-31&lt;/P&gt;&lt;P&gt;2017-04-01&lt;/P&gt;&lt;P&gt;2017-04-02&lt;/P&gt;&lt;P&gt;2017-04-03&lt;/P&gt;&lt;P&gt;2017-04-04&lt;/P&gt;&lt;P&gt;2017-04-05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make a join between this column and your holydays list and count with a Summarize how many rows you have!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached file&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 13:25:08 GMT</pubDate>
    <dc:creator>Federica_FF</dc:creator>
    <dc:date>2017-03-30T13:25:08Z</dc:date>
    <item>
      <title>Need to count how many values of a list are between two other given values</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52258#M19651</link>
      <description>&lt;P&gt;Hi gurus, this is my problem: I need to count how many holidays are between two dates, I have a list of events with a start_date and end_date and another list with holidays.&amp;nbsp;&lt;SPAN&gt;I'm ready counting the weekends, but I need to count the number of holidays and add this count to the events list. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Resuming, for every record in the events list, I need to see how many holidays are between start_date and end_date and put this count as another column in the record.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm confused with this, I think I need to do some kind of "for" loop and I can't think of any workaround for that. Probably I'm stuck and there's another simpler solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advice, aces...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:04:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52258#M19651</guid>
      <dc:creator>iperich</dc:creator>
      <dc:date>2017-03-30T13:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to count how many values of a list are between two other given values</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52261#M19652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one way could be the Generate Rows Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generate N rows in a new column starting from Start_date, adding 1 days in each new row, until the date in the new column is &amp;lt;= End_Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start_Date=2017-03-30 | End_date=2017-04-05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New column=&lt;/P&gt;&lt;P&gt;2017-03-30&lt;/P&gt;&lt;P&gt;2017-03-31&lt;/P&gt;&lt;P&gt;2017-04-01&lt;/P&gt;&lt;P&gt;2017-04-02&lt;/P&gt;&lt;P&gt;2017-04-03&lt;/P&gt;&lt;P&gt;2017-04-04&lt;/P&gt;&lt;P&gt;2017-04-05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make a join between this column and your holydays list and count with a Summarize how many rows you have!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached file&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:25:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52261#M19652</guid>
      <dc:creator>Federica_FF</dc:creator>
      <dc:date>2017-03-30T13:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to count how many values of a list are between two other given values</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52277#M19653</link>
      <description>&lt;P&gt;It worked! only a detail, the resulting dataset doesn't include the records that doesn't have holidays in between, so I added another join between the result of the summarize and the original set, and then a Union block to merge the lists and voila, I have the original list with start_date, end_date plus holidays in between, with a "null" when there is no holiday in between.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Is hard to get used to "think in Alteryx" when you are a "classic" programmer, in this case the "Generate rows" is actually the way to go if you want a "for" loop!.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:58:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/52277#M19653</guid>
      <dc:creator>iperich</dc:creator>
      <dc:date>2017-03-30T13:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to count how many values of a list are between two other given values</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/769408#M186433</link>
      <description>&lt;P&gt;Any idea on what updates are required if there are multiple rows each with a different Start_Date and End_Date?&lt;/P&gt;&lt;P&gt;And for each row the same process needs to be done.&lt;/P&gt;&lt;P&gt;Generate Rows may work only for one row data?&lt;/P&gt;&lt;P&gt;How to handle multiple rows each with a different start &amp;amp; end date?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 16:19:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-count-how-many-values-of-a-list-are-between-two-other/m-p/769408#M186433</guid>
      <dc:creator>rohan146</dc:creator>
      <dc:date>2021-06-07T16:19:09Z</dc:date>
    </item>
  </channel>
</rss>

