<?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 problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596235#M220852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is right....that mentined condition + casa logic also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, whatever the custid's am getting for the ids i have to get the fd relation with except type 'associate'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check once the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 18:13:50 GMT</pubDate>
    <dc:creator>dhanu_today</dc:creator>
    <dc:date>2014-04-18T18:13:50Z</dc:date>
    <item>
      <title>If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596230#M220847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help in the below script and attached the data and application as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CASA+FD table the PRODUCT CA (second row) is not satisfing the CASA LOGIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WildMatch(PRODUCT_CODE,'200','201','202','203','204')&lt;/P&gt;&lt;P&gt;&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; or WILDMATCH(PROMO_CODE,'300','301','302','303','304')&lt;/P&gt;&lt;P&gt;&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; or WILDMATCH(TYPE,'Associate') AND WILDMATCH(PRODUCT,'CA','SA') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above script is working fine in CASA field but giving some wrong value in CASA+FD.(Here we will get the list of CUST_IDS &lt;/P&gt;&lt;P&gt;under the PRODUCT FD with TYPE not equal to 'ASSOCIATE'.&lt;/P&gt;&lt;P&gt;(Purpose is to get the list of CUSTID'S which are having FD product with TYPE not equal to 'ASSOCIATE')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 17:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596230#M220847</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-18T17:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596231#M220848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use this&amp;nbsp; expression in the CASA+FD table&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PRODUCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'FD'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -={'Associate'}&amp;gt;} CUST_ID) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;i think it will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 17:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596231#M220848</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2014-04-18T17:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596232#M220849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ks..But its not working as per above.It is giving only FD custids'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 17:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596232#M220849</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-18T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596233#M220850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any hint from any one !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 18:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596233#M220850</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-18T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596234#M220851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have mentioned&lt;/P&gt;&lt;P&gt;(Purpose is to get the list of CUSTID'S which are having FD product with TYPE not equal to 'ASSOCIATE')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you&amp;nbsp; need only FD product except 'ASSOCIATE' right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 18:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596234#M220851</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2014-04-18T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596235#M220852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is right....that mentined condition + casa logic also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, whatever the custid's am getting for the ids i have to get the fd relation with except type 'associate'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check once the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 18:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596235#M220852</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-18T18:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596236#M220853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Dhanu,&lt;/P&gt;&lt;P&gt;I am not sure why you are creating another table in your script. You can just create flags in the original table itself for whatever condition thats required.&lt;/P&gt;&lt;P&gt;Check out the attached and see if it helps. I created two flags on the backend. If condition is met it will be 1 else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 19:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596236#M220853</guid>
      <dc:creator />
      <dc:date>2014-04-18T19:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596237#M220854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aj...The first 2 logics you have mentioned that are working fine in earlier also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem at 3 logic level.Let me explain in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CASA CUSTID'S(as per first logic) may have the product FD also.(which are not equal to TYPE ASSOCIATE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrong record is below. which is not coming in CASA(Logic1) thats correct..But it is coming in CASA+FD.its wrong.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="406"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="21" width="64"&gt;8011&lt;/TD&gt;&lt;TD align="right" class="xl64" width="121"&gt;606&lt;/TD&gt;&lt;TD align="right" class="xl64" width="93"&gt;456&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;Deliver&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;CA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to get those custids in script level to do the some further calculations in front end like Count(CASA),count(FD) and Count(CASA+FD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if in case of any clarificatin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2014 04:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596237#M220854</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-19T04:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596238#M220855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any hint from any one or any alternate method to get the mentioned above req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2014 08:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596238#M220855</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-19T08:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596239#M220856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if you look at the FD_Flag in my qvw file for &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="406"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" class="xl63" height="21" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;8011&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="121"&gt;606&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="93"&gt;456&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Deliver&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;CA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;it will be 0 which means it doesn't satisfy the condition. So on you front end calculations you can use set analysis like&lt;/P&gt;&lt;P&gt;Count({&amp;lt;FD_Flag = {1} &amp;gt;} Cust_ID) &lt;/P&gt;&lt;P&gt;Then the above record won't even be considered in the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2014 13:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596239#M220856</guid>
      <dc:creator />
      <dc:date>2014-04-19T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596240#M220857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aj.The logics you have mentioned for the individual counts of FD and CASA are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But final level&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;CASA_Flag custids we have to check CASA CUSTID'S are having any FD relation with TYPE &amp;lt;&amp;gt; 'Associate' under the product FD.It means only FD relation with TYPE &amp;lt;&amp;gt; 'Associate' under the product FD custids are no need to consider.We have to consider when they have CASA relation also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 10:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596240#M220857</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-21T10:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596241#M220858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 12:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596241#M220858</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2014-04-21T12:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: If Logic problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596242#M220859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nilesh G...Its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Logic-problem/m-p/596242#M220859</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-04-23T16:37:24Z</dc:date>
    </item>
  </channel>
</rss>

