<?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 Set Analysis Syntax - For subgroup A, how many also have B? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax-For-subgroup-A-how-many-also-have-B/m-p/1718021#M455585</link>
    <description>&lt;P&gt;I have a text box that says how many tickets were Opened within the last 3 months and it works:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;DEFECT_ID *= {"=Min({1}DETECT_DATE) &amp;gt;= AddMonths(Today(),-3)"}&amp;gt;}DISTINCT DEFECT_ID)&lt;/P&gt;&lt;P&gt;I am trying to come up with the right syntax to show &lt;STRONG&gt;of the tickets opened within the last 3 months&lt;/STRONG&gt;, what was the avg days between two steps but I can't get it combined correctly:&lt;/P&gt;&lt;P&gt;=num(avg(aggr(date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'2.1*'} &amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY')-&lt;BR /&gt;date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'1.1*'} &amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY'),DEFECT_ID)),'#0')&lt;/P&gt;&lt;P&gt;TIA!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2020 17:16:07 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2020-06-11T17:16:07Z</dc:date>
    <item>
      <title>Set Analysis Syntax - For subgroup A, how many also have B?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax-For-subgroup-A-how-many-also-have-B/m-p/1718021#M455585</link>
      <description>&lt;P&gt;I have a text box that says how many tickets were Opened within the last 3 months and it works:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;DEFECT_ID *= {"=Min({1}DETECT_DATE) &amp;gt;= AddMonths(Today(),-3)"}&amp;gt;}DISTINCT DEFECT_ID)&lt;/P&gt;&lt;P&gt;I am trying to come up with the right syntax to show &lt;STRONG&gt;of the tickets opened within the last 3 months&lt;/STRONG&gt;, what was the avg days between two steps but I can't get it combined correctly:&lt;/P&gt;&lt;P&gt;=num(avg(aggr(date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'2.1*'} &amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY')-&lt;BR /&gt;date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'1.1*'} &amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY'),DEFECT_ID)),'#0')&lt;/P&gt;&lt;P&gt;TIA!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 17:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax-For-subgroup-A-how-many-also-have-B/m-p/1718021#M455585</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-06-11T17:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax - For subgroup A, how many also have B?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax-For-subgroup-A-how-many-also-have-B/m-p/1718089#M455586</link>
      <description>&lt;P&gt;You should just be able to add the set analysis from the first into the second:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=num(avg(aggr(date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'2.1*'}, DEFECT_ID *= {"=Min({1}DETECT_DATE) &amp;gt;= AddMonths(Today(),-3)"}&amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY')-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;date(min( {$&amp;lt;ADJ_GOVERNANCE_PHASE_SUMMARY={'1.1*'}, DEFECT_ID *= {"=Min({1}DETECT_DATE) &amp;gt;= AddMonths(Today(),-3)"}&amp;gt;} ADJ_GOVERNANCE_PHASE_START_DATE),'MM/DD/YYYY'),DEFECT_ID)),'#0')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 21:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax-For-subgroup-A-how-many-also-have-B/m-p/1718089#M455586</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-06-11T21:29:52Z</dc:date>
    </item>
  </channel>
</rss>

