<?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: How to find multiple subheaders and convert each to columns for rows below in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240207#M308366</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/335443"&gt;@rdphillips&lt;/a&gt;&amp;nbsp;, here's a possible way of doing this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-02-13 at 15.06.14.png" style="width: 740px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/341424i3FC8B98AD39EEDDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-13 at 15.06.14.png" alt="Screenshot 2024-02-13 at 15.06.14.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the way of thinking - the first part would be how to move the group values to a new column. Usually, the&amp;nbsp;&lt;STRONG&gt;Formula tool&lt;/STRONG&gt; gets the job done via an IF condition&lt;/P&gt;&lt;P&gt;Once you get that - you need to be familiar with&amp;nbsp;&lt;STRONG&gt;window functions&lt;/STRONG&gt; which are used via the&amp;nbsp;&lt;STRONG&gt;multi-row formula&lt;/STRONG&gt; tool. See documentation &lt;A href="https://help.alteryx.com/current/en/designer/tools/preparation/multi-row-formula-tool.html" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This tool can be used for a lot of scenarios, and it's worth looking into its&amp;nbsp;&lt;STRONG&gt;one-tool example&lt;/STRONG&gt; as well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps =] see workflow attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 15:07:09 GMT</pubDate>
    <dc:creator>AmitMiller</dc:creator>
    <dc:date>2024-02-13T15:07:09Z</dc:date>
    <item>
      <title>How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240184#M308351</link>
      <description>&lt;P&gt;I've attached an excel file with 2 sheets.&lt;/P&gt;&lt;P&gt;The Sample sheet contains an example of scrubbed data (trimmed heavily), in rows 2, 6, 10, 14 are all subheaders. The subheader only applies to the rows below the subheader and above the following subheader. For example subheader in row 2, only applies to rows 3-5. I'm trying to find a way to move these subheaders into a column for the applicable rows.&lt;/P&gt;&lt;P&gt;The Target sheet, shows what I am I'm looking for as an end result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to Alteryx, so this type of data manipulation I haven't been able to figure out. I've only been successful moving Subheader1 to a column and applying it to the entire dataset - so not quite what is needed. Appreciate any assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:33:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240184#M308351</guid>
      <dc:creator>rdphillips</dc:creator>
      <dc:date>2024-02-13T14:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240193#M308356</link>
      <description>&lt;P&gt;Is there an easy way to identify the rows that relate to them? If so use a formula tool to tag them and then use the cross tab tool with the new tag column being the names you get the column from&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:52:19 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240193#M308356</guid>
      <dc:creator>aatalai</dc:creator>
      <dc:date>2024-02-13T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240199#M308360</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/335443"&gt;@rdphillips&lt;/a&gt;&amp;nbsp;Find the solution&amp;nbsp; attachment.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:56:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240199#M308360</guid>
      <dc:creator>Raj</dc:creator>
      <dc:date>2024-02-13T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240202#M308362</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/335443"&gt;@rdphillips&lt;/a&gt;&amp;nbsp;we can achieve this with a couple of tools. We do this by:&lt;/P&gt;
&lt;P&gt;1) Using a Multi-Row Formula to pull out rows containing header values and filling them down&lt;/P&gt;
&lt;P&gt;2) Filtering out rows with null values where we'd expect actual results&lt;/P&gt;
&lt;P&gt;3) Rearranging to get your desired format&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="1212.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/341422iBB519D19EE59ED00/image-size/large?v=v2&amp;amp;px=999" role="button" title="1212.png" alt="1212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:57:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240202#M308362</guid>
      <dc:creator>DataNath</dc:creator>
      <dc:date>2024-02-13T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240203#M308363</link>
      <description>&lt;P&gt;Rows that correspond to the subheaders are those rows between them. So in the example case attached subheader1 applies to rows 3-5, subheader2 applies to rows 7-9, subheader3 applies to rows 11-13, and subheader 4 applies to rows 15-17. The caveat to the real data, subheader1 will always be on row 2, but the other subheaders could be anywhere in the data depending on the activity for these groups.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words in the full dataset, in month one subheader1 could apply to row 3-17 and subheader2 to rows 19-123, and in month two subheader1 could apply to rows 3-82 and subheader 2 to rows 84-99.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:57:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240203#M308363</guid>
      <dc:creator>rdphillips</dc:creator>
      <dc:date>2024-02-13T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240205#M308364</link>
      <description>&lt;P&gt;Hope this helps:)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:01:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240205#M308364</guid>
      <dc:creator>JS1989</dc:creator>
      <dc:date>2024-02-13T15:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240206#M308365</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;@raj, @DataNash, and @JS1989 with these slightly different solutions I can see how the different pieces are utilized - very valuable. Appreciate the quick response.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:05:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240206#M308365</guid>
      <dc:creator>rdphillips</dc:creator>
      <dc:date>2024-02-13T15:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find multiple subheaders and convert each to columns for rows below</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240207#M308366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/335443"&gt;@rdphillips&lt;/a&gt;&amp;nbsp;, here's a possible way of doing this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-02-13 at 15.06.14.png" style="width: 740px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/341424i3FC8B98AD39EEDDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-13 at 15.06.14.png" alt="Screenshot 2024-02-13 at 15.06.14.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the way of thinking - the first part would be how to move the group values to a new column. Usually, the&amp;nbsp;&lt;STRONG&gt;Formula tool&lt;/STRONG&gt; gets the job done via an IF condition&lt;/P&gt;&lt;P&gt;Once you get that - you need to be familiar with&amp;nbsp;&lt;STRONG&gt;window functions&lt;/STRONG&gt; which are used via the&amp;nbsp;&lt;STRONG&gt;multi-row formula&lt;/STRONG&gt; tool. See documentation &lt;A href="https://help.alteryx.com/current/en/designer/tools/preparation/multi-row-formula-tool.html" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This tool can be used for a lot of scenarios, and it's worth looking into its&amp;nbsp;&lt;STRONG&gt;one-tool example&lt;/STRONG&gt; as well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps =] see workflow attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:07:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-find-multiple-subheaders-and-convert-each-to-columns-for/m-p/1240207#M308366</guid>
      <dc:creator>AmitMiller</dc:creator>
      <dc:date>2024-02-13T15:07:09Z</dc:date>
    </item>
  </channel>
</rss>

