<?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: Aggregated Measures with two aggregations at different levels. in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210013#M2113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried using parameters in VA.&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/" title="http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/"&gt;http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 15:10:49 GMT</pubDate>
    <dc:creator>Explore_SAS</dc:creator>
    <dc:date>2015-07-07T15:10:49Z</dc:date>
    <item>
      <title>Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210010#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a problem. A simple example is the following:&lt;/P&gt;&lt;P&gt;We sell products, with an ID,&amp;nbsp; that we also ship. In the table the following columns occur: ID, kind_of_costs, Number of products, Amount, eg:&lt;/P&gt;&lt;P&gt;A Product&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.00&lt;/P&gt;&lt;P&gt;A Transmission 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .50&lt;/P&gt;&lt;P&gt;B Product&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 100.00&lt;/P&gt;&lt;P&gt;B Transmission 20&amp;nbsp;&amp;nbsp; 10.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Herein, the total amount for ID A is 2.50 and 110 for ID B. The numbers of products would not have to be added together: of A, 12 items have been sold and shipped, and of B 20. If we now count the total number of products shipped, we must therefore count the number per ID only once (or use the average number per ID, it does not matter). Those numbers are always the same within one ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we now define a variable in VA (aggregated measure?) that we can use as the "number per ID", which we then still want to be able to use in an aggregated measure (note: aggregated Measures can not be used in a subsequent aggregated measure, and we want to do aggregations in various _ByGroup_'s). Any ideas? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. We use VA7.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210010#M2110</guid>
      <dc:creator>MarcelHaas</dc:creator>
      <dc:date>2015-06-19T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210011#M2111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MarcelHaas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your source data, are there two rows of twelve for number per ID or are there different values that need to be accounted for. Because you have a column containing two, pre-aggregated values of twelve, we can take the average of those values, so that ID is twelve. However, if the values are different, they will not be the same as ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meredith Bailey &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:42:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210011#M2111</guid>
      <dc:creator>Meredith_SAS</dc:creator>
      <dc:date>2015-06-30T18:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210012#M2112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MarcelHaas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried creating a data query using the data builder (data preparation)? If not, here is some information that may be useful to you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#p17ph1mvuazm8an1hzi68m5jdxsf.htm" title="http://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#p17ph1mvuazm8an1hzi68m5jdxsf.htm"&gt;SAS(R) Visual Analytics 7.1: User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Lorrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210012#M2112</guid>
      <dc:creator>Lorrie_SAS</dc:creator>
      <dc:date>2015-07-06T20:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210013#M2113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried using parameters in VA.&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/" title="http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/"&gt;http://blogs.sas.com/content/sgf/2015/01/29/using-parameters-in-sas-visual-analytics/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210013#M2113</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2015-07-07T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210014#M2114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meredith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The numbers would indeed all be the same. Nevertheless, the average can now in VA (I think) only be taken over a group that is used in the Visualisation. If I would want to show the average of the 12 and the 20 per year, it is not going to work if the number of rows containing the twelve and the twenty are different...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 07:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210014#M2114</guid>
      <dc:creator>MarcelHaas</dc:creator>
      <dc:date>2015-07-09T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210015#M2115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not clear to me how to solve this issue with the data builder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210015#M2115</guid>
      <dc:creator>MarcelHaas</dc:creator>
      <dc:date>2015-07-16T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210016#M2116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not see how I can use a parameter to solve this. Do you have an example of how to use parameters here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:13:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210016#M2116</guid>
      <dc:creator>MarcelHaas</dc:creator>
      <dc:date>2015-07-16T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated Measures with two aggregations at different levels.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210017#M2117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more option not sure that will work...&lt;/P&gt;&lt;P&gt;Right click&amp;nbsp; on your measure and Create "Duplicate Data Item" and Then go to the properties section below it and change the Aggregation level to "Average".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if that works..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 13:21:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregated-Measures-with-two-aggregations-at-different-levels/m-p/210017#M2117</guid>
      <dc:creator>Explore_SAS</dc:creator>
      <dc:date>2015-07-16T13:21:15Z</dc:date>
    </item>
  </channel>
</rss>

