<?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: where condition not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/where-condition-not-working/m-p/2507209#M104305</link>
    <description>&lt;P&gt;here is the modified version of your script:-&lt;BR /&gt;&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM Data.CASE&lt;BR /&gt;WHERE INCOPE LIKE 'In%'&lt;BR /&gt;AND (&lt;BR /&gt;("Country" = 'china' AND "ENTITY" NOT IN ('BUS', 'BCA', 'SBC China', 'SBC Chna', ' ') AND "ENTITY" IS NOT NULL)&lt;BR /&gt;OR ("Country" &amp;lt;&amp;gt; 'china')&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;I hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 08:43:25 GMT</pubDate>
    <dc:creator>Sayed_Mannan</dc:creator>
    <dc:date>2025-02-25T08:43:25Z</dc:date>
    <item>
      <title>where condition not working</title>
      <link>https://community.qlik.com/t5/App-Development/where-condition-not-working/m-p/2507118#M104298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148" target="_self" aria-describedby="userProfileCard-6148"&gt;&lt;SPAN class="login-bold"&gt;rwunderlich&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below sql query is not showing results as expected&lt;/P&gt;
&lt;P&gt;SELECT *&lt;BR /&gt;FROM Data.CASE&lt;BR /&gt;where INCOPE LIKE 'In%' and "Country" in ('china')&lt;BR /&gt;and "ENTITY" not In ('BUS', 'BCA','SBC China','SBC Chna',' ')&lt;BR /&gt;and NOT ("ENTITY" IS NULL) ;&lt;/P&gt;
&lt;P&gt;my requirment is&amp;nbsp; &amp;nbsp;wherever&amp;nbsp; legal entity&amp;nbsp; =&amp;nbsp;'BUS', 'BCA','SBC China','SBC Chna',' '&amp;nbsp; and not isnull&amp;nbsp; &amp;nbsp; and country =china data should not shown in dashboard&amp;nbsp; &amp;nbsp; -- china data should not shown in dashboard&lt;/P&gt;
&lt;P&gt;but for those legal entity&amp;nbsp; &amp;nbsp;if we have other country it show as it is .&lt;/P&gt;
&lt;TABLE width="639"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="214"&gt;Country&lt;/TD&gt;
&lt;TD width="425"&gt;&amp;nbsp;Entity&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD&gt;BUS&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD&gt;BCA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD&gt;BCA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;US&lt;/TD&gt;
&lt;TD&gt;BCA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD&gt;SBC China&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD width="425"&gt;CHN limited&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD width="425"&gt;Unknown&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD width="425"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="639"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="214"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="425"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;US&lt;/TD&gt;
&lt;TD&gt;BCA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;china&lt;/TD&gt;
&lt;TD width="425"&gt;CHN limited&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 24 Feb 2025 17:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/where-condition-not-working/m-p/2507118#M104298</guid>
      <dc:creator>Manni_SM</dc:creator>
      <dc:date>2025-02-24T17:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: where condition not working</title>
      <link>https://community.qlik.com/t5/App-Development/where-condition-not-working/m-p/2507209#M104305</link>
      <description>&lt;P&gt;here is the modified version of your script:-&lt;BR /&gt;&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM Data.CASE&lt;BR /&gt;WHERE INCOPE LIKE 'In%'&lt;BR /&gt;AND (&lt;BR /&gt;("Country" = 'china' AND "ENTITY" NOT IN ('BUS', 'BCA', 'SBC China', 'SBC Chna', ' ') AND "ENTITY" IS NOT NULL)&lt;BR /&gt;OR ("Country" &amp;lt;&amp;gt; 'china')&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;I hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 08:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/where-condition-not-working/m-p/2507209#M104305</guid>
      <dc:creator>Sayed_Mannan</dc:creator>
      <dc:date>2025-02-25T08:43:25Z</dc:date>
    </item>
  </channel>
</rss>

