<?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: filtering data based on 'or' of multiple fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420975#M156770</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;you can use Set analysis union operator to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Sum({&amp;lt;field1={"value1"}, field2={"value2"}&amp;gt;} Field3) for "AND" operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;field1={"value1"}&amp;gt; + &amp;lt;field2={"value2"}&amp;gt;} Field3) &lt;/STRONG&gt;for "OR" operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 18:01:25 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-02-08T18:01:25Z</dc:date>
    <item>
      <title>filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420973#M156768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am interested in all rows that have either field1=value1 OR field2=value2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to filter rows with selection trigger where field1=value1 OR field1=value2. But note that this is not what i want. I want to base the selection of 2 separate fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 17:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420973#M156768</guid>
      <dc:creator />
      <dc:date>2013-02-08T17:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420974#M156769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;field={'value1'}&amp;gt; + &amp;lt;field2={'value2'}&amp;gt;}&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 17:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420974#M156769</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-08T17:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420975#M156770</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;you can use Set analysis union operator to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Sum({&amp;lt;field1={"value1"}, field2={"value2"}&amp;gt;} Field3) for "AND" operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;field1={"value1"}&amp;gt; + &amp;lt;field2={"value2"}&amp;gt;} Field3) &lt;/STRONG&gt;for "OR" operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420975#M156770</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-02-08T18:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420976#M156771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan and Celambarasan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i am not looking to aggregate or sum anything. I simply want to filter the data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for example, the data set has 3 fields: Project ID, Cost Center, Manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see all Project ID's that are either in Cost Center 100 or are managed by John Smith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420976#M156771</guid>
      <dc:creator />
      <dc:date>2013-02-08T18:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420977#M156772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I agree with the other posts to do this with the selections is not a very good idea you need to load every cominbination into a new table X2, in this example for 26 diverent values in the field (Alpha) to create two new fields that will provide an OR selection in this field (AlphaA and AlphaB ) i needed to create a table with 1352 values! attached is the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420977#M156772</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2013-02-08T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420978#M156773</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;&amp;nbsp; it is not possible to calculate value based on two dimension in set analysis,&lt;/P&gt;&lt;P&gt;for that purpose you want to use if clasuse only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a if statement like....................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum( if(Filed1=Value1 or filed2=Value2,QTY))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420978#M156773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-08T18:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: filtering data based on 'or' of multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420979#M156774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 30 such fields &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't mind not using selection. But, is there ANY way to do this very reasonable task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 18:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-data-based-on-or-of-multiple-fields/m-p/420979#M156774</guid>
      <dc:creator />
      <dc:date>2013-02-08T18:29:00Z</dc:date>
    </item>
  </channel>
</rss>

