<?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 About numeric to character conversion in expressions of calculated item in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/280859#M4695</link>
    <description>&lt;P&gt;HI!&lt;/P&gt;
&lt;P&gt;In my source file I have two numeric items that must be concatenated.&lt;BR /&gt;So I tried to convert them to string before concatenating them.&lt;BR /&gt;I create a calculated item to convert one of the fields into character,:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3818iE02A5B478E359AC9/image-size/original?v=v2&amp;amp;px=-1" alt="Snap 2016-06-28 at 14.31.57.jpg" title="Snap 2016-06-28 at 14.31.57.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ask for a preview of the results of the expression but nothing is displayed&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3819iB2FC6966A503815E/image-size/original?v=v2&amp;amp;px=-1" alt="Snap 2016-06-28 at 14.33.45.jpg" title="Snap 2016-06-28 at 14.33.45.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advanced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Silvia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 17:37:53 GMT</pubDate>
    <dc:creator>SilinBorro</dc:creator>
    <dc:date>2016-06-28T17:37:53Z</dc:date>
    <item>
      <title>About numeric to character conversion in expressions of calculated item</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/280859#M4695</link>
      <description>&lt;P&gt;HI!&lt;/P&gt;
&lt;P&gt;In my source file I have two numeric items that must be concatenated.&lt;BR /&gt;So I tried to convert them to string before concatenating them.&lt;BR /&gt;I create a calculated item to convert one of the fields into character,:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3818iE02A5B478E359AC9/image-size/original?v=v2&amp;amp;px=-1" alt="Snap 2016-06-28 at 14.31.57.jpg" title="Snap 2016-06-28 at 14.31.57.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ask for a preview of the results of the expression but nothing is displayed&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3819iB2FC6966A503815E/image-size/original?v=v2&amp;amp;px=-1" alt="Snap 2016-06-28 at 14.33.45.jpg" title="Snap 2016-06-28 at 14.33.45.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advanced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Silvia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 17:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/280859#M4695</guid>
      <dc:creator>SilinBorro</dc:creator>
      <dc:date>2016-06-28T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: About numeric to character conversion in expressions of calculated item</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282086#M4733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I don't use Visual analitics, but in SAS, to change the format you use something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;put(id_project, best8.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Indicating that id_project must be put in best8. The result of the put is a string with the content of id_project in the format that you requested in categorical.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 06:45:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282086#M4733</guid>
      <dc:creator>arodriguez</dc:creator>
      <dc:date>2016-07-05T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: About numeric to character conversion in expressions of calculated item</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282099#M4734</link>
      <description>&lt;P&gt;Hi Sillin Borro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of that use Best Format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3907i1030AE0CCB4F8907/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Untitled.png" title="Untitled.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Teja Surapaneni.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 08:31:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282099#M4734</guid>
      <dc:creator>TejaSurapaneni</dc:creator>
      <dc:date>2016-07-05T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: About numeric to character conversion in expressions of calculated item</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282207#M4740</link>
      <description>&lt;P&gt;Hi!,&lt;/P&gt;
&lt;P&gt;thanks for the answer.&lt;/P&gt;
&lt;P&gt;I' ve tried with put command, but it'sn recognized as a command&lt;/P&gt;
&lt;P&gt;in an expression.in a calculated item in SAS Visual Analytics.&lt;BR /&gt;thas's why I uses FORMAT.&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;
&lt;P&gt;Silvia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:54:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/282207#M4740</guid>
      <dc:creator>SilinBorro</dc:creator>
      <dc:date>2016-07-05T16:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: About numeric to character conversion in expressions of calculated item</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/414799#M8710</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I had a data of 800gb, but the user has loaded it on lasr, and the column trdng_wk_end was having the values in number 20170112.&lt;/P&gt;&lt;P&gt;2. To create a date out of 20170112 kind of numbers follow the following.&lt;/P&gt;&lt;P&gt;2. create a new calculated item.&amp;nbsp; I used the combination of functions.&lt;/P&gt;&lt;P&gt;mdy - outer shell&lt;/P&gt;&lt;P&gt;parse - first inner shell&lt;/P&gt;&lt;P&gt;substr - second inner shell&lt;/P&gt;&lt;P&gt;format -&amp;nbsp;inner most inner shell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My case:&lt;/P&gt;&lt;P&gt;DateFromMDY(Parse(Substring(Format('TRDNG_WK_END_DT'n, 'BEST2.'), 5, 2), 'COMMA2.'), Parse(Substring(Format('TRDNG_WK_END_DT'n, 'BEST2.'), 7, 2), 'COMMA2.'),&lt;/P&gt;&lt;P&gt;Parse(Substring(Format('TRDNG_WK_END_DT'n, 'BEST4.'), 1, 4), 'COMMA4.'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhusudhan&lt;/P&gt;&lt;P&gt;SAS Administrator&amp;nbsp;&lt;/P&gt;&lt;P&gt;Landmark Group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 11:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/About-numeric-to-character-conversion-in-expressions-of/m-p/414799#M8710</guid>
      <dc:creator>VivekRathod</dc:creator>
      <dc:date>2017-11-20T11:04:59Z</dc:date>
    </item>
  </channel>
</rss>

