<?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: count values using a group in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/439164#M9536</link>
    <description>Hi Michelle,&lt;BR /&gt;&lt;BR /&gt;Thanks for the great tip about Derived Items.&lt;BR /&gt;&lt;BR /&gt;Downunder Dave.</description>
    <pubDate>Thu, 22 Feb 2018 04:41:17 GMT</pubDate>
    <dc:creator>DaveShea</dc:creator>
    <dc:date>2018-02-22T04:41:17Z</dc:date>
    <item>
      <title>count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/335659#M6456</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS VA 7.3.&lt;/P&gt;
&lt;P&gt;How can I get the value in a variable in SAS VA Report Designer that is equivalent to the count&amp;nbsp;produced by below query ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select customer_type, count( distinct customer_id)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;group by customer_type;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Kris&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 16:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/335659#M6456</guid>
      <dc:creator>KrisNori</dc:creator>
      <dc:date>2017-02-24T16:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/335785#M6458</link>
      <description>&lt;P&gt;You can create a derived item on your customer_id category using the Creating Derived Items technique described in the &lt;A href="http://support.sas.com/documentation/cdl/en/vaug/68648/HTML/default/viewer.htm#n1ticv66yqm3ecn1696rpdyarqev.htm" target="_blank"&gt;SAS Visual Analytics User Guide: Creating Derived Items&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get a table of each customer_type by the distinct customer_id use both data items in a table object and you'll have the listing you desire. If you prefer a different visual then use customer_type and your derived item in that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 22:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/335785#M6458</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2017-02-24T22:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/439164#M9536</link>
      <description>Hi Michelle,&lt;BR /&gt;&lt;BR /&gt;Thanks for the great tip about Derived Items.&lt;BR /&gt;&lt;BR /&gt;Downunder Dave.</description>
      <pubDate>Thu, 22 Feb 2018 04:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/439164#M9536</guid>
      <dc:creator>DaveShea</dc:creator>
      <dc:date>2018-02-22T04:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484412#M10823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes&lt;/a&gt;&lt;/P&gt;&lt;P&gt;is there a way to create an aggregated variable, such as the one you suggested in this post, and then use it's distinct value&amp;nbsp;in order to create other report?&lt;/P&gt;&lt;P&gt;For example i want to create a report that counts distinct customers that made that amount of count.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 15:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484412#M10823</guid>
      <dc:creator>gabras</dc:creator>
      <dc:date>2018-08-06T15:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484487#M10827</link>
      <description>&lt;P&gt;It seems that what you are trying to achieve&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/121210"&gt;@gabras&lt;/a&gt;&amp;nbsp;is now available in the newly released SAS Visual Analytics 8.3 on SAS Viya 3.4. See documentation&amp;nbsp;&lt;A href="http://documentation.sas.com/?cdcId=vacdc&amp;amp;cdcVersion=8.3&amp;amp;docsetId=vawn&amp;amp;docsetTarget=n1ehcc5pjl4yrtn1sjq5rellrmog.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=vacdc&amp;amp;cdcVersion=8.3&amp;amp;docsetId=vawn&amp;amp;docsetTarget=n1ehcc5pjl4yrtn1sjq5rellrmog.htm&amp;amp;locale=en&lt;/A&gt; and the Enhanced Data Pane section.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using any other release you’ll need to create the aggregated value as a query or outside VA and have the data source available for the new report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484487#M10827</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2018-08-06T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: count values using a group</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484490#M10828</link>
      <description>&lt;P&gt;It seems to me that SAS VA doesn't support a dinamic report except for SAS Viya.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if i use a data query in the Data Preparation Panel is it possible to treat the query builder as a stored process?&lt;/P&gt;&lt;P&gt;Let's say i create the query. is it possible to associate a from_data and to_data prompts to trigger the execution of the quey in order to create the report?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/count-values-using-a-group/m-p/484490#M10828</guid>
      <dc:creator>gabras</dc:creator>
      <dc:date>2018-08-06T18:57:44Z</dc:date>
    </item>
  </channel>
</rss>

