<?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: Dynamic selection of columns for calculations in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429279#M353333</link>
    <description>&lt;P&gt;This is very similar to a post I helped solve for another user:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-and-logic-question/td-p/1429151" target="_blank"&gt;Formula and logic question. - Alteryx Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What you need to consider is using Transpose to flip the data vertically.&amp;nbsp; Then you can filter out values you don't need to apply the math to, use the Summarize Tool, and then compute or flip things back to horizontal using Crosstab.&lt;BR /&gt;&lt;BR /&gt;Take a look at that link and in the meantime, I'll see if I can mock something up for you.&amp;nbsp; -Jay&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 15:23:48 GMT</pubDate>
    <dc:creator>jrlindem</dc:creator>
    <dc:date>2026-01-22T15:23:48Z</dc:date>
    <item>
      <title>Dynamic selection of columns for calculations</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429273#M353332</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find a solution for the following problem in Alteryx:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table&lt;SPAN&gt; (see attached screenshot)&lt;/SPAN&gt; with the columns: Name, 950020, 950021, 950010, Delta.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on my input data it might be that&lt;SPAN&gt;&lt;STRONG&gt; additional columns with the same type of data&lt;/STRONG&gt; as in 950020, 950021, 950010 may appear&lt;/SPAN&gt;. So the table might for example contain the columns: Name, 950020, 950021, 950010, 950011, 950012, Delta.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to create an &lt;STRONG&gt;additional column ("Calculation")&lt;/STRONG&gt; which sums up the values of the number clumns (950020, 950021, 950010 ...) and substract their sum from the value in column Delta.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&amp;gt; = (950020+ 950021+ 950010...) - Delta&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the number of the column type 950020, 950021, 950010... is subject to change I am trying to find a &lt;STRONG&gt;dynamic solution&lt;/STRONG&gt;, meaning that&lt;STRONG&gt; all number columns present in the table are considered&lt;/STRONG&gt; in my calculation. Therefore, using the formula tool and referring to the columns (classic calculation) is no option to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea of how to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help that you can offer! Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Kim&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:10:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429273#M353332</guid>
      <dc:creator>kim09</dc:creator>
      <dc:date>2026-01-22T15:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection of columns for calculations</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429279#M353333</link>
      <description>&lt;P&gt;This is very similar to a post I helped solve for another user:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-and-logic-question/td-p/1429151" target="_blank"&gt;Formula and logic question. - Alteryx Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What you need to consider is using Transpose to flip the data vertically.&amp;nbsp; Then you can filter out values you don't need to apply the math to, use the Summarize Tool, and then compute or flip things back to horizontal using Crosstab.&lt;BR /&gt;&lt;BR /&gt;Take a look at that link and in the meantime, I'll see if I can mock something up for you.&amp;nbsp; -Jay&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:23:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429279#M353333</guid>
      <dc:creator>jrlindem</dc:creator>
      <dc:date>2026-01-22T15:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection of columns for calculations</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429285#M353334</link>
      <description>&lt;P&gt;Here's an example of how you can solve this.&amp;nbsp; I used your example image and put in some fake values to illustrate.&amp;nbsp; You don't want to use "Name" as a field since the Transpose will create a Name and Value field.&amp;nbsp; I mean... you can, but it's annoying to have to rename, etc.&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="jrlindem_0-1769095888356.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/416548iE91C6634607BD6EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jrlindem_0-1769095888356.png" alt="jrlindem_0-1769095888356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's the solution:&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="jrlindem_1-1769095921685.png" style="width: 844px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/416549i879A98237C8227B6/image-dimensions/844x327?v=v2" width="844" height="327" role="button" title="jrlindem_1-1769095921685.png" alt="jrlindem_1-1769095921685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also attached the workflow for you to reference or adapt from.&amp;nbsp; Hope this helps, -Jay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:33:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429285#M353334</guid>
      <dc:creator>jrlindem</dc:creator>
      <dc:date>2026-01-22T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection of columns for calculations</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429431#M353360</link>
      <description>&lt;P&gt;Thank you very much for your help, I successfully implemented your solution! Best regards, Kim&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 11:28:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-selection-of-columns-for-calculations/m-p/1429431#M353360</guid>
      <dc:creator>kim09</dc:creator>
      <dc:date>2026-01-23T11:28:21Z</dc:date>
    </item>
  </channel>
</rss>

