<?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: Macros in Alteryx Connect Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1409487#M2356</link>
    <description>&lt;P&gt;This has been dealt with quite a few times, and so take a look at the below links to see how close you get. There are a couple more posts floating around, but no point re-inventing the wheel. You can always open up one of these solutions and customise it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/ta-p/880709" target="_blank"&gt;https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/ta-p/880709&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Weekly-Challenges/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740" target="_blank"&gt;https://community.alteryx.com/t5/Weekly-Challenges/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 02:10:05 GMT</pubDate>
    <dc:creator>KGT</dc:creator>
    <dc:date>2025-08-22T02:10:05Z</dc:date>
    <item>
      <title>Macros</title>
      <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1408930#M2354</link>
      <description>&lt;P&gt;Hi Alteryx Community,&lt;/P&gt;&lt;P&gt;I’m trying to build an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;iterative macro&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that expands a manager hierarchy from an employee file. My input file looks like this:&lt;/P&gt;&lt;PRE&gt;user id | staff number | name | manager name&lt;/PRE&gt;&lt;P&gt;I want the output to include multiple levels of managers, like this:&lt;/P&gt;&lt;PRE&gt;user id | staff number | name | manager | manager1 | manager2 | manager3 | manager4&lt;/PRE&gt;&lt;P&gt;Each manager column should represent the next level up in the hierarchy. For example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;manager1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the manager of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;manager,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;manager2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the manager of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;manager1, and so on.&lt;/P&gt;&lt;P&gt;Could someone guide me on how to structure the iterative macro to achieve this? Any tips on handling potential loops or missing manager data , how to handle the dynamic renaming of column in the macro would be appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 09:33:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1408930#M2354</guid>
      <dc:creator>RamaKeerthana</dc:creator>
      <dc:date>2025-08-20T09:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Macros</title>
      <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1409487#M2356</link>
      <description>&lt;P&gt;This has been dealt with quite a few times, and so take a look at the below links to see how close you get. There are a couple more posts floating around, but no point re-inventing the wheel. You can always open up one of these solutions and customise it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/ta-p/880709" target="_blank"&gt;https://community.alteryx.com/t5/Community-Gallery/Hierarchy-Generation-Macro/ta-p/880709&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Weekly-Challenges/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740" target="_blank"&gt;https://community.alteryx.com/t5/Weekly-Challenges/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 02:10:05 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1409487#M2356</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-08-22T02:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macros</title>
      <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1411327#M2375</link>
      <description>&lt;P&gt;Thank you will try this approach !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 15:06:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Macros/m-p/1411327#M2375</guid>
      <dc:creator>RamaKeerthana</dc:creator>
      <dc:date>2025-09-02T15:06:43Z</dc:date>
    </item>
  </channel>
</rss>

