<?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: Iterative Macro to count Levels in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/900180#M217539</link>
    <description>&lt;P&gt;Depends on the line. You don't have a complete dataset so understand parts could be used at any level in any other part.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 14:22:46 GMT</pubDate>
    <dc:creator>JordyMicheal</dc:creator>
    <dc:date>2022-02-08T14:22:46Z</dc:date>
    <item>
      <title>Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899775#M217378</link>
      <description>&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need a little help building out an iterative macro that checks for levels of parts.&lt;/P&gt;&lt;P&gt;As an example in this sample data. 19052 would be a Parent Part. It is made up of the child parts 19052C.2, 19250, 92922.2, and 92934.5.&lt;/P&gt;&lt;P&gt;The part 19052 and the records 2 through 5 would be a Level 1 part, as they go into a top tier.&lt;/P&gt;&lt;P&gt;The records below with PartNumber 19032C.2 would be Level 2 parts, as they go into making Level 1 parts.&lt;/P&gt;&lt;P&gt;The records with PartNumber 90062 would be Level 3 parts, as they go into making Level 2 parts. So on and so forth.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There is an undefined level of parts.&lt;BR /&gt;I know I need to make an iterative macro to loop through them and section out which records, but I've been staring at the problem for too long!!&lt;/P&gt;&lt;P&gt;It's preferable that the levels take place after the other work that has been done!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 18:02:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899775#M217378</guid>
      <dc:creator>JordyMicheal</dc:creator>
      <dc:date>2022-02-07T18:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899789#M217385</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25784"&gt;@JordyMicheal&lt;/a&gt;,&amp;nbsp;what is that you need as output? I see on your file that you are multiplying parent quantity by child quantity.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 18:23:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899789#M217385</guid>
      <dc:creator>gabrielvilella</dc:creator>
      <dc:date>2022-02-07T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899795#M217388</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/92330"&gt;@gabrielvilella&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I would hope for is just another column at the end of that dataset (say called Level), and then just a numeric value.&lt;/P&gt;&lt;P&gt;What I highlighted in green would be 1, and red would be 2, the next set would be 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 18:33:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899795#M217388</guid>
      <dc:creator>JordyMicheal</dc:creator>
      <dc:date>2022-02-07T18:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899801#M217392</link>
      <description>&lt;P&gt;If the part number above is the same as the one below, keep the level number. Otherwise increase level by one. Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 18:43:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899801#M217392</guid>
      <dc:creator>gabrielvilella</dc:creator>
      <dc:date>2022-02-07T18:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899809#M217395</link>
      <description>&lt;P&gt;It's a bit more complex than that unfortunately. The sample data is just a simple example, but there are thousands of parts. So a parent child key might be an easier way to tackle it as an example, but that has lead me down a bit of a rabbit hole. Here would be a more complete look of the data&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:02:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899809#M217395</guid>
      <dc:creator>JordyMicheal</dc:creator>
      <dc:date>2022-02-07T19:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899830#M217401</link>
      <description>&lt;P&gt;I see what you mean now, you have the child part number field there listing all possible options for each part number. Do you have a list of all part numbers that should be level 1?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:34:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899830#M217401</guid>
      <dc:creator>gabrielvilella</dc:creator>
      <dc:date>2022-02-07T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899851#M217407</link>
      <description>&lt;P&gt;I don't sadly... Though that would make it easier&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 20:09:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899851#M217407</guid>
      <dc:creator>JordyMicheal</dc:creator>
      <dc:date>2022-02-07T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899893#M217420</link>
      <description>&lt;P&gt;On you dataset, both 18063 and&amp;nbsp;19052 part numbers have the&amp;nbsp;19052C.2 as child. On this case which one should I consider as level 1 for that child number?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 21:53:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/899893#M217420</guid>
      <dc:creator>gabrielvilella</dc:creator>
      <dc:date>2022-02-07T21:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/900180#M217539</link>
      <description>&lt;P&gt;Depends on the line. You don't have a complete dataset so understand parts could be used at any level in any other part.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 14:22:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/900180#M217539</guid>
      <dc:creator>JordyMicheal</dc:creator>
      <dc:date>2022-02-08T14:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Macro to count Levels</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/900247#M217560</link>
      <description>&lt;P&gt;The same child part number has multiple parent part numbers on different levels, see&amp;nbsp;900461 for instance. There needs to be a one to one relationship, one child can only have one parent. Unless you just want to see what is the highest level a number can have.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:29:57 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Iterative-Macro-to-count-Levels/m-p/900247#M217560</guid>
      <dc:creator>gabrielvilella</dc:creator>
      <dc:date>2022-02-08T15:29:57Z</dc:date>
    </item>
  </channel>
</rss>

