<?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: SAS VA report: average and sum in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302943#M5547</link>
    <description>&lt;P&gt;If i create a duplicate measure and choose sum then i will get the correct stock. but not the correct stock capacity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my warehouse has a stock capacity of 150, 120 for tools, 30 for buckets.&lt;/P&gt;
&lt;P&gt;But my stock capacity is listed in each row. So when i take average per category: i get 120 for tools, 30 for buckets, which is correct.&lt;/P&gt;
&lt;P&gt;But if i want my total stock capacity (for tools AND buckets) i want to see 150? and not 400 (120+120+120+30+30)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More clear now?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 13:42:24 GMT</pubDate>
    <dc:creator>Filipvdr</dc:creator>
    <dc:date>2016-10-06T13:42:24Z</dc:date>
    <item>
      <title>SAS VA report: average and sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302892#M5542</link>
      <description>&lt;P&gt;Dataset looks like:&lt;BR /&gt;
Item Category Stock Stock Capacity (per category)&lt;BR /&gt; A Tools 100 120 &lt;BR /&gt; B Tools 10 120 &lt;BR /&gt; C Tools 5 120 &lt;BR /&gt; D Buckets 5 30 &lt;BR /&gt; E Buckets 10 30 &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; So if i want to get my stock and capaicty per category: i have to take the average to view my stock. (so 115/120 and 15/30) But now i also want my total stock (130/150) I have this info for each month. Is it possible in any way to calculate the total stock in SAS VA? Or do i have to calculate it using DI or EG?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 09:49:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302892#M5542</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2016-10-06T09:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA report: average and sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302938#M5546</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not completely sure I understand the question. Would it be helpful to create a duplicate measure for Stock? You could create a duplicate measure called "Total Stock" and assign the Sum aggregation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, the Crosstab and List Table report objects have options to display totals for your measures if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302938#M5546</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-10-06T13:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA report: average and sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302943#M5547</link>
      <description>&lt;P&gt;If i create a duplicate measure and choose sum then i will get the correct stock. but not the correct stock capacity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my warehouse has a stock capacity of 150, 120 for tools, 30 for buckets.&lt;/P&gt;
&lt;P&gt;But my stock capacity is listed in each row. So when i take average per category: i get 120 for tools, 30 for buckets, which is correct.&lt;/P&gt;
&lt;P&gt;But if i want my total stock capacity (for tools AND buckets) i want to see 150? and not 400 (120+120+120+30+30)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More clear now?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/302943#M5547</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2016-10-06T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA report: average and sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/303267#M5554</link>
      <description>Oh, I see the problem -- your stock capacity values are repeated for each value within each category.&lt;BR /&gt;&lt;BR /&gt;It might be possible to do this in VA but I don't know how.&lt;BR /&gt;&lt;BR /&gt;Maybe someone else can help?</description>
      <pubDate>Fri, 07 Oct 2016 19:26:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-report-average-and-sum/m-p/303267#M5554</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2016-10-07T19:26:10Z</dc:date>
    </item>
  </channel>
</rss>

