<?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: Nested Set Analysis using P()? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1656096#M448275</link>
    <description>&lt;P&gt;Have a look at the following Design Blog post, and I am including the base link to the Design Blog area below that in case you want to search further on your own, there are quite a few Set Analysis related posts, and after that I am including Help link just in case something there that may help, it is pretty extensive.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry I do not have something better for you, but hopefully this may help you get things figured out.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 15:03:01 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-12-10T15:03:01Z</dc:date>
    <item>
      <title>Nested Set Analysis using P()?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1651966#M447917</link>
      <description>&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;I have an issue where I'm trying to find any patients that have an open referral, that have also had a contact with other particular services, with particular time labels, after their referral date.&lt;/P&gt;&lt;P&gt;I've separated the open referrals by creating a RefClosedDate and having that field = 'NULL' if it's open.&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;count(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;ClientID = P({&amp;lt; Time_Label = {'2 Hours','1 Hour','24 Hours','Trust Default 6 Weeks','48 Hours','1 Working Day','4 Hours'},&lt;BR /&gt;Service_Line = {'Alpha','Beta','Delta','Gamma'}&lt;BR /&gt;&amp;gt;})&lt;BR /&gt;, RefClosedDate = {'NULL'}&amp;gt;}&lt;BR /&gt;RefID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but P() treats the ',' as an 'or' if there is more than 1 expression included within it.&lt;/P&gt;&lt;P&gt;So I tried:&lt;/P&gt;&lt;P&gt;count(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;ClientID = P({&amp;lt; Time_Label = {'2 Hours','1 Hour','24 Hours','Trust Default 6 Weeks','48 Hours','1 Working Day','4 Hours'}&lt;BR /&gt;&amp;gt;})&lt;BR /&gt;-&lt;BR /&gt;P({&amp;lt; Service_Line -= {'Alpha','Beta','Delta','Gamma'}&lt;BR /&gt;&amp;gt;}ClientID)&lt;BR /&gt;, RefClosedDate = {'NULL'}&amp;gt;}&lt;BR /&gt;RefID)&lt;/P&gt;&lt;P&gt;but that produces totally incorrect data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will then have to bring in the max contact_date of the resultant ClientID's and compare them with the RefDate's of any other referrals they've had, but I'm way, way, away from that stage.&lt;/P&gt;&lt;P&gt;Is there any other way to nest a set within another set in set analysis?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 16:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1651966#M447917</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2019-11-27T16:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Set Analysis using P()?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1652028#M447924</link>
      <description>Hi,&lt;BR /&gt;Is RefClosedDate either a date or null (as in empty) rather than something or the string 'NULL'?&lt;BR /&gt;Cheers, Chris.</description>
      <pubDate>Wed, 27 Nov 2019 20:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1652028#M447924</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-11-27T20:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Set Analysis using P()?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1652170#M447932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's either a date or the string 'NULL'. I created it to avoid having to search for null's using set analysis in my expressions which is a headache.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1652170#M447932</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2019-11-28T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Set Analysis using P()?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1656096#M448275</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post, and I am including the base link to the Design Blog area below that in case you want to search further on your own, there are quite a few Set Analysis related posts, and after that I am including Help link just in case something there that may help, it is pretty extensive.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry I do not have something better for you, but hopefully this may help you get things figured out.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Set-Analysis-using-P/m-p/1656096#M448275</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-10T15:03:01Z</dc:date>
    </item>
  </channel>
</rss>

