<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180015#M46601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on version 9.0 on a 64 bit server with a valid license. (We upgraded our development server to 9.0 so we could try out some of the new features). I had not done anything with set analysis in 8.5.&lt;/P&gt;&lt;P&gt;Thanks to all who wrote. I was finally able to get it to work using Count({1&amp;lt;PatientName ={$(varPt)}&amp;gt;} VisitIDCode ) .&lt;/P&gt;&lt;P&gt;The varPt is the PatientName with single quotes around it set in a macro that first checks that there is only one patient. It now displays a list of all the patient's visits regardless of the other selections like date or visit type. I could never get it to work without the variable but I had a macro started for this anyway.&lt;/P&gt;&lt;P&gt;I have one more question on this. I'd like to have it also look at the VisitType and exclude those that are "Pre*" as in 'Preadmit', 'PreClinic', 'Presurgical', ... I know I can list out all the types I want to include like below but I haven't been able to exclude a group. Is it possible ? I tried &amp;lt;&amp;gt;, != , not like, ... but couldn't find the syntax to exclude a group. Sometimes the excluded group is much shorter than the included group and it would be handy to know how to do this.&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;PatientName ={$(varPt)}, VisitType = {'Clinic','Emergency','Inpatient','Observation'}&amp;gt;} VisitIDCode )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Sep 2009 05:58:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-12T05:58:45Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180009#M46595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a tutorial or something to help with set analysis?&lt;/P&gt;&lt;P&gt;I have a list of patients admitted on a particular day. I have a second table where I want to be able to choose 1 patient and display all their admissions on all days without removing the original filters for date and visitNumber. In other words I want my chart to pay attention to only one of the fields currently selected and ignore all other fields. It looked like I should be able to do that with set analysis, but somehow I can't seem to get the right syntax.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 05:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180009#M46595</guid>
      <dc:creator />
      <dc:date>2009-09-09T05:33:02Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180010#M46596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please, post an example with a description of issue.&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;P&gt;JTPro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 15:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180010#M46596</guid>
      <dc:creator />
      <dc:date>2009-09-09T15:51:13Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180011#M46597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A - I think that what is published in the help file and manual is quite complete, I personally printed it and checked all the samples to understand it well and any time I need something different I go and check it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;H3&gt;B - Sorry I cannot test it... you should test something like this&lt;/H3&gt;&lt;H3&gt;max({$&amp;lt;date= {'*'}&amp;gt;},visitNumber= {'*'}&amp;gt;}fieldname)&lt;/H3&gt;&lt;H3&gt;.. because it takes all the selections but overwrites the ones in the field visitNumber with "anything"...&lt;/H3&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 19:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180011#M46597</guid>
      <dc:creator>eiconsulting</dc:creator>
      <dc:date>2009-09-09T19:15:35Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180012#M46598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That still doesn't quite work but was very similar to what I was trying. Where can I find the manual? I cannot find it online.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 20:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180012#M46598</guid>
      <dc:creator />
      <dc:date>2009-09-09T20:07:08Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180013#M46599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you should find it under&lt;BR /&gt;C:\Program Files\QlikView\Documentation\QlikView Reference Manual.pdf&lt;BR /&gt;(or similar depending the path of your installation)&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 20:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180013#M46599</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-09T20:26:17Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180014#M46600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max({$&amp;lt;date= {'*'},visitNumber= {'*'}&amp;gt;}fieldname)&lt;BR /&gt;I tested on a sample and it works for what I understood of yr problem (there was a &amp;gt;} in excess &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Here is my test expression: max({$&amp;lt;Customer = {'*'}&amp;gt;}Voto)&lt;/P&gt;&lt;P&gt;I found the most extensive in my "help" files simply looking for SET ANALYSIS (I suppose you did it already! ... but my version is in Italian so that I cannot copy the page here), I also have printed manuals. The download manual for version 9.0 is on &lt;A href="http://www.qlik.com/download/"&gt;http://www.qlik.com/download/&lt;/A&gt; but I didn't check it.&lt;/P&gt;&lt;P&gt;Which version are you working on? Is it a test copy or a valid license?&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 21:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180014#M46600</guid>
      <dc:creator>eiconsulting</dc:creator>
      <dc:date>2009-09-09T21:38:17Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180015#M46601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on version 9.0 on a 64 bit server with a valid license. (We upgraded our development server to 9.0 so we could try out some of the new features). I had not done anything with set analysis in 8.5.&lt;/P&gt;&lt;P&gt;Thanks to all who wrote. I was finally able to get it to work using Count({1&amp;lt;PatientName ={$(varPt)}&amp;gt;} VisitIDCode ) .&lt;/P&gt;&lt;P&gt;The varPt is the PatientName with single quotes around it set in a macro that first checks that there is only one patient. It now displays a list of all the patient's visits regardless of the other selections like date or visit type. I could never get it to work without the variable but I had a macro started for this anyway.&lt;/P&gt;&lt;P&gt;I have one more question on this. I'd like to have it also look at the VisitType and exclude those that are "Pre*" as in 'Preadmit', 'PreClinic', 'Presurgical', ... I know I can list out all the types I want to include like below but I haven't been able to exclude a group. Is it possible ? I tried &amp;lt;&amp;gt;, != , not like, ... but couldn't find the syntax to exclude a group. Sometimes the excluded group is much shorter than the included group and it would be handy to know how to do this.&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;PatientName ={$(varPt)}, VisitType = {'Clinic','Emergency','Inpatient','Observation'}&amp;gt;} VisitIDCode )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 05:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180015#M46601</guid>
      <dc:creator />
      <dc:date>2009-09-12T05:58:45Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180016#M46602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For set analysis, something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({1&amp;lt;PatientName={$(varPt)},VisitType-={"Pre*"}&amp;gt;} VisitIDCode)&lt;/P&gt;&lt;P&gt;For a "normal" expression, the wildmatch() function:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count(if(not wildmatch(VisitType,'Pre*'),VisitIDCode))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 06:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/180016#M46602</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-12T06:09:25Z</dc:date>
    </item>
  </channel>
</rss>

