<?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: How to - Multiple conditions in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207658#M882653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny - your suggestion was perfect, works like a charm! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2016 17:46:04 GMT</pubDate>
    <dc:creator>rmueller</dc:creator>
    <dc:date>2016-10-10T17:46:04Z</dc:date>
    <item>
      <title>How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207653#M882645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a problem with the syntax for set analysis using two different conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following working; it sums the [Ins. SL Fol Up Expected Amount] based on a date condition and a selected offset - works perfect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;$&amp;lt;&lt;/P&gt;&lt;P&gt;[Ins. Fol Up Next Action Date]={"$(='&amp;lt;'&amp;amp; Only(Date(AsOfDate_E_Orig-(Pick(WildMatch(_FollowUpWalkback, '0 Days','30 Days','60 Days','90 Days','120 Days','150 Days','180 Days','*'),0,30,60,90,120,150,180,0)))))"}&lt;/P&gt;&lt;P&gt;&amp;gt;} [Ins. SL Fol Up Expected Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to add another condition that restricts the set to the date condition above as well as all records that "contain" a specific set of string value(s) within a field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The string field is a comma separated list - [COB List]&lt;/P&gt;&lt;P&gt;Example: REVUNDER, CO45, PR01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box to select specific codes found in the [COB List].&amp;nbsp; That populates a variable call SelectedCobCodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm interested in rows that have any of the selected items (stored in the variable SelectedCobCodes) in the list box found within the field [Ins. SL Fol Up Cob Codes]. Ideally, if SelectedCobCode was a list from multiple selections within the list box, I'd like the index function or whatever function needs to be used to return a value greater than zero when any or all values can be found in [Ins. SL Fol Up Cob Codes].&amp;nbsp; I figured out the following only gives me results for one SelectedCobCode selected within the list box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=index([Ins. SL Fol Up Cob Codes],SelectedCobCode)&amp;nbsp; &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two things...&lt;/P&gt;&lt;P&gt;1. How can i return a result &amp;gt;0 when any or all of my selected values are found&lt;/P&gt;&lt;P&gt;2. How do I integrate that criteria into my set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207653#M882645</guid>
      <dc:creator>rmueller</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207654#M882646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible to share a sample to look at this before I propose anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207654#M882646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207655#M882648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I not sure how to do that, this is part of a huge app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clearer on the need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ListBox of [Cob Code]&lt;/P&gt;&lt;P&gt;CO45&lt;/P&gt;&lt;P&gt;PR01&lt;/P&gt;&lt;P&gt;PR104&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart straight table column [Ins. SL Fol Up Cob Codes] example&lt;/P&gt;&lt;P&gt;PR01,CO45&lt;/P&gt;&lt;P&gt;PR01&lt;/P&gt;&lt;P&gt;CO45,PR02,PR104&lt;/P&gt;&lt;P&gt;PR104&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if i select CO45 and PR01 from the list box; I'll then end up with &lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;CO45, PR01 in my variable called SelectedCobCodes (the &lt;/SPAN&gt;variable&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; populates via &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 9px; line-height: 1.5em; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0433ff; font-family: Arial; font-size: 9px; line-height: 1.5em;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 9px; line-height: 1.5em; color: #000000;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 9px; line-height: 1.5em; color: #941100;"&gt;[COB Code]&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 9px; line-height: 1.5em; color: #000000;"&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need to select only those rows in the chart straight table that contained either CO45 or PR01; in the example, row 1, 2, 3 would qualify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes is clearer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207655#M882648</guid>
      <dc:creator>rmueller</dc:creator>
      <dc:date>2016-10-07T18:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207656#M882650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you create a link table in the script to create &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cob Code]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ins. SL Fol Up Cob Codes],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ins. SL Fol Up Cob Codes], ',') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cob Code]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Resident .....;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207656#M882650</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T18:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207657#M882652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your expression is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Ins. Fol Up Next Action Date&lt;STRONG&gt;]={"$(='&amp;lt;'&amp;amp;&lt;/STRONG&gt; Only(Date(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normally it should be&amp;nbsp;&amp;nbsp; {&amp;lt; [&lt;STRONG&gt;fieldname]={"&amp;gt;=$(=Function&lt;/STRONG&gt;(bla bla )) &amp;lt;=$(=function(bla bla bla)) "} &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revisit your set analysis setup. (and count parenthesis to close all...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 21:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207657#M882652</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2016-10-07T21:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to - Multiple conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207658#M882653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny - your suggestion was perfect, works like a charm! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 17:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Multiple-conditions-in-set-analysis/m-p/1207658#M882653</guid>
      <dc:creator>rmueller</dc:creator>
      <dc:date>2016-10-10T17:46:04Z</dc:date>
    </item>
  </channel>
</rss>

