<?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 Defining AND clause in Business Rule in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Defining-AND-clause-in-Business-Rule/m-p/2284050#M3884</link>
    <description>Hi there,&lt;BR /&gt;I was wondering whether it was possible to define AND clauses when defining business rules in Data Quality. For example, I wish to know in a table how many rows are from 'UK' by the country column and of those how many have a invoice greater than £5000.&lt;BR /&gt;I tried defining in the business rule like Country = 'UK' and Invoice &amp;gt; 5000 but I don't think this works or gives me the correct answer. Also, I tried setting these two rules separately but I think it just gives me how many rows are UK then it gives me (regardless of country) how many rows have invoice greater than 5000.&lt;BR /&gt;How can I use the AND rule?&lt;BR /&gt;Thanks,&lt;BR /&gt;Facoda</description>
    <pubDate>Fri, 22 Aug 2014 09:26:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-22T09:26:30Z</dc:date>
    <item>
      <title>Defining AND clause in Business Rule</title>
      <link>https://community.qlik.com/t5/Data-Quality/Defining-AND-clause-in-Business-Rule/m-p/2284050#M3884</link>
      <description>Hi there,&lt;BR /&gt;I was wondering whether it was possible to define AND clauses when defining business rules in Data Quality. For example, I wish to know in a table how many rows are from 'UK' by the country column and of those how many have a invoice greater than £5000.&lt;BR /&gt;I tried defining in the business rule like Country = 'UK' and Invoice &amp;gt; 5000 but I don't think this works or gives me the correct answer. Also, I tried setting these two rules separately but I think it just gives me how many rows are UK then it gives me (regardless of country) how many rows have invoice greater than 5000.&lt;BR /&gt;How can I use the AND rule?&lt;BR /&gt;Thanks,&lt;BR /&gt;Facoda</description>
      <pubDate>Fri, 22 Aug 2014 09:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Defining-AND-clause-in-Business-Rule/m-p/2284050#M3884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-22T09:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Defining AND clause in Business Rule</title>
      <link>https://community.qlik.com/t5/Data-Quality/Defining-AND-clause-in-Business-Rule/m-p/2284051#M3885</link>
      <description>Hi All,&amp;nbsp;
&lt;BR /&gt;Ok I think I found a solution to my problem. The answer is to use a filter in the table analysis section and then apply the business rules.
&lt;BR /&gt;But does anyone know how to write the filter expressions? Are they the same as SQL? For example if I write in the expression in the where filter like: Country = 'UK-England' AND 'UK-Scotland' it doesn't work but if I write: Country IN ('UK-England','UK-Scotland') it works.
&lt;BR /&gt;Is there a reference Talend on how to write the expressions?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Facoda</description>
      <pubDate>Mon, 01 Sep 2014 11:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Defining-AND-clause-in-Business-Rule/m-p/2284051#M3885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-01T11:50:29Z</dc:date>
    </item>
  </channel>
</rss>

