<?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: Counting and then concatenating in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36320#M14399</link>
    <description>&lt;P&gt;Hi RodL,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2016 15:41:08 GMT</pubDate>
    <dc:creator>JorgeVazquez</dc:creator>
    <dc:date>2016-10-24T15:41:08Z</dc:date>
    <item>
      <title>Counting and then concatenating</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36314#M14396</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help me with the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this type of outcome:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GN0030 | GN0030 | GN0030 | GN0030 | GN0030 | GN0030 | XX51500 | XX51500&lt;/P&gt;&lt;P&gt;CB0000 | DP0063 | MN0000 | XHT | XHT | XHT | XHT | XX51500 | XX51500&lt;/P&gt;&lt;P&gt;CB0000 | CB0000 | CB0000 | GN0125 | XX51500 | XX51500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count and concatenate back the result so the lines would look like this:&lt;/P&gt;&lt;P&gt;6 x GN0030 |&amp;nbsp;2 x XX51500&lt;/P&gt;&lt;P&gt;1 x CB0000 | 1 x DP0063 | 1 x MN0000 | 4 x XHT |&amp;nbsp;2 x XX51500&lt;/P&gt;&lt;P&gt;3 x CB0000 | 1 x GN0125 | 2 x XX51500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how can I get this done?&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;</description>
      <pubDate>Mon, 24 Oct 2016 14:53:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36314#M14396</guid>
      <dc:creator>JorgeVazquez</dc:creator>
      <dc:date>2016-10-24T14:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Counting and then concatenating</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36317#M14397</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is exactly the pipe/vertical line in your input and what is your input?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's an excel file and the vertical line represent where a new column start?&lt;/P&gt;&lt;P&gt;Or you have a singlestring with value separated by space|space?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A way could be to use a record ID to give a unique ID to each record/line and then split to rows each value (or transpose if it's an excel file, it depends on your input) so that you have 1 value per row. Then you can easly summarize the values groupng by record ID and counting. With a formula tool is then possible to concatenate values and count adding all the texts you need and then cross tab the final result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the example attached&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:19:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36317#M14397</guid>
      <dc:creator>Federica_FF</dc:creator>
      <dc:date>2016-10-24T15:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Counting and then concatenating</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36318#M14398</link>
      <description>&lt;P&gt;Assuming that the lines and order are significant, you could first assign a Record ID to each line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then...&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Text to Columns (Split to Rows) with Pipe Delimiter&lt;/LI&gt;
&lt;LI&gt;Summarize grouping by RecordID and your identifier with a count.&lt;/LI&gt;
&lt;LI&gt;A Formula to concatenate the count, then an "x", and then your identifier.&lt;/LI&gt;
&lt;LI&gt;A Summarize tool grouped by the RecordID set to concatenate with a pipe delimiter.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should get you close...&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:19:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36318#M14398</guid>
      <dc:creator>RodL</dc:creator>
      <dc:date>2016-10-24T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counting and then concatenating</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36320#M14399</link>
      <description>&lt;P&gt;Hi RodL,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:41:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36320#M14399</guid>
      <dc:creator>JorgeVazquez</dc:creator>
      <dc:date>2016-10-24T15:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting and then concatenating</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36321#M14400</link>
      <description>&lt;P&gt;Hola Federica,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it! Your model helped me to solve my query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pipes where just spaces in my data. Everything&amp;nbsp;is in one column but I have that information in separate rows and with unique IDs, so I could follow your example and get it done!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to answer.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:43:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Counting-and-then-concatenating/m-p/36321#M14400</guid>
      <dc:creator>JorgeVazquez</dc:creator>
      <dc:date>2016-10-24T15:43:32Z</dc:date>
    </item>
  </channel>
</rss>

