<?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: Can I use a Prompt to name the source column in a transpose table in SAS Enterprise Guide? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-a-Prompt-to-name-the-source-column-in-a-transpose/m-p/880282#M43125</link>
    <description>&lt;P&gt;Yes you can use a Prompt to name the source column, but it requires modifying the underlying code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you need to modify the Source column name, or do you need to choose the source transpose variable from a list?&lt;/P&gt;
&lt;P&gt;If so create a &lt;STRONG&gt;Variable Prompt&lt;/STRONG&gt; and add as below&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-center" image-alt="JOL_1-1686596245088.png" style="width: 862px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84914i5E260AAF2693859B/image-dimensions/862x543?v=v2" width="862" height="543" role="button" title="JOL_1-1686596245088.png" alt="JOL_1-1686596245088.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;If you really need to modify the Source column name:&lt;/P&gt;
&lt;P&gt;1) Create a &lt;STRONG&gt;Text Prompt&lt;/STRONG&gt;, with the list of values&lt;/P&gt;
&lt;P&gt;2) Add the Text Prompt as in your example under Options. Run the task.&lt;/P&gt;
&lt;P&gt;3) Start typing in the &lt;STRONG&gt;generated Code&lt;/STRONG&gt; to create a copy&lt;/P&gt;
&lt;P&gt;4) Right-Click on the code under the Project tree on the left to &lt;STRONG&gt;modify the code properties&lt;/STRONG&gt;.&amp;nbsp; &lt;STRONG&gt;Select Prompts,&lt;/STRONG&gt;&amp;nbsp; add the Text Prompt.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JOL_3-1686597915080.png" style="width: 627px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84917i749A5AD78C4C9699/image-dimensions/627x527?v=v2" width="627" height="527" role="button" title="JOL_3-1686597915080.png" alt="JOL_3-1686597915080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5) Modify the &lt;STRONG&gt;PROC TRANPOSE, NAME=&lt;/STRONG&gt; option as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;change&amp;nbsp;NAME='&amp;amp;prompt_2'n&amp;nbsp; to&amp;nbsp;NAME=&amp;amp;prompt_2&lt;/STRONG&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="JOL_5-1686598638337.png" style="width: 831px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84919i3BF64A8715A270B5/image-dimensions/831x175?v=v2" width="831" height="175" role="button" title="JOL_5-1686598638337.png" alt="JOL_5-1686598638337.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;</description>
    <pubDate>Mon, 12 Jun 2023 19:39:41 GMT</pubDate>
    <dc:creator>JOL</dc:creator>
    <dc:date>2023-06-12T19:39:41Z</dc:date>
    <item>
      <title>Can I use a Prompt to name the source column in a transpose table in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-a-Prompt-to-name-the-source-column-in-a-transpose/m-p/872697#M42804</link>
      <description>&lt;P&gt;How to use a prompt to name the Source column showed below something different?&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="ralizadeh_0-1682630979761.png" style="width: 1010px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83354iCD98573B78801444/image-dimensions/1010x593?v=v2" width="1010" height="593" role="button" title="ralizadeh_0-1682630979761.png" alt="ralizadeh_0-1682630979761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used it, and it gave me 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="ralizadeh_1-1682631035880.png" style="width: 1467px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83355iCE2112C2FE70CE38/image-dimensions/1467x264?v=v2" width="1467" height="264" role="button" title="ralizadeh_1-1682631035880.png" alt="ralizadeh_1-1682631035880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 21:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-a-Prompt-to-name-the-source-column-in-a-transpose/m-p/872697#M42804</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-04-27T21:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a Prompt to name the source column in a transpose table in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-a-Prompt-to-name-the-source-column-in-a-transpose/m-p/880282#M43125</link>
      <description>&lt;P&gt;Yes you can use a Prompt to name the source column, but it requires modifying the underlying code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you need to modify the Source column name, or do you need to choose the source transpose variable from a list?&lt;/P&gt;
&lt;P&gt;If so create a &lt;STRONG&gt;Variable Prompt&lt;/STRONG&gt; and add as below&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-center" image-alt="JOL_1-1686596245088.png" style="width: 862px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84914i5E260AAF2693859B/image-dimensions/862x543?v=v2" width="862" height="543" role="button" title="JOL_1-1686596245088.png" alt="JOL_1-1686596245088.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;If you really need to modify the Source column name:&lt;/P&gt;
&lt;P&gt;1) Create a &lt;STRONG&gt;Text Prompt&lt;/STRONG&gt;, with the list of values&lt;/P&gt;
&lt;P&gt;2) Add the Text Prompt as in your example under Options. Run the task.&lt;/P&gt;
&lt;P&gt;3) Start typing in the &lt;STRONG&gt;generated Code&lt;/STRONG&gt; to create a copy&lt;/P&gt;
&lt;P&gt;4) Right-Click on the code under the Project tree on the left to &lt;STRONG&gt;modify the code properties&lt;/STRONG&gt;.&amp;nbsp; &lt;STRONG&gt;Select Prompts,&lt;/STRONG&gt;&amp;nbsp; add the Text Prompt.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JOL_3-1686597915080.png" style="width: 627px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84917i749A5AD78C4C9699/image-dimensions/627x527?v=v2" width="627" height="527" role="button" title="JOL_3-1686597915080.png" alt="JOL_3-1686597915080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5) Modify the &lt;STRONG&gt;PROC TRANPOSE, NAME=&lt;/STRONG&gt; option as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;change&amp;nbsp;NAME='&amp;amp;prompt_2'n&amp;nbsp; to&amp;nbsp;NAME=&amp;amp;prompt_2&lt;/STRONG&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="JOL_5-1686598638337.png" style="width: 831px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84919i3BF64A8715A270B5/image-dimensions/831x175?v=v2" width="831" height="175" role="button" title="JOL_5-1686598638337.png" alt="JOL_5-1686598638337.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;</description>
      <pubDate>Mon, 12 Jun 2023 19:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-a-Prompt-to-name-the-source-column-in-a-transpose/m-p/880282#M43125</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2023-06-12T19:39:41Z</dc:date>
    </item>
  </channel>
</rss>

