<?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: Match function IF with AND or OR? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Match-function-IF-with-AND-or-OR/m-p/1658056#M15309</link>
    <description>&lt;P&gt;I had wrong approach. In this way I think is perfect:&lt;/P&gt;&lt;P&gt;=if(BusinessCode='D','PORTO',if(CompanyCode='08','RII','II'))&lt;/P&gt;&lt;P&gt;ciao&lt;/P&gt;&lt;P&gt;ale&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 13:31:52 GMT</pubDate>
    <dc:creator>alessandro</dc:creator>
    <dc:date>2019-12-16T13:31:52Z</dc:date>
    <item>
      <title>Match function IF with AND or OR?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Match-function-IF-with-AND-or-OR/m-p/1658000#M15308</link>
      <description>&lt;P&gt;Hi to all.&lt;/P&gt;&lt;P&gt;I have a filter box. I would like to see not the code but their description.&lt;/P&gt;&lt;P&gt;So, for example,&amp;nbsp; I thought to input this funcion:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(BusinessCode='D','PORTO','MARE')&lt;/P&gt;&lt;P&gt;but, if I'd heve more specifics?&lt;/P&gt;&lt;P&gt;I tried to write this:&lt;/P&gt;&lt;P&gt;=If(Match([CompanyCode],'07') and Match([BusinessCode],'D'), 'PC', If(Match([CompanyCode],'09') and Match([BusinessCode],'D'), 'PC', If(Match([CompanyCode],'10') and Match([BusinessCode],'D'), 'PC', If(Match([CompanyCode],'8') and Match([BusinessCode],'K'), 'RII', If(Match([CompanyCode],'10') and Match([BusinessCode],'II'), '', '')))))&lt;/P&gt;&lt;P&gt;Two questions: is correct this funcion or I have to put also "AND" and so not write three time the same thing with same result =PC?&lt;/P&gt;&lt;P&gt;Is it possible to connect (with funcion 'match') those two fields (CompanyCode and BusinessCode) so if I select (in the main filter box) only BusinessCode = D in this second filter box I will have only PC?&lt;/P&gt;&lt;P&gt;Thanks again for your replies or advises?&lt;/P&gt;&lt;P&gt;ciao&lt;/P&gt;&lt;P&gt;ale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 11:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Match-function-IF-with-AND-or-OR/m-p/1658000#M15308</guid>
      <dc:creator>alessandro</dc:creator>
      <dc:date>2019-12-16T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Match function IF with AND or OR?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Match-function-IF-with-AND-or-OR/m-p/1658056#M15309</link>
      <description>&lt;P&gt;I had wrong approach. In this way I think is perfect:&lt;/P&gt;&lt;P&gt;=if(BusinessCode='D','PORTO',if(CompanyCode='08','RII','II'))&lt;/P&gt;&lt;P&gt;ciao&lt;/P&gt;&lt;P&gt;ale&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 13:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Match-function-IF-with-AND-or-OR/m-p/1658056#M15309</guid>
      <dc:creator>alessandro</dc:creator>
      <dc:date>2019-12-16T13:31:52Z</dc:date>
    </item>
  </channel>
</rss>

