<?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 Any chance to move group by calculated item from one data to another in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744203#M14958</link>
    <description>&lt;P&gt;In Visual Analytics I have some calculated items like "my aggregation" which can be applied into other tables. Any way I could drag or copy those calculated items to other tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vietlinh12hoa_0-1622135855480.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59821i8791BE1291097776/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vietlinh12hoa_0-1622135855480.png" alt="vietlinh12hoa_0-1622135855480.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 17:18:04 GMT</pubDate>
    <dc:creator>vietlinh12hoa</dc:creator>
    <dc:date>2021-05-27T17:18:04Z</dc:date>
    <item>
      <title>Any chance to move group by calculated item from one data to another</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744203#M14958</link>
      <description>&lt;P&gt;In Visual Analytics I have some calculated items like "my aggregation" which can be applied into other tables. Any way I could drag or copy those calculated items to other tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vietlinh12hoa_0-1622135855480.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59821i8791BE1291097776/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vietlinh12hoa_0-1622135855480.png" alt="vietlinh12hoa_0-1622135855480.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 17:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744203#M14958</guid>
      <dc:creator>vietlinh12hoa</dc:creator>
      <dc:date>2021-05-27T17:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Any chance to move group by calculated item from one data to another</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744214#M14959</link>
      <description>&lt;P&gt;The devil is in the details.&lt;/P&gt;
&lt;P&gt;The answer is probably "Yes".&lt;/P&gt;
&lt;P&gt;But we need to see both tables, or examples thereof, and what you expect the result to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding columns usually implies that there are one or more row identifiers to "match" on. Is that the case here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 16:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744214#M14959</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-27T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Any chance to move group by calculated item from one data to another</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744233#M14960</link>
      <description>&lt;P&gt;For example I have the old table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vietlinh12hoa_0-1622133195360.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59817i840760511C17254A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vietlinh12hoa_0-1622133195360.png" alt="vietlinh12hoa_0-1622133195360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the aggregation is sum, mean, median, .... all values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and now the table with new column&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vietlinh12hoa_1-1622133236175.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59819i3C6D5743D0193F64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vietlinh12hoa_1-1622133236175.png" alt="vietlinh12hoa_1-1622133236175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;also just take sum, mean, median, .... all values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean I can open editor and copies the formula but it won't be efficient when I have 100 aggregation calculation.&lt;/P&gt;&lt;P&gt;Any method drag drop calculated items from old table to the new table&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 16:34:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744233#M14960</guid>
      <dc:creator>vietlinh12hoa</dc:creator>
      <dc:date>2021-05-27T16:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Any chance to move group by calculated item from one data to another</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744236#M14961</link>
      <description>&lt;P&gt;If you have two data sets sorted by the ID variable you show with only one observation per id then you can merge them with code like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data merged;
    merge dataold datanew;
    by id;
run;&lt;/PRE&gt;
&lt;P&gt;Placing the new data set second means that any variables with the same name in new and old, other than the variable(s) on the BY statement, will have the values of the variables in the new data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have more than one value of ID in each set then you may have to share more information, as in actual data, as the desired behavior may be trickier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand any of your comments about means, median, sum or what have you. That doesn't have anytihing to do with "from one data to another".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 16:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744236#M14961</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-27T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Any chance to move group by calculated item from one data to another</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744245#M14963</link>
      <description>&lt;P&gt;I just edited my question.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 17:18:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Any-chance-to-move-group-by-calculated-item-from-one-data-to/m-p/744245#M14963</guid>
      <dc:creator>vietlinh12hoa</dc:creator>
      <dc:date>2021-05-27T17:18:55Z</dc:date>
    </item>
  </channel>
</rss>

