<?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 Concatenate  Character and Variable in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325911#M6168</link>
    <description>&lt;P&gt;Thanks &lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750" target="_self"&gt;MichelleHomes&lt;/A&gt;&amp;nbsp;!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Not the best way to do it but atleast would give me something to work with.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 09:03:17 GMT</pubDate>
    <dc:creator>Phoenix232</dc:creator>
    <dc:date>2017-01-19T09:03:17Z</dc:date>
    <item>
      <title>how to Concatenate  Character and Variable in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325640#M6159</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have recently been introduced to SAS VA and using version 7.3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a client requirement to add a text box where i would input something like "sales for this quarter" &amp;amp; Variable Sales &amp;nbsp;..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would look something like&amp;nbsp;"sales for this quarter $100000"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to find a way but not able to. Can anyone help me on this please ? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 17:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325640#M6159</guid>
      <dc:creator>Phoenix232</dc:creator>
      <dc:date>2018-09-11T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325643#M6160</link>
      <description>&lt;P&gt;This is called concatenation. &amp;nbsp;There are many ways to do this:&lt;/P&gt;
&lt;P&gt;|| &amp;nbsp; - to bars means concatenate, this is the basic methid.&lt;/P&gt;
&lt;P&gt;cat() - is a function to concate strings, pretty much the same as ||, but you can put in many strings&lt;/P&gt;
&lt;P&gt;catx() - is a function to concactenate strings with a delimter between&lt;/P&gt;
&lt;P&gt;cats() - is a function to concactenate strings removing whitespace.&lt;/P&gt;
&lt;P&gt;Plus many others. look at the documentation as its a basic functionality. &amp;nbsp;So your problem can be:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;result=cat"sales for this quarter",put(variable_sales,dollar10.2));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 12:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325643#M6160</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-18T12:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325649#M6161</link>
      <description>&lt;P&gt;Update: dynamic texts, introduced in VA 7.4 and also available in VA 8.x, would be a better solution for this scenario now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;Text objects support several types of dynamic text:&lt;/P&gt;
&lt;UL class="xisDoc-listUnordered"&gt;
&lt;LI class="xisDoc-item"&gt;Measure values&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;Parameter values&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;A timestamp for the most recent update of the current data source&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;A description of the current interactive filters (from prompts and from actions with other objects)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here’s the &lt;A href="https://go.documentation.sas.com/?cdcId=vacdc&amp;amp;cdcVersion=8.3&amp;amp;docsetId=vaobj&amp;amp;docsetTarget=p12m20004c0837n114lxcpblcnbw.htm&amp;amp;locale=en#n1ujekou88gf4in1afyj61igdzcw" target="_blank"&gt;relevant link to the 8.3 doc&lt;/A&gt; for reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using VA 7.3 the traditional base SAS concatenation is not possible in a standard text box.&amp;nbsp;There is a workaround that has been described in using a button bar that you may find a good work around at &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/SAS-Visual-Analytics-trick-Use-a-button-bar-as-a-dynamic-text/ta-p/317619" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/SAS-Visual-Analytics-trick-Use-a-button-bar-as-a-dynamic-text/ta-p/317619&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(And here's &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-concatenate-values-in-SAS/ta-p/494125" target="_self"&gt;a "how to" if you're looking for how to concatenate values&lt;/A&gt;&amp;nbsp;in traditional SAS programming.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 17:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325649#M6161</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2018-09-11T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325651#M6162</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt; - FYI, the cat family functions are not available within SAS VA 7.3 or early.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 12:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325651#M6162</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2017-01-18T12:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325911#M6168</link>
      <description>&lt;P&gt;Thanks &lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750" target="_self"&gt;MichelleHomes&lt;/A&gt;&amp;nbsp;!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Not the best way to do it but atleast would give me something to work with.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:03:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325911#M6168</guid>
      <dc:creator>Phoenix232</dc:creator>
      <dc:date>2017-01-19T09:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325917#M6169</link>
      <description>&lt;P&gt;My pleasure &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/123168"&gt;@Phoenix232&lt;/a&gt; and I understand the workaround is not ideal... Development are aware of this popular requirement and I believe are working on it for a future release. See &lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Text-Input-based-on-Drop-Down/m-p/273118/highlight/true#M4374" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/Dynamic-Text-Input-based-on-Drop-Down/m-p/273118/highlight/true#M4374&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for marking the response solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/325917#M6169</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2017-01-19T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to Concatenate  Character and Variable</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/326709#M6190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Phoenix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic rule is "allways format as the type of variable, that you need to deal with".&amp;nbsp;&lt;/P&gt;&lt;P&gt;IE: If you need to add or subtract days from a date; convert the date to a number (using the operator "TreatAs"), then do the maths, and wrap the entire formula in a new "TreatAs" to convert back to date-format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same thing with numeric values: Use "Format" and "Best" as operator to convert from numeric to string. Concatenate the two and you are done!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added a matrix showing which operators to use in VA 7.3, if you wish to convert between variable types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jais&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13349i4752E5E88EC35BA4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Convert matrix.png" title="Convert matrix.png" /&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/how-to-Concatenate-Character-and-Variable-in-SAS-Visual/m-p/326709#M6190</guid>
      <dc:creator>Jais_Tindborg</dc:creator>
      <dc:date>2017-01-23T13:51:59Z</dc:date>
    </item>
  </channel>
</rss>

