<?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: Pivoting Data in SAS Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333310#M6387</link>
    <description>&lt;P&gt;This looks like the right idea, is this in the data prep stage? the designers were asking me from a dashboard point of view, if possible.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 08:18:15 GMT</pubDate>
    <dc:creator>sasadmin_tlove</dc:creator>
    <dc:date>2017-02-16T08:18:15Z</dc:date>
    <item>
      <title>Pivoting Data in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/332941#M6368</link>
      <description>&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;One of our business units who want to start using VA for thier BAU reporting have asked a simple question, but i'm struggling to find an way to visualise the data the way they want,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;they currently have the orginal dataset looking like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;team&lt;/TD&gt;&lt;TD&gt;size&lt;/TD&gt;&lt;TD&gt;freq&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;227415&lt;/TD&gt;&lt;TD&gt;1266411&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2083&lt;/TD&gt;&lt;TD&gt;5468&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;385419&lt;/TD&gt;&lt;TD&gt;104928&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;17310&lt;/TD&gt;&lt;TD&gt;529880&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;274750&lt;/TD&gt;&lt;TD&gt;860149&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;16104&lt;/TD&gt;&lt;TD&gt;5848&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;G&lt;/TD&gt;&lt;TD&gt;7377&lt;/TD&gt;&lt;TD&gt;2492586&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and they want to pivot the output on the report to look exactly like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Values&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;G&lt;/TD&gt;&lt;TD&gt;Grand Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sum of size&lt;/TD&gt;&lt;TD&gt;227415&lt;/TD&gt;&lt;TD&gt;2083&lt;/TD&gt;&lt;TD&gt;385419&lt;/TD&gt;&lt;TD&gt;17310&lt;/TD&gt;&lt;TD&gt;274750&lt;/TD&gt;&lt;TD&gt;16104&lt;/TD&gt;&lt;TD&gt;7377&lt;/TD&gt;&lt;TD&gt;930458&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sum of freq&lt;/TD&gt;&lt;TD&gt;1266411&lt;/TD&gt;&lt;TD&gt;5468&lt;/TD&gt;&lt;TD&gt;104928&lt;/TD&gt;&lt;TD&gt;529880&lt;/TD&gt;&lt;TD&gt;860149&lt;/TD&gt;&lt;TD&gt;5848&lt;/TD&gt;&lt;TD&gt;2492586&lt;/TD&gt;&lt;TD&gt;5265270&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there someone who could tell me if this is possible and how to achieve it in Visual Analytics&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 10:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/332941#M6368</guid>
      <dc:creator>sasadmin_tlove</dc:creator>
      <dc:date>2017-02-15T10:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pivoting Data in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333022#M6373</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
retain team typ;
input team $ size freq;
typ="sum_of_size";val=size;output;
typ="sum_of_freq";val=freq;output;
cards4;
A 227415 1266411
B 2083 5468
C 385419 104928
D 17310 529880
E 274750 860149
F 16104 5848
G 7377 2492586
;;;;
run;quit;


Ods Exclude All;
Ods Output Observed=want;
Proc Corresp Data=have Observed dim=1;
   Table Typ, Team;
weight val;
Run;
Ods Select All;
proc print data=want;run;


LABEL                A          B          C          D          E          F          G        SUM

sum_of_freq    1266411       5468     104928     529880     860149       5848    2492586    5265270
sum_of_size     227415       2083     385419      17310     274750      16104       7377     930458
Sum            1493826       7551     490347     547190    1134899      21952    2499963    6195728

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 14:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333022#M6373</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2017-02-15T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pivoting Data in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333025#M6374</link>
      <description>&lt;P&gt;SAS Visual Data Builder has a "Pivot By" feature:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaug/68648/HTML/default/viewer.htm#n1q1acd3jwqopsn11hc2p8zo8avv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaug/68648/HTML/default/viewer.htm#n1q1acd3jwqopsn11hc2p8zo8avv.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 14:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333025#M6374</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2017-02-15T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivoting Data in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333310#M6387</link>
      <description>&lt;P&gt;This looks like the right idea, is this in the data prep stage? the designers were asking me from a dashboard point of view, if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/333310#M6387</guid>
      <dc:creator>sasadmin_tlove</dc:creator>
      <dc:date>2017-02-16T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivoting Data in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/334050#M6396</link>
      <description>&lt;P&gt;Doesn't the crosstab object give you what you need?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may need to normalise (unpivot) your data first so that the numeric values are all in the same column with an additional column to identify to get the layout you describe though.&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/7336i6434B9D8932F435B/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capturetmp.GIF" title="Capturetmp.GIF" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 11:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Pivoting-Data-in-SAS-Visual-Analytics/m-p/334050#M6396</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-02-18T11:39:12Z</dc:date>
    </item>
  </channel>
</rss>

