<?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 Calculated item with count if function in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/630521#M13571</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am a new SAS VA user. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the following data variables: id (records are repeated) , department (three unique ones), status (yes/no)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to create a calculated item to count ids if department=one specific one AND status=no.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I use AND operator, while creating a calculated item, it returns the result as an error: the expected type is boolean.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I do it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 18:05:29 GMT</pubDate>
    <dc:creator>DarjaJafanova</dc:creator>
    <dc:date>2020-03-10T18:05:29Z</dc:date>
    <item>
      <title>Calculated item with count if function</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/630521#M13571</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am a new SAS VA user. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the following data variables: id (records are repeated) , department (three unique ones), status (yes/no)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to create a calculated item to count ids if department=one specific one AND status=no.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I use AND operator, while creating a calculated item, it returns the result as an error: the expected type is boolean.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I do it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 18:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/630521#M13571</guid>
      <dc:creator>DarjaJafanova</dc:creator>
      <dc:date>2020-03-10T18:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated item with count if function</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/630847#M13572</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/291428"&gt;@DarjaJafanova&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the &lt;FONT color="#0000FF"&gt;&lt;EM&gt;Result Type&lt;/EM&gt;&lt;/FONT&gt; is &lt;FONT color="#0000FF"&gt;&lt;EM&gt;Numeric&lt;/EM&gt;&lt;/FONT&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36721iD17BE15DD2BD1720/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&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>Tue, 10 Mar 2020 10:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/630847#M13572</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-03-10T10:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated item with count if function</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/631050#M13575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/106261"&gt;@PetriRoine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for such a clear and quick explanation provided, I finally managed to create this calculated item. I really appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Darja Jafanova&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 18:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculated-item-with-count-if-function/m-p/631050#M13575</guid>
      <dc:creator>DarjaJafanova</dc:creator>
      <dc:date>2020-03-10T18:04:06Z</dc:date>
    </item>
  </channel>
</rss>

