<?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: ADD MULTIPLE ROWS IN SAME COLUMN in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161998#M42585</link>
    <description>&lt;P&gt;I'm not 100% positive on your requirements, but something like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 607px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/33874i863E8A62AB9CFDDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This adds up the three rows by month, then adds a row at the bottom of each month called "Variance".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps, reach out if this is off-base!&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 12:55:41 GMT</pubDate>
    <dc:creator>danrh</dc:creator>
    <dc:date>2018-05-11T12:55:41Z</dc:date>
    <item>
      <title>ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161985#M42584</link>
      <description>&lt;P&gt;I need to add three rows together that are currently in the same column and within multiple months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a row called 'Variance' to add together&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;MFG COST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LESS ABSORBED - FGM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LESS ABSORBED - FGB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for each month. Sum for Actual, Budget and Last Year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 05:18:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161985#M42584</guid>
      <dc:creator>britknip</dc:creator>
      <dc:date>2018-05-24T05:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161998#M42585</link>
      <description>&lt;P&gt;I'm not 100% positive on your requirements, but something like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 607px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/33874i863E8A62AB9CFDDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This adds up the three rows by month, then adds a row at the bottom of each month called "Variance".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps, reach out if this is off-base!&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 12:55:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161998#M42585</guid>
      <dc:creator>danrh</dc:creator>
      <dc:date>2018-05-11T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161999#M42586</link>
      <description>&lt;P&gt;Here's how you can achieve this.&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="2018-05-11_13-59-02.png" style="width: 642px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/33876iB4F50DE08557632D/image-dimensions/642x162?v=v2" width="642" height="162" role="button" title="2018-05-11_13-59-02.png" alt="2018-05-11_13-59-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start by transposing your data. Your Date and FSParent field will be your 'key fields' and your SUM fields will be your data fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have performed your transformation,&amp;nbsp;filter your data to only the rows needed. This will give you 9 lines for each date, 3 lines for each metric within that.&lt;BR /&gt;&lt;BR /&gt;Then, use the summerize tool, to calculate your variance. This can be achieved by using the 'Group_By' on your date field and the 'Name' field (which represents the metric name) and summing the value field, I will rename this 'Variance'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I will create a field which gives the name as it will appear in our overall list. Lets again give this as 'Variance'. I will name this column 'FSParent'.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My final step is to cross-tab this datasource so it is inline with the original data. This can be achieved by 'grouping by' our FSParent and Date field. Our column headers will be our 'Name' (the metric). And our value will be the 'Variance' sum column. Be careful, we have to rename our fields after the cross-tab if they contain special characters such as spaces.&lt;BR /&gt;&lt;BR /&gt;Finally I will union this to our original stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 12:59:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/161999#M42586</guid>
      <dc:creator>BenMoss</dc:creator>
      <dc:date>2018-05-11T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162004#M42587</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/17075"&gt;@danrh&lt;/a&gt;'s method is far more efficient! I always pivot when working with multiple columns but in this case it's not necessary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 13:00:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162004#M42587</guid>
      <dc:creator>BenMoss</dc:creator>
      <dc:date>2018-05-11T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162006#M42588</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/30876"&gt;@britknip&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;i am attaching solved workflow. see if that helps.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (178).png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/33877i02A8B21BCD5E341C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (178).png" alt="Screenshot (178).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 13:04:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162006#M42588</guid>
      <dc:creator>bharti_dalal</dc:creator>
      <dc:date>2018-05-11T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162038#M42589</link>
      <description>&lt;P&gt;I was able to get both &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/17075"&gt;@danrh&lt;/a&gt; and &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/5143"&gt;@BenMoss&lt;/a&gt; answers to work so thank you both!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, these are great for summing but what if I wanted to subtract a field. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales - Price Allowances = Net sales&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:21:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162038#M42589</guid>
      <dc:creator>britknip</dc:creator>
      <dc:date>2018-05-11T14:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: ADD MULTIPLE ROWS IN SAME COLUMN</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162051#M42590</link>
      <description>&lt;P&gt;For subtracting, I would add in a Multi-Field Formula tool to change the "Sum_" fields to negative for Price Allowance, then use the same approach to add them up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't find Sales records, so I made some assumptions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 521px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/33885i4BA2F7B8FB4072E2/image-dimensions/521x262?v=v2" width="521" height="262" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:40:01 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/ADD-MULTIPLE-ROWS-IN-SAME-COLUMN/m-p/162051#M42590</guid>
      <dc:creator>danrh</dc:creator>
      <dc:date>2018-05-11T14:40:01Z</dc:date>
    </item>
  </channel>
</rss>

