<?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: If Logic help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585847#M217418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you can add some flag fields to the script and use those flags in the expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 14:09:03 GMT</pubDate>
    <dc:creator>bbi_mba_76</dc:creator>
    <dc:date>2014-04-16T14:09:03Z</dc:date>
    <item>
      <title>If Logic help</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585846#M217417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;Hi Everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;I have the fileds CUST_ID,PRODUCT,CUSTOMER_TYPE,P_CODE&amp;nbsp; and PD_CODE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;How can I get the list of CUST_ID’s based on the below parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;1) IF(WildMatch(P_CODE,'883','887','903','945','946','939') or&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;WILDMATCH(PD_CODE,'ASSOC1', 'CLUB01', 'DEFENC', 'EDUC01', 'SOCIE1', 'SYTEDU', 'TRUS01', 'TRUS02', 'WELFAR1', 'SECT25', 'GRM000')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;WILDMATCH(CUSTOMER_TYPE,'ASSOCIATION/ TRUSTS')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;AND&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;WILDMATCH(PRODUCT,'CA','SA') ,CUST_ID) AS&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;CASA_BASE,&amp;nbsp; (TO GET THE COUNT UNDER PRODUCT&amp;nbsp; CASA CATEGORY)&lt;BR /&gt;2) IF( WILDMATCH(CUSTOMER_TYPE,'ASSOCIATION/ TRUSTS') AND&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;WILDMATCH(PRODUCT,'FD'),CUST_ID) AS&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;FD_BASE (TO GET THE COUNT UNDER PRODUCT&amp;nbsp; FD CATEGORY)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;3)&lt;SPAN style="color: #ff0000;"&gt;In the third condition we have avoid the CUST_ID’s which contains CUSTOMER_TYPE as 'ASSOCIATION/ TRUSTS' under the&amp;nbsp; PRODUCT ‘FD’&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; color: #ff0000; font-size: 10pt;"&gt;How we can can merge the logic(1 and 2) to fill the third conditin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;Let me know if in case of any clarifications.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;Thanks in adv,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Book Antiqua','serif'; font-size: 10pt;"&gt;Dhanu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585846#M217417</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-16T14:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic help</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585847#M217418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you can add some flag fields to the script and use those flags in the expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585847#M217418</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-04-16T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic help</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585848#M217419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks BBI..But Need help in the way to do that !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585848#M217419</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-16T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic help</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585849#M217420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi any hint from experts.Its a little bit urgent.&amp;nbsp; Thanks, Dhanu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-help/m-p/585849#M217420</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-16T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

