<?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 Issue with SAS Visual Analytics 7.3 in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/665047#M13927</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with SAS VA 7.3 for building reports for quality control in manufacturing industry. The dashboard should show three types of reports linked together: the frequency of each defect, the frequency of the defects grouped by the product type&amp;nbsp; and a time series that shows the frequency and % of defects per day.&lt;/P&gt;&lt;P&gt;The three reports are linked through a filter interaction: firstly the type of defect is selected, then the product group and at the end, the time series shows the trend of the defects through the time period.&lt;/P&gt;&lt;P&gt;I am having problems with the time series, more precisely with building the aggregate measure that shows the % of defect on total items produced. I have tried with a couple of aggregate measures but none seems to work. The first formula shows the % of defect on daily basis (so for the whole time period the sum of % is 100) and the second formula is&amp;nbsp; equal 100% for each day.&lt;/P&gt;&lt;P&gt;Instead I would like to show the % of defect on total items produced day by day:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of the data source&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sassy7_0-1593098887077.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46657iDC72C932D8359AAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sassy7_0-1593098887077.png" alt="sassy7_0-1593098887077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me resolving this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2020 15:45:54 GMT</pubDate>
    <dc:creator>sassy7</dc:creator>
    <dc:date>2020-06-25T15:45:54Z</dc:date>
    <item>
      <title>Issue with SAS Visual Analytics 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/665047#M13927</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with SAS VA 7.3 for building reports for quality control in manufacturing industry. The dashboard should show three types of reports linked together: the frequency of each defect, the frequency of the defects grouped by the product type&amp;nbsp; and a time series that shows the frequency and % of defects per day.&lt;/P&gt;&lt;P&gt;The three reports are linked through a filter interaction: firstly the type of defect is selected, then the product group and at the end, the time series shows the trend of the defects through the time period.&lt;/P&gt;&lt;P&gt;I am having problems with the time series, more precisely with building the aggregate measure that shows the % of defect on total items produced. I have tried with a couple of aggregate measures but none seems to work. The first formula shows the % of defect on daily basis (so for the whole time period the sum of % is 100) and the second formula is&amp;nbsp; equal 100% for each day.&lt;/P&gt;&lt;P&gt;Instead I would like to show the % of defect on total items produced day by day:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of the data source&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sassy7_0-1593098887077.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46657iDC72C932D8359AAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sassy7_0-1593098887077.png" alt="sassy7_0-1593098887077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me resolving this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/665047#M13927</guid>
      <dc:creator>sassy7</dc:creator>
      <dc:date>2020-06-25T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Visual Analytics 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/665723#M13933</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/206213"&gt;@sassy7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's see if I can help you. Here's a table I did:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Comm_Capture.PNG" style="width: 745px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46752iDE2890519D0E767C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comm_Capture.PNG" alt="Comm_Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I wasn't quite sure about the exact measure you were after so here's my three pics:&lt;/P&gt;
&lt;OL class="lia-list-style-type-upper-alpha"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier" color="#333333"&gt;Defected (% of total)&lt;/FONT&gt; is daily defects divided by total defects.&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier" color="#333333"&gt;Sum ByGroup Defected / Sum ByGroup Frequency&lt;/FONT&gt; is daily defects divided by daily production.&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier" color="#333333"&gt;Sum ByGroup Defected / Sum ForAll Frequency&lt;/FONT&gt; is daily defect divided by total production.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Is any of these what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Petri&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 08:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/665723#M13933</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-06-29T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Visual Analytics 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/666023#M13942</link>
      <description>Hi Petri&lt;BR /&gt;Many thanks for your help!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; The second one (B) is the aggregate measure I was interested in obtaining.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2020 10:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/666023#M13942</guid>
      <dc:creator>sassy7</dc:creator>
      <dc:date>2020-06-30T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SAS Visual Analytics 7.3</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/666068#M13944</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the steps taken are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new calculated item called &lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;Defected&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;IF ( 'Defect'n = 'NONE' )
RETURN 0
ELSE 'Frequency'n&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Create a new calculated item called f.ex.&lt;/FONT&gt; Defected %&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;Sum [_ByGroup_] ('Defected'n) / Sum [_ByGroup_] ('Frequency'n)&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;That's it!&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Best regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Petri&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 13:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Issue-with-SAS-Visual-Analytics-7-3/m-p/666068#M13944</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-06-30T13:14:18Z</dc:date>
    </item>
  </channel>
</rss>

