<?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: How to Subtract &amp;quot;Dimension Level&amp;quot; from &amp;quot;Total&amp;quot; in WRS? in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-to-Subtract-quot-Dimension-Level-quot-from-quot-Total-quot/m-p/30573#M472</link>
    <description>John,&lt;BR /&gt;
Is this using an OLAP cube source? If so...&lt;BR /&gt;
&lt;BR /&gt;
You could consider creating a Calculated Member in OLAP Cube Studio to use in the Info Map (and subsequent WRS report). Otherwise you would need to create this new measure in your Information Map.&lt;BR /&gt;
&lt;BR /&gt;
In both methods, you will need to utilize MDX code to create the calculation. I would actually recommend opening the cube in Enterprise Guide and creating/testing the calculation here (create a new 'calculated measure'). Then saving the calculation back into the OLAP Cube via the Cube Studio 'calculated member' widget.&lt;BR /&gt;
&lt;BR /&gt;
Example of the SUM function = &lt;A href="http://msdn.microsoft.com/en-us/library/ms145484.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/ms145484.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
    <pubDate>Thu, 11 Nov 2010 15:05:13 GMT</pubDate>
    <dc:creator>AngelaHall</dc:creator>
    <dc:date>2010-11-11T15:05:13Z</dc:date>
    <item>
      <title>How to Subtract "Dimension Level" from "Total" in WRS?</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-to-Subtract-quot-Dimension-Level-quot-from-quot-Total-quot/m-p/30572#M471</link>
      <description>Hi Experts,&lt;BR /&gt;
I need urgent help on the following issue. I am creating a web report. The table consists of 2 measures(present on column side). Two Measures arePInc$, PCI $. The table consists of "Age Group" Dimension(row side). The "Age Group" dimension has 6 levels .....&amp;lt;15,(20-25), (26-30),(31-35), (36-40),Missing. I am able to total all the "Level" values using the "Total option" in the WRS. I am not able to subtract "Missing" level from "Total". Could anyone please provide solution for this question. I will be very greatful to you.&lt;BR /&gt;
......... PInc$  PCI$		&lt;BR /&gt;
&amp;lt;15........10.....20	&lt;BR /&gt;
20-25......15......35		&lt;BR /&gt;
26-30......30......10		&lt;BR /&gt;
31-35......65......25		&lt;BR /&gt;
36-40......20......80		&lt;BR /&gt;
Missing....40......90		&lt;BR /&gt;
----------------------------------------------------&lt;BR /&gt;
Total.......180.....260.............&lt;BR /&gt;
Missing......40......90...........		&lt;BR /&gt;
--------------------------------------------------&lt;BR /&gt;
TotKnown..???????????	&lt;BR /&gt;
----------------------------------------------------&lt;BR /&gt;
Many Thanks,&lt;BR /&gt;
John Mayor&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: john83

Message was edited by: john83</description>
      <pubDate>Tue, 09 Nov 2010 05:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-to-Subtract-quot-Dimension-Level-quot-from-quot-Total-quot/m-p/30572#M471</guid>
      <dc:creator>john83</dc:creator>
      <dc:date>2010-11-09T05:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Subtract "Dimension Level" from "Total" in WRS?</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-to-Subtract-quot-Dimension-Level-quot-from-quot-Total-quot/m-p/30573#M472</link>
      <description>John,&lt;BR /&gt;
Is this using an OLAP cube source? If so...&lt;BR /&gt;
&lt;BR /&gt;
You could consider creating a Calculated Member in OLAP Cube Studio to use in the Info Map (and subsequent WRS report). Otherwise you would need to create this new measure in your Information Map.&lt;BR /&gt;
&lt;BR /&gt;
In both methods, you will need to utilize MDX code to create the calculation. I would actually recommend opening the cube in Enterprise Guide and creating/testing the calculation here (create a new 'calculated measure'). Then saving the calculation back into the OLAP Cube via the Cube Studio 'calculated member' widget.&lt;BR /&gt;
&lt;BR /&gt;
Example of the SUM function = &lt;A href="http://msdn.microsoft.com/en-us/library/ms145484.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/ms145484.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
      <pubDate>Thu, 11 Nov 2010 15:05:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/How-to-Subtract-quot-Dimension-Level-quot-from-quot-Total-quot/m-p/30573#M472</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2010-11-11T15:05:13Z</dc:date>
    </item>
  </channel>
</rss>

