<?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 Export and Import Web Report Studio (4.2) Report Codes in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61100#M1174</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to report Web Report Studio (4.2) Report Codes?   In cube studio (4.2), one can report the codes of the cube and edit them and run it in enterprise guide to create a new cube.  Can we do the same for Web Report?&lt;BR /&gt;
&lt;BR /&gt;
I created a few custom items in a Web Report (4.2), Is there a way to import them to a different report?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bob.</description>
    <pubDate>Tue, 11 Jan 2011 01:34:15 GMT</pubDate>
    <dc:creator>databobjr</dc:creator>
    <dc:date>2011-01-11T01:34:15Z</dc:date>
    <item>
      <title>Export and Import Web Report Studio (4.2) Report Codes</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61100#M1174</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to report Web Report Studio (4.2) Report Codes?   In cube studio (4.2), one can report the codes of the cube and edit them and run it in enterprise guide to create a new cube.  Can we do the same for Web Report?&lt;BR /&gt;
&lt;BR /&gt;
I created a few custom items in a Web Report (4.2), Is there a way to import them to a different report?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bob.</description>
      <pubDate>Tue, 11 Jan 2011 01:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61100#M1174</guid>
      <dc:creator>databobjr</dc:creator>
      <dc:date>2011-01-11T01:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export and Import Web Report Studio (4.2) Report Codes</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61101#M1175</link>
      <description>There is no feature in WRS that you can use to export code that can be used to create new reports. If you think that you will reuse custom data items, it is best to create them in the information map, so that they can be used in multiple reports.&lt;BR /&gt;
&lt;BR /&gt;
You also can do a Save As on the existing report and then edit the copy as needed..</description>
      <pubDate>Tue, 11 Jan 2011 03:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61101#M1175</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2011-01-11T03:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export and Import Web Report Studio (4.2) Report Codes</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61102#M1176</link>
      <description>Not all of data items cannot be defined in information map.  For example, we have :&lt;BR /&gt;
&lt;BR /&gt;
date, new subscribers, existing subscribers, canceled subscribers. total subscribers, %new&lt;BR /&gt;
&lt;BR /&gt;
total subscribers = new + existing - canceled&lt;BR /&gt;
&lt;BR /&gt;
%new = new/total.&lt;BR /&gt;
&lt;BR /&gt;
report can be grouped by date,week, month, etc.  &lt;BR /&gt;
&lt;BR /&gt;
In this report, the calculation cannot be done in information map. It need to be done on reports, Am I right?&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
Bob.</description>
      <pubDate>Tue, 11 Jan 2011 12:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61102#M1176</guid>
      <dc:creator>databobjr</dc:creator>
      <dc:date>2011-01-11T12:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export and Import Web Report Studio (4.2) Report Codes</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61103#M1177</link>
      <description>Actually, you can define these measures in the Information Map.&lt;BR /&gt;
Using the expression editor, you will need to include code that works in SQL.&lt;BR /&gt;
&lt;BR /&gt;
For the example total subscribers = new + existing - canceled, you will need to do something like the following:&lt;BR /&gt;
&lt;BR /&gt;
CASE WHEN subscriber = new THEN 1&lt;BR /&gt;
          ELSE WHEN subscriber = existing THEN 1&lt;BR /&gt;
          ELSE WHEN subscriber = canceled THEN -1&lt;BR /&gt;
END&lt;BR /&gt;
&lt;BR /&gt;
Then on the data item properities 'Classifications, Aggregations, Formats' tab - verify that this is defined as a measure with the only aggregate function as SUM. &lt;BR /&gt;
&lt;BR /&gt;
~ Angela&lt;BR /&gt;
&lt;A href="http://sas-bi.blogspot.com" target="_blank"&gt;http://sas-bi.blogspot.com&lt;/A&gt;</description>
      <pubDate>Tue, 11 Jan 2011 13:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-and-Import-Web-Report-Studio-4-2-Report-Codes/m-p/61103#M1177</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2011-01-11T13:52:52Z</dc:date>
    </item>
  </channel>
</rss>

