<?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 Group by two columns and output min/max date using multiRow formula in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475419#M94989</link>
    <description>Hi mate, yes I know and use that but want to implement it via multi row&lt;BR /&gt;formula</description>
    <pubDate>Fri, 11 Oct 2019 06:43:50 GMT</pubDate>
    <dc:creator>rajenlodh</dc:creator>
    <dc:date>2019-10-11T06:43:50Z</dc:date>
    <item>
      <title>how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475405#M94980</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;need some help on the tool Multi row formula.&lt;/P&gt;&lt;P&gt;i got data where need to group by Application reference,then milestone names and select min of started on in one columns and max of completed on in another columns with Multirow formula tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i can do it by crosstab but want to use it via Multirow formula.anybody can help please.&lt;/P&gt;&lt;P&gt;simple task but not sure how to do without [summarize -&amp;gt;crosstab] use.&lt;/P&gt;&lt;P&gt;intend to use multirowformual.&lt;/P&gt;&lt;P&gt;if any other way to do happy to learn also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 05:25:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475405#M94980</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-11T05:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475411#M94983</link>
      <description>Could you share what your desired output would be? It looks like in your data you have multiple rows for a given application reference, but your milestone names are unique for each application reference group. Which milestone name would you want to keep?</description>
      <pubDate>Fri, 11 Oct 2019 06:25:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475411#M94983</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-11T06:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475413#M94985</link>
      <description>If you just need the min and max dates of the two columns and keep the application reference and milestone names as they are, the best way is probably to do a summarize where you group by the application reference, do a max of the column you need the max for a a min of the column you need a min for. Then join this data back to your original data on the application reference field and uncheck the columns of the old date fields just leaving the min and max columns to take their place.</description>
      <pubDate>Fri, 11 Oct 2019 06:28:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475413#M94985</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-11T06:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475418#M94988</link>
      <description>Want to keep all milestone names but min/ max of dates</description>
      <pubDate>Fri, 11 Oct 2019 06:41:50 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475418#M94988</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-11T06:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475419#M94989</link>
      <description>Hi mate, yes I know and use that but want to implement it via multi row&lt;BR /&gt;formula</description>
      <pubDate>Fri, 11 Oct 2019 06:43:50 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475419#M94989</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-11T06:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475423#M94991</link>
      <description>You can technically do it with a multi row. First use a sort tool to sort by application reference and then by the first date you are interested. Make sure that you do ascending or descending based on which value you want on top. Then use a multi row tool and set non existent rows to null. For your formula say iif(isNull(row-1:date),date,row-1:date)&lt;BR /&gt;&lt;BR /&gt;This means it will keep the top date and set every following row to that date. Check the box to group by application reference so it does this for each block of rows for each application reference.&lt;BR /&gt;&lt;BR /&gt;Then sort by your next date field in the order you need and repeat this process with another multi row tool using the same formula as explained above.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2019 06:49:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475423#M94991</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-11T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475424#M94992</link>
      <description>Thanks mate for the super explanation.is it possible to share with a&lt;BR /&gt;workflow please.&lt;BR /&gt;Will wait for your reply</description>
      <pubDate>Fri, 11 Oct 2019 06:54:50 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475424#M94992</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-11T06:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475425#M94993</link>
      <description>Currently typing from my phone but I can send one tomorrow when I’m back in the office. Should be a fairly quick workflow to build unless someone else beats me to it!</description>
      <pubDate>Fri, 11 Oct 2019 06:56:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475425#M94993</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-11T06:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475434#M94995</link>
      <description>Thanks for your reply mate</description>
      <pubDate>Fri, 11 Oct 2019 07:15:50 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475434#M94995</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-11T07:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475668#M95064</link>
      <description>&lt;P&gt;Workflow example is attached. Basically just sorting the dates then multi row to set the earliest or latest date to each row.&amp;nbsp;&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="Multi row example.png" style="width: 947px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/81948i2A256491C1ED596D/image-dimensions/947x598?v=v2" width="947" height="598" role="button" title="Multi row example.png" alt="Multi row example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:14:01 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/475668#M95064</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-11T15:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476495#M95344</link>
      <description>&lt;P&gt;Hi Brandon, thanks for the reply and the flow,Appreciate so much your effort on it.&lt;/P&gt;&lt;P&gt;the flow looks promising pretty much, but before min max of dates, I need them group by Application_reference, then group by Milestone_names.&lt;/P&gt;&lt;P&gt;In the flow no sorting or used of Milestone names in the multiple row formula.&lt;/P&gt;&lt;P&gt;As i need to use it what should i do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 23:38:57 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476495#M95344</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-14T23:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476505#M95350</link>
      <description>&lt;P&gt;If you look at the configuration in the multi row tools I have it grouped by the application reference field. This means that the formula will only apply to each set of application reference numbers. The reason that I did not check the box for milestone name is because row 1 is "Type A Closed" and row 2 is "Type B Closed" for the same application reference. If I checked the box for milestone name it would not apply the actual started on date to each row in the application reference block, but rather only to rows with that specific Milestone Name within the Application reference. You can definitely use multiple group by fields, but in this case we just checked the box for the first one because we want to apply the min and max to every row within the same application reference value.&amp;nbsp;&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="reference.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/82219iF36A8E601E6535E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="reference.png" alt="reference.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 23:21:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476505#M95350</guid>
      <dc:creator>BrandonB</dc:creator>
      <dc:date>2019-10-14T23:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476509#M95352</link>
      <description>&lt;P&gt;got it mate.:)&lt;/P&gt;&lt;P&gt;so as i need to group by Application_reference, then by Milestone name for min/max of dates what can I do? any solution please&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 23:42:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476509#M95352</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-14T23:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to Group by two columns and output min/max date using multiRow formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476917#M95535</link>
      <description>&lt;P&gt;tried to write&amp;nbsp; a code to find the minimum for each app_ref_then group by milestone name.&lt;/P&gt;&lt;P&gt;attached screesnshot &amp;amp; code here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(([Application_Reference]=[Row+1:Application_Reference])&lt;BR /&gt;and ([Milestone_Name]=[Row+1:Milestone_Name]))&lt;BR /&gt;then&lt;/P&gt;&lt;P&gt;if(([Application_Reference]=[Row-1:Application_Reference])&lt;BR /&gt;and ([Milestone_Name]=[Row-1:Milestone_Name])) then&lt;BR /&gt;min([Actual_Started_On],[Row+1:Actual_Started_On],[Row-1:Actual_Started_On],[Row-1:min_started_On])&lt;BR /&gt;else&lt;BR /&gt;min([Actual_Started_On],[Row+1:Actual_Started_On])&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;elseif(([Application_Reference]=[Row-1:Application_Reference])&lt;BR /&gt;and ([Milestone_Name]=[Row-1:Milestone_Name]))&lt;BR /&gt;then&lt;BR /&gt;min([Actual_Started_On],[Row-1:min_started_On])&lt;/P&gt;&lt;P&gt;else&lt;BR /&gt;[Actual_Started_On]&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;plus from the flow you shared, cna do with soritng by app_ref, then milestone_name, then sort by startedon date ascending.&lt;/P&gt;&lt;P&gt;then on the running total instead of only&amp;nbsp; App_ref, used both app ref,milesonename.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 23:36:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-Group-by-two-columns-and-output-min-max-date-using/m-p/476917#M95535</guid>
      <dc:creator>rajenlodh</dc:creator>
      <dc:date>2019-10-15T23:36:10Z</dc:date>
    </item>
  </channel>
</rss>

