<?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 Dynamic Matrix - need to map several attributes then find rows that fulfill all criteria in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403367#M348129</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;need some ideas on how to solve this issue. I have a table with a changing amount of attributes in columns.&lt;/P&gt;&lt;P&gt;The rows have values assigned to these column attributes. Now my second input is something like an "order".&lt;/P&gt;&lt;P&gt;Step 1:&amp;nbsp;I need to compare each attribute in the column with the specific order and tick when I find a match.&lt;/P&gt;&lt;P&gt;Step 2: I need to find the row that has ALL orders and then need to find out in which store I can buy the order.&lt;/P&gt;&lt;P&gt;(outcome can also be none or more than one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To demonstrate I created a simple example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 1 lists all attributes (trousers, shirt, scarf, shoes). The rows then contain which Shop seels what&lt;/P&gt;&lt;P&gt;Input 2 is the list of things the customer wants to buy.&lt;/P&gt;&lt;P&gt;The Number and headers of these attributes can vary&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* I would like to now "tick" all shops that sell green trousers, then long shirt sleeves etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* at the end I need to find all or none shop that sells everything I want to buy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any efficient ideas?&lt;/P&gt;&lt;P&gt;Thanks so much already&lt;/P&gt;&lt;P&gt;Petra&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Alteryx.png" style="width: 429px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407711iB159E5559B9F2464/image-dimensions/429x195?v=v2" width="429" height="195" role="button" title="Alteryx.png" alt="Alteryx.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 12:48:30 GMT</pubDate>
    <dc:creator>pohrt</dc:creator>
    <dc:date>2025-07-21T12:48:30Z</dc:date>
    <item>
      <title>Dynamic Matrix - need to map several attributes then find rows that fulfill all criteria</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403367#M348129</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;need some ideas on how to solve this issue. I have a table with a changing amount of attributes in columns.&lt;/P&gt;&lt;P&gt;The rows have values assigned to these column attributes. Now my second input is something like an "order".&lt;/P&gt;&lt;P&gt;Step 1:&amp;nbsp;I need to compare each attribute in the column with the specific order and tick when I find a match.&lt;/P&gt;&lt;P&gt;Step 2: I need to find the row that has ALL orders and then need to find out in which store I can buy the order.&lt;/P&gt;&lt;P&gt;(outcome can also be none or more than one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To demonstrate I created a simple example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 1 lists all attributes (trousers, shirt, scarf, shoes). The rows then contain which Shop seels what&lt;/P&gt;&lt;P&gt;Input 2 is the list of things the customer wants to buy.&lt;/P&gt;&lt;P&gt;The Number and headers of these attributes can vary&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* I would like to now "tick" all shops that sell green trousers, then long shirt sleeves etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* at the end I need to find all or none shop that sells everything I want to buy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any efficient ideas?&lt;/P&gt;&lt;P&gt;Thanks so much already&lt;/P&gt;&lt;P&gt;Petra&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Alteryx.png" style="width: 429px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407711iB159E5559B9F2464/image-dimensions/429x195?v=v2" width="429" height="195" role="button" title="Alteryx.png" alt="Alteryx.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 12:48:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403367#M348129</guid>
      <dc:creator>pohrt</dc:creator>
      <dc:date>2025-07-21T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Matrix - need to map several attributes then find rows that fulfill all criter</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403418#M348136</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/188467"&gt;@pohrt&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've given your question a go. Here's how I got on.&lt;BR /&gt;&lt;BR /&gt;First of all, I input both your tables 1 and 2, standardised the case using the data cleansing tool, and then gave a Record ID to both tables.&amp;nbsp;&lt;BR /&gt;Here's table 1:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table 1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407733i10F4CE02FC08FB3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table 1.png" alt="table 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Here's Table 2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table 2.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407734i11EF72DE3B8AC98F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table 2.png" alt="table 2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After that, I pivoted the data, and joined on all values where both the header (i.e trousers) and value (i.e green) matched the request in table 2.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407735i5E1E3FA0B8577DC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="join.png" alt="join.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This next part is what allows you to change the number of input columns, without causing any issues. I use a count records to count the number of items requested. Then I count the number of matched per original row, from table 1. If these two counts match, then it means that the original row from table one, contains everything requested.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filter.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407736iC8C414F9076554D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="filter.png" alt="filter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Finally, I join&amp;nbsp;back to the original table to format the results column as you displayed in you image.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="final.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407737i3AFFB5F8B47370F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="final.png" alt="final.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope the above helps, I've attached&amp;nbsp;the workflow with annotations below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please let me know how you get on.&lt;BR /&gt;&lt;BR /&gt;Regards - Pilsner&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 13:57:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403418#M348136</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-07-21T13:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Matrix - need to map several attributes then find rows that fulfill all criter</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403435#M348137</link>
      <description>&lt;P&gt;This was my thought too! Transpose everything so you have a column with "Type" and a column with "Color". Then match from there. This answer is a much more detailed version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hannah Brauer&lt;/P&gt;&lt;P&gt;Crowe, LLP&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 14:58:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Matrix-need-to-map-several-attributes-then-find-rows/m-p/1403435#M348137</guid>
      <dc:creator>HannahBrauer223</dc:creator>
      <dc:date>2025-07-21T14:58:17Z</dc:date>
    </item>
  </channel>
</rss>

