<?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: Creating Custom Category in SAS VA in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576510#M12840</link>
    <description>&lt;P&gt;Try&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;IF ( Geo= '&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21.33px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;APAC&lt;/SPAN&gt;' )
RETURN '&lt;SPAN style="background-color: transparent; color: #333333; display: inline; float: none; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21.33px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;APAC&lt;/SPAN&gt;'
ELSE 'Rest of the World'&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Jul 2019 09:23:02 GMT</pubDate>
    <dc:creator>GertNissen</dc:creator>
    <dc:date>2019-07-25T09:23:02Z</dc:date>
    <item>
      <title>Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576450#M12835</link>
      <description>&lt;P&gt;This is a query on the basis of the following thread&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-custom-category-in-SAS-VA-using-2-different-source/m-p/553671#M12335" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-custom-category-in-SAS-VA-using-2-different-source/m-p/553671#M12335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a different issue compared to the one above. I need to create a custom category/ calculated item which is unique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the screenshot to understand it better - In the bar chart, "Group" is a sum of all revenue across all regions (including APAC, Europe and Americas), APAC is just APAC&amp;nbsp;and "Rest of the world" is Europe and Americas. They are all built off the same variable. I need to create a category/ calculated item to use in a bar chart and assign values accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="screenshot.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31281i3E4E268DA33E5E30/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.png" alt="screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course the below code doesn't work but below is a sample of how I expect it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF ( 'Geo'n In ('APAC', 'Europe', 'North America', 'Enterprise') )&lt;BR /&gt;RETURN 'Group'&lt;BR /&gt;ELSE (&lt;BR /&gt;IF ( 'Geo'n = 'APAC' )&lt;BR /&gt;RETURN 'APAC'&lt;BR /&gt;ELSE 'Rest of the World'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 05:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576450#M12835</guid>
      <dc:creator>Ramakanthkrovi</dc:creator>
      <dc:date>2019-07-25T05:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576462#M12836</link>
      <description>&lt;P&gt;Looks like you are missing a bracket at least:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;IF ( 'Geo'n In ('APAC', 'Europe', 'North America', 'Enterprise') )
RETURN 'Group'
ELSE (
IF ( 'Geo'n = 'APAC' )
RETURN 'APAC'
ELSE 'Rest of the World')&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 06:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576462#M12836</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-25T06:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576463#M12837</link>
      <description>&lt;P&gt;True, but that was what I put together quickly to help you understand the problem.&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I am including all values of 'Geo' to create 'Group' - the new calculated item will always have only one value - Group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 06:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576463#M12837</guid>
      <dc:creator>Ramakanthkrovi</dc:creator>
      <dc:date>2019-07-25T06:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576482#M12838</link>
      <description>&lt;P&gt;Another reason this is not going to work is you have APAC both in the "GROUP" and as its own category. I suspect you will have to create two custom categories, one for GROUP, and another for APAC/Rest of World. Give it a try.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 07:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576482#M12838</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-25T07:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576510#M12840</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;IF ( Geo= '&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21.33px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;APAC&lt;/SPAN&gt;' )
RETURN '&lt;SPAN style="background-color: transparent; color: #333333; display: inline; float: none; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21.33px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;APAC&lt;/SPAN&gt;'
ELSE 'Rest of the World'&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 09:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576510#M12840</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2019-07-25T09:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576761#M12846</link>
      <description>&lt;P&gt;Exactly, that is the problem. I want to create a category which is custom and I already explained that in the initial question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is like writing&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(All geos) = "Group"&lt;/P&gt;&lt;P&gt;APAC = "APAC"&lt;/P&gt;&lt;P&gt;sum(all geos) - APAC = "RoW"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that is the custom category. is it possible in SAS VA?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 22:48:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/576761#M12846</guid>
      <dc:creator>Ramakanthkrovi</dc:creator>
      <dc:date>2019-07-25T22:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Category in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/577194#M12853</link>
      <description>&lt;P&gt;You can't sum a character column. I suggest you experiment with splitting your customer category into two separate ones as already discussed.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2019 22:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-Custom-Category-in-SAS-VA/m-p/577194#M12853</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-27T22:19:27Z</dc:date>
    </item>
  </channel>
</rss>

