<?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: - Underscores After - Cross Tab in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/963003#M237489</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/155011"&gt;@suby&lt;/a&gt;&amp;nbsp;one way of dong this by only taking the column names then using dynamic rename tool replace the cross tab columns, this way you can keep the original column names&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binuacs_0-1656927601954.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243787iE31AFB6DB16101CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binuacs_0-1656927601954.png" alt="binuacs_0-1656927601954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 09:41:17 GMT</pubDate>
    <dc:creator>binu_acs</dc:creator>
    <dc:date>2022-07-04T09:41:17Z</dc:date>
    <item>
      <title>- Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962953#M237469</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched the community already and there where more solutions but looking for a solution on my specific requirement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing the crosstab tool function within a macro and then outputting the data from my macro to overwrite the input file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input columns looks like these..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer Name - Contact&lt;/P&gt;&lt;P&gt;Customer Name Contact: Contact-Address&lt;/P&gt;&lt;P&gt;Customer - Age&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But After crosstab&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Customer_Name_Contact&lt;/P&gt;&lt;P&gt;&amp;nbsp;Custome_Name_Contact_Contact_Address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Customer_Age&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a solution where i don't want to rename the columns using the select tool since i have a huge list of Columns rather a dynamic way so that the name matches exactly the same as Input Data Columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 08:42:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962953#M237469</guid>
      <dc:creator>suby</dc:creator>
      <dc:date>2022-07-04T08:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962959#M237471</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/155011"&gt;@suby&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can use the dynamic rename, select all columns and use this rename formula:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IraWatt_1-1656924408629.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243771i45EFE7515D4E6378/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IraWatt_1-1656924408629.png" alt="IraWatt_1-1656924408629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 08:47:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962959#M237471</guid>
      <dc:creator>IraWatt</dc:creator>
      <dc:date>2022-07-04T08:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962960#M237472</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/155011"&gt;@suby&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a dynamic rename and replace function.&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="messi007_0-1656924411104.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243772i735A549D819CCF4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="messi007_0-1656924411104.png" alt="messi007_0-1656924411104.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached the workflow,&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 08:47:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962960#M237472</guid>
      <dc:creator>messi007</dc:creator>
      <dc:date>2022-07-04T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962983#M237481</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the solution but when i have column header like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Customer Name Contact: Contact-Address&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if i use the replace function I loose this semicolon and a hyphen as well any thoughts how to fix this..&lt;/SPAN&gt;&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="suby_0-1656926756724.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243780i2D20C2C34739DF97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suby_0-1656926756724.png" alt="suby_0-1656926756724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:26:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962983#M237481</guid>
      <dc:creator>suby</dc:creator>
      <dc:date>2022-07-04T09:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962986#M237482</link>
      <description>&lt;P&gt;I had a try with&amp;nbsp;&lt;SPAN&gt;Customer Name Contact: Contact-Address and it didnt remove the&amp;nbsp;semicolon and a hyphen. You could untick that column from the top if your having issues. Or we could make the formula more complex.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IraWatt_0-1656926935738.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243781i236BF6B6DC14C0BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IraWatt_0-1656926935738.png" alt="IraWatt_0-1656926935738.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:30:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962986#M237482</guid>
      <dc:creator>IraWatt</dc:creator>
      <dc:date>2022-07-04T09:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962999#M237487</link>
      <description>&lt;P&gt;How does this look&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/155011"&gt;@suby&lt;/a&gt;? Instead of hard-coding replacements, this may be a little more dynamic. The underscores basically come from Alteryx replacing 'special characters' like spaces and punctuation with _ when Cross-tabbing. One of the options of the Dynamic rename tool is that we can provide a header to look for and what to replace it with. Therefore, this Formula tool off-shoot basically replaces anything that isn't a word in the original header with _ and so should create a copy of what the Crosstab tool will output, meaning we can just use that as a reference to find and replace it with the original header:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Forgot to mention. This also means that if there does happen to be underscores in your desired headers, these 'innocent' underscores won't be removed.&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="DataNath_0-1656927405183.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243783iA3B2F5405FC22E0A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataNath_0-1656927405183.png" alt="DataNath_0-1656927405183.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DataNath_1-1656927413933.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243784iEEF9B199679FC4D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataNath_1-1656927413933.png" alt="DataNath_1-1656927413933.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DataNath_2-1656927424500.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243785iDAA4D78504E337B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataNath_2-1656927424500.png" alt="DataNath_2-1656927424500.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:41:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/962999#M237487</guid>
      <dc:creator>DataNath</dc:creator>
      <dc:date>2022-07-04T09:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: - Underscores After - Cross Tab</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/963003#M237489</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/155011"&gt;@suby&lt;/a&gt;&amp;nbsp;one way of dong this by only taking the column names then using dynamic rename tool replace the cross tab columns, this way you can keep the original column names&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binuacs_0-1656927601954.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/243787iE31AFB6DB16101CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binuacs_0-1656927601954.png" alt="binuacs_0-1656927601954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:41:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Underscores-After-Cross-Tab/m-p/963003#M237489</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2022-07-04T09:41:17Z</dc:date>
    </item>
  </channel>
</rss>

