<?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 Visual Analytics New Aggregated Measure displays only number 1 instead of Avg in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/423100#M9016</link>
    <description>&lt;P&gt;Thanks for sticking with me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;Your suggestion makes sense logically, but&amp;nbsp;I'm not sure I did it correctly because I'm still seeing just 1.00.&amp;nbsp; However, I found another suggestion for how to get around this which is to add the mean variable to the sas dataset from which the VA chart is build.&amp;nbsp; I am going to try that next.&amp;nbsp; Thanks again, Jenefer.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 14:41:59 GMT</pubDate>
    <dc:creator>jlr337</dc:creator>
    <dc:date>2017-12-21T14:41:59Z</dc:date>
    <item>
      <title>SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422161#M8986</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am trying to create a new, derived field to use in tables and graphs. I have followed the steps outline in many pages/tutorials but the field is not calculating as expected. I want to create a line chart noting the volume (frequency) and mean by month. (adding UCL and LCL fields as well but am having same issue with those fields, presumably because they use the mean in their calculations) Screenshots attached.&amp;nbsp; I don't understand why the mean is not calculating but only displaying a 1.00 per month (category). I attempted to create a new calculated field but the frequency measure does not appear and I have no other field that is numeric.&amp;nbsp; I see how to add a reference line, but I don't want to have to recalculate it each time.&amp;nbsp; I am using SAS VA 7.3. Thanks in advance for your assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 22:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422161#M8986</guid>
      <dc:creator>jlr337</dc:creator>
      <dc:date>2017-12-18T22:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422623#M8997</link>
      <description>&lt;P&gt;This is how I see it...:)&lt;/P&gt;
&lt;P&gt;Since frequency is 1 on every row in the data the average can never be anything else than 1, regardless how you group the data.&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 07:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422623#M8997</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-12-20T07:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422726#M9003</link>
      <description>&lt;P&gt;Thank you for the response FriderikE.&amp;nbsp; That's what I was afraid of.&amp;nbsp; Can you recommend how I could get it to work?&amp;nbsp; I need a mean value of the total volume&amp;nbsp;by month.&amp;nbsp; When I calculate the mean, UCL, LCL, and Stdev in Excel, it looks like this (see attached).&amp;nbsp;&amp;nbsp; As new data is entered,&amp;nbsp;monthly rows would be added and&amp;nbsp;these&amp;nbsp;values would update accordingly, ideally, without having to add/update anything manually. &amp;nbsp;I am attempting to create a chart in VA with these data, then pulling into Excel using SAS add-in so end user can update as needed just by refreshing.&amp;nbsp; My back up plan is to create tab in excel to calculate and create the charts, but I was hoping to do this in VA so that it can be as &amp;nbsp;'automated' as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;(if you see an issue with my math, please let me know.&amp;nbsp; I know there is a way to calculate the mean/ucl/lcl that adjusts but I don't know how to do that, so I'm keeping it simple- but it still may not be correct)&lt;/P&gt;&lt;P&gt;Thank you for the response FriderikE. That's what I was afraid of. Can you recommend how I could get it to work? I need a mean value of the total volume by month. When I calculate the mean, UCL, LCL, and Stdev in Excel, it looks like this (below). As new data is entered, monthly rows would be added and these values would update accordingly, ideally, without having to add/update anything manually. I am attempting to create a chart in VA with these data, then pulling into Excel using SAS add-in so end user can update as needed just by refreshing. My back up plan is to create tab in excel to calculate and create the charts, but I was hoping to do this in VA so that it can be as 'automated' as possible. (if you see an issue with my math, please let me know. I know there is a way to calculate the mean/ucl/lcl that adjusts but I don't know how to do that, so I'm keeping it simple- but it still may not be correct) mean=avg($B$1:$B$17), stdev=stdev.p($B$1:$B$17), ucl=C1+(3*D1), lcl=C1-(3*D1) mon(A) total(B) mean(C) stdev(D) ucl(E) lcl(F)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 15:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422726#M9003</guid>
      <dc:creator>jlr337</dc:creator>
      <dc:date>2017-12-20T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422793#M9004</link>
      <description>&lt;P&gt;I have tried some ideas but I don't manage to get the total sum of periods. The total of frequency works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, but I think the problem is that it is not possible to do aggregations on aggregations....&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 17:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422793#M9004</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-12-20T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422797#M9005</link>
      <description>&lt;P&gt;Gotcha.&amp;nbsp; That's too bad, but I really appreciate your help with this.&amp;nbsp; Thanks! Jenefer&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 17:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/422797#M9005</guid>
      <dc:creator>jlr337</dc:creator>
      <dc:date>2017-12-20T17:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/423075#M9015</link>
      <description>&lt;P&gt;Can't let this go yet.....:)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe this can work if you look at one year at the time....:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First create a aggregated variable with the total sum of frequency:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg_total_1.png" style="width: 312px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17492i38F972FA704DE1F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg_total_1.png" alt="avg_total_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then create a second aggregated variable that counts the distinct periods:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg_total_2.png" style="width: 358px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17493i3B6A56C882A60E0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg_total_2.png" alt="avg_total_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Finally create a aggregated variable that do the division var1 / var2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this might work ?&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 12:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/423075#M9015</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-12-21T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics New Aggregated Measure displays only number 1 instead of Avg</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/423100#M9016</link>
      <description>&lt;P&gt;Thanks for sticking with me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;Your suggestion makes sense logically, but&amp;nbsp;I'm not sure I did it correctly because I'm still seeing just 1.00.&amp;nbsp; However, I found another suggestion for how to get around this which is to add the mean variable to the sas dataset from which the VA chart is build.&amp;nbsp; I am going to try that next.&amp;nbsp; Thanks again, Jenefer.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 14:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-New-Aggregated-Measure-displays-only-number/m-p/423100#M9016</guid>
      <dc:creator>jlr337</dc:creator>
      <dc:date>2017-12-21T14:41:59Z</dc:date>
    </item>
  </channel>
</rss>

