<?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: Export/Print bar graph along with table in HTML format using SAS Data integration in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Export-Print-bar-graph-along-with-table-in-HTML-format-using-SAS/m-p/680578#M19528</link>
    <description>&lt;P&gt;Your code is fine and it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you are using user written transformation, make sure you refer the output work table(Physical) of user written transformation to cars1 to view the output in DI Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or change the code to below. After running it, right click on the work table output connected to user written transformation and then select update metadata. If the option is disable try after saving the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods listing close;
ods html path='/ACTDATA/fireuw/' (url=none)
body='sgplot.html';
goptions reset=all;

PROC SQL;
create table &amp;amp;_output1. as
SELECT make, model, type, invoice, horsepower, length, weight
FROM
SASHELP.CARS
WHERE make in ('Audi','BMW')
;
RUN;
proc print;
quit;


proc SGPLOT data = &amp;amp;_output1.;
vbar length /group = type GROUPDISPLAY = CLUSTER;
title 'Cluster of Cars by Types';
run;
quit;


ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 31 Aug 2020 23:49:24 GMT</pubDate>
    <dc:creator>Rama_V</dc:creator>
    <dc:date>2020-08-31T23:49:24Z</dc:date>
    <item>
      <title>Export/Print bar graph along with table in HTML format using SAS Data integration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Export-Print-bar-graph-along-with-table-in-HTML-format-using-SAS/m-p/667655#M19411</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to print both table and bar graph in HTML but able to only get table in output using SAS DI.&lt;/P&gt;&lt;P&gt;Kindly assist me what modification is needed in my below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;BR /&gt;ods html path='/ACTDATA/fireuw/' (url=none)&lt;BR /&gt;body='sgplot.html';&lt;BR /&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;create table CARS1 as&lt;BR /&gt;SELECT make, model, type, invoice, horsepower, length, weight&lt;BR /&gt;FROM&lt;BR /&gt;SASHELP.CARS&lt;BR /&gt;WHERE make in ('Audi','BMW')&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;BR /&gt;proc print;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc SGPLOT data = cars1;&lt;BR /&gt;vbar length /group = type GROUPDISPLAY = CLUSTER;&lt;BR /&gt;title 'Cluster of Cars by Types';&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 09:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Export-Print-bar-graph-along-with-table-in-HTML-format-using-SAS/m-p/667655#M19411</guid>
      <dc:creator>AkshayS</dc:creator>
      <dc:date>2020-07-08T09:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export/Print bar graph along with table in HTML format using SAS Data integration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Export-Print-bar-graph-along-with-table-in-HTML-format-using-SAS/m-p/680578#M19528</link>
      <description>&lt;P&gt;Your code is fine and it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you are using user written transformation, make sure you refer the output work table(Physical) of user written transformation to cars1 to view the output in DI Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or change the code to below. After running it, right click on the work table output connected to user written transformation and then select update metadata. If the option is disable try after saving the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods listing close;
ods html path='/ACTDATA/fireuw/' (url=none)
body='sgplot.html';
goptions reset=all;

PROC SQL;
create table &amp;amp;_output1. as
SELECT make, model, type, invoice, horsepower, length, weight
FROM
SASHELP.CARS
WHERE make in ('Audi','BMW')
;
RUN;
proc print;
quit;


proc SGPLOT data = &amp;amp;_output1.;
vbar length /group = type GROUPDISPLAY = CLUSTER;
title 'Cluster of Cars by Types';
run;
quit;


ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Aug 2020 23:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Export-Print-bar-graph-along-with-table-in-HTML-format-using-SAS/m-p/680578#M19528</guid>
      <dc:creator>Rama_V</dc:creator>
      <dc:date>2020-08-31T23:49:24Z</dc:date>
    </item>
  </channel>
</rss>

