<?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: Problem with the If condition on a field with multiple Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330847#M121840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;your expression as you have it will not work. you have the same field matching 2 different values. I wrote a blog post that I think gets at what you were trying to accomplish. here is a link &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://biventure.blogspot.com/2011/09/wild-thing-ill-map-your-pattern-strings.html?m=1"&gt;http://biventure.blogspot.com/2011/09/wild-thing-ill-map-your-pattern-strings.html?m=1&lt;/A&gt;&lt;SPAN&gt; check it out and let me know what you think.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 03:19:42 GMT</pubDate>
    <dc:creator>chriscammers</dc:creator>
    <dc:date>2012-05-02T03:19:42Z</dc:date>
    <item>
      <title>Problem with the If condition on a field with multiple Values</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330845#M121838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what's wrong with the below if condition? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;if(ManagedBy = 'Third Party', 'All3rdParty', &lt;/P&gt;&lt;P&gt;if( ManagedBy = 'Third Party' and ManagedBy = 'ABC', 'SOME3rdParty', &lt;/P&gt;&lt;P&gt;if(ManagedBy = 'Third Party' and ManagedBy = 'DEF', 'SOME3rdParty', &lt;/P&gt;&lt;P&gt;if (ManagedBy = 'Third Party' and ManagedBy = 'ABC' and ManagedBy = 'DEF', 'SOME3rdParty',&lt;/P&gt;&lt;P&gt;if (ManagedBy = 'ABC' and ManagedBy = 'DEF', 'SOME3rdParty','NO3rdParty'))))) AS Has3rdParty, ID&lt;/P&gt;&lt;P&gt;RESIDENT ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, basically I'm trying to check one of the conditions. Suppose if an ID has 3 differnent values of ManagedBy field , it should directly go to condition #4 in this case..and should display "Some3rdParty' as the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how can i use the OR condition. I mean it should check for each ID which condition is TRUE and just return only one value from the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 23:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330845#M121838</guid>
      <dc:creator />
      <dc:date>2012-05-01T23:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the If condition on a field with multiple Values</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330846#M121839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you add an example of your table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 03:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330846#M121839</guid>
      <dc:creator>jemancilla</dc:creator>
      <dc:date>2012-05-02T03:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the If condition on a field with multiple Values</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330847#M121840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;your expression as you have it will not work. you have the same field matching 2 different values. I wrote a blog post that I think gets at what you were trying to accomplish. here is a link &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://biventure.blogspot.com/2011/09/wild-thing-ill-map-your-pattern-strings.html?m=1"&gt;http://biventure.blogspot.com/2011/09/wild-thing-ill-map-your-pattern-strings.html?m=1&lt;/A&gt;&lt;SPAN&gt; check it out and let me know what you think.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 03:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-If-condition-on-a-field-with-multiple-Values/m-p/330847#M121840</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2012-05-02T03:19:42Z</dc:date>
    </item>
  </channel>
</rss>

