<?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: hierarchy automation by Iterative macro in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426093#M352802</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;sure, let me know if you face any issues with the workflow or result&lt;/P&gt;</description>
    <pubDate>Fri, 12 Dec 2025 10:42:57 GMT</pubDate>
    <dc:creator>binu_acs</dc:creator>
    <dc:date>2025-12-12T10:42:57Z</dc:date>
    <item>
      <title>hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425548#M352724</link>
      <description>&lt;P&gt;I have uploaded 1 file&amp;nbsp;Hierarchy_Template which is Input file in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1st we have to put filter on Type = Profit center&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then we have the data which will pick ID.&lt;/P&gt;&lt;P&gt;Afterwards we need to pick "ID" column value say "74226" then we will pick it's Parent ID "43420" this will be hierarchy 1&lt;/P&gt;&lt;P&gt;and then we will search&amp;nbsp;43420 in "ID" column again and pick parent ID "43388" this will be hierarchy 2&lt;/P&gt;&lt;P&gt;again we will search "43388 in "ID" column and pick parent ID till we get P001&lt;/P&gt;&lt;P&gt;which searching till P001 we will remove filter of Profit Center&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then it will pick next "ID" after putting filter of Profit center&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Alteryx?&lt;/P&gt;&lt;P&gt;Can someone help me creating this workflow?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:24:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425548#M352724</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-09T12:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425550#M352725</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;could you please help me in this?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:43:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425550#M352725</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-09T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425586#M352726</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;I dont see the Parent ID&amp;nbsp;&lt;SPAN&gt;43420&amp;nbsp; and 43388 in the ID column of the given input (Hierarchy tab), can you also provide the expected output&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 19:25:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425586#M352726</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-09T19:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425668#M352748</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;could this macro help&amp;nbsp;&lt;A href="https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/tac-p/881903#M109" target="_blank"&gt;https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/tac-p/881903#M109&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 08:42:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425668#M352748</guid>
      <dc:creator>aatalai</dc:creator>
      <dc:date>2025-12-10T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425671#M352749</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;: I have attached required output.&lt;/P&gt;&lt;P&gt;I have added notes for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example from attached input file:&lt;/P&gt;&lt;P&gt;I am gonna put filter on Type = Profit Center and pick any ID (column C)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I pick&amp;nbsp;74226 from column C and it's parent id&amp;nbsp;43420 will be hierarchy 1&lt;/P&gt;&lt;P&gt;then, i am going to pick&amp;nbsp;43420 parent ID and remove filter of Profit center and search in column C&lt;BR /&gt;while i search in column C, i again have a Parent ID 43388&lt;BR /&gt;Then, again going to pick 43388 and search in column C and this loop goes till I get P001&lt;/P&gt;&lt;P&gt;this is for 1 and again going to pick ID from Column C with filter Profit center and repeat same action&lt;/P&gt;&lt;P&gt;This is the requirement&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 09:35:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425671#M352749</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-10T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425868#M352784</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;I created a batch macro and an iterative macro to identify the hierarchy. They are working as expected, but the workflow takes longer to run when the record count is high, so it will require heavy optimization. I tested it with 10 records using the Sample tool. If you want to run the workflow on all records, you can remove the Sample tool and test it, but I recommend keeping the Sample tool and trying it first with a limited number of records.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binu_acs_0-1765447246177.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/415261i15F6CED6AA1B5F06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binu_acs_0-1765447246177.png" alt="binu_acs_0-1765447246177.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 10:02:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425868#M352784</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-11T10:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425920#M352787</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;: Thank you for your help. This works perfectly&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 11:28:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1425920#M352787</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-11T11:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426020#M352798</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;Here is the optimised version of the workflow, it takes only a few seconds to complete&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binu_acs_0-1765489821031.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/415331iDBD1587150044255/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binu_acs_0-1765489821031.png" alt="binu_acs_0-1765489821031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 21:50:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426020#M352798</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-11T21:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426068#M352801</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;: This is a great help! Thank you again&lt;/P&gt;&lt;P&gt;But in Iterative Macro_ID_test.yxmc what is&amp;nbsp;\Iterative_Input.csv and&amp;nbsp;\ID_Main.csv file you have used?&lt;/P&gt;&lt;P&gt;Can you share that with me as well?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 08:10:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426068#M352801</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-12T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426093#M352802</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;sure, let me know if you face any issues with the workflow or result&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 10:42:57 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426093#M352802</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-12T10:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426111#M352806</link>
      <description>&lt;P&gt;Attached is the workflow as per your requirements.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:11:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426111#M352806</guid>
      <dc:creator>Kottapally_Ramesh</dc:creator>
      <dc:date>2025-12-12T12:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426116#M352808</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;: could be very silly question, but when I try to individually place these files in my share drive and change base input file macro shows an error&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="Meghnagupta_0-1765543110117.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/415366iAFEBFA398D533094/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Meghnagupta_0-1765543110117.png" alt="Meghnagupta_0-1765543110117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do configure this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:38:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426116#M352808</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-12T12:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426118#M352809</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;Save the macro in the shared drive, then in the Alteryx Designer canvas right-click and insert -&amp;gt; macro from the saved location&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="binu_acs_0-1765544989399.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/415367iCF2AF16F73489774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binu_acs_0-1765544989399.png" alt="binu_acs_0-1765544989399.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 13:10:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426118#M352809</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-12T13:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426274#M352819</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/264661"&gt;@Kottapally_Ramesh&lt;/a&gt;&amp;nbsp; for your help!&lt;BR /&gt;accepted as solution for both. This has been a great help to me.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 09:16:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426274#M352819</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-15T09:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426412#M352830</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/194502"&gt;@binu_acs&lt;/a&gt;&amp;nbsp; : I again have a question question here&lt;/P&gt;&lt;P&gt;Say in Input file we add 1 more column naming "Description" in front of all the values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we get that? Do we need 1 more macro for that? or changes in current macro will also work?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 08:43:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426412#M352830</guid>
      <dc:creator>Meghnagupta</dc:creator>
      <dc:date>2025-12-16T08:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: hierarchy automation by Iterative macro</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426417#M352833</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/376519"&gt;@Meghnagupta&lt;/a&gt;&amp;nbsp;You don’t need a new macro, you can update the existing &amp;nbsp;macro to include the new field&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 09:58:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/hierarchy-automation-by-Iterative-macro/m-p/1426417#M352833</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-12-16T09:58:29Z</dc:date>
    </item>
  </channel>
</rss>

