<?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 when not Primary in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643890#M456233</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;Perhaps set analysis with an intersection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 16:41:40 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2019-11-06T16:41:40Z</dc:date>
    <item>
      <title>Count when not Primary</title>
      <link>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1642616#M456229</link>
      <description>&lt;P&gt;I need to show a count of DEFECT_ID where a resource is the PRIMARY_ASSIGNEE and then also when &lt;STRONG&gt;&lt;EM&gt;they are not the PRIMARY_ASSIGNEE but they are listed as one of the BUILD_RESOURCES_SUB (subfield that contains only user name)&lt;/EM&gt;&lt;/STRONG&gt;. How can I calculate the secondary?&lt;/P&gt;&lt;P&gt;Dimension: PRIMARY_ASSIGNEE&lt;/P&gt;&lt;P&gt;Exp Count Primary:&amp;nbsp; count(DISTINCT DEFECT_ID)&lt;/P&gt;&lt;P&gt;Exp Count Secondary: &lt;STRONG&gt;Count(DISTINCT{$&amp;lt;BUILD_RESOURCES_SUB-={'PRIMARY_ASSIGNEE'}&amp;gt;}DEFECT_ID)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1642616#M456229</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2019-11-06T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count when not Primary</title>
      <link>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643683#M456230</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count(DISTINCT{$&amp;lt;BUILD_RESOURCES_SUB={"&lt;SPAN&gt;BUILD_RESOURCES_SUB&lt;/SPAN&gt;&amp;lt;&amp;gt;PRIMARY_ASSIGNEE"}&amp;gt;}DEFECT_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count(If(&lt;SPAN&gt;BUILD_RESOURCES_SUB&lt;/SPAN&gt;&amp;lt;&amp;gt;&lt;SPAN&gt;PRIMARY_ASSIGNEE&lt;/SPAN&gt;, DEFECT_ID))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643683#M456230</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-11-06T11:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count when not Primary</title>
      <link>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643802#M456232</link>
      <description>&lt;P&gt;This still isn't quite right.&lt;/P&gt;&lt;P&gt;A DEFECT_ID can have multiple people listed on&amp;nbsp;BUILD_RESOURCES_SUB. I want to aggregate on the field of PRIMARY_ASSIGNEE field. If jdoe is one of the BUILD_RESOURCES_SUB on 4 tickets that he is NOT the PRIMARY_ASSIGNEE on, it should show as 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's close but not quite...&lt;/P&gt;&lt;P&gt;I think the issue is that my chart is aggregating on the Primary Assignee dimension but I need to count the tickets where the user is a build resource but NOT the primary assignee.&lt;/P&gt;&lt;P&gt;Is this where I could use total?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643802#M456232</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2019-11-06T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count when not Primary</title>
      <link>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643890#M456233</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;Perhaps set analysis with an intersection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 16:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-when-not-Primary/m-p/1643890#M456233</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2019-11-06T16:41:40Z</dc:date>
    </item>
  </channel>
</rss>

