<?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: Using Where not Exists function to achieve this but not working as expected. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424341#M95985</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You are write.&lt;/P&gt;
&lt;P&gt;I have corrected the data and placed once again.&lt;/P&gt;
&lt;P&gt;Position_Aviral:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;&lt;BR /&gt;Postion_Irshad:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Irshad&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;&lt;STRONG&gt;PHI_B,PHI,Irshad&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Expected Output:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;PHI_B,PHI,Irshad&lt;/P&gt;
&lt;P&gt;Note:Due to security rule. I can not share the load script. sorry for that.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Irshad Ahmad&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2024 23:09:52 GMT</pubDate>
    <dc:creator>iahmad9</dc:creator>
    <dc:date>2024-02-27T23:09:52Z</dc:date>
    <item>
      <title>Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424251#M95979</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;last couple of days, I am working on it but not getting the expected output. could you please help me on it. Please find the sample data set below.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Position_A:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Account, PAccount,Type&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PL,P,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PB,P,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;QL,Q,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;QB,P4,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Postion_B:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Account, PAccount,Type&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PL,P,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PB,P,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;QL,Q,Aviral&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;QB,P4,Irshad&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PHI_L,PHI,Irshad&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PHI_L,PHI,Irshad&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Expected Output:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;PHI_B,PHI,Irshad&lt;/P&gt;
&lt;P&gt;My Output coming like this which is not expected&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;PHI_L,PHI,Irshad&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Irshad Ahmad&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424251#M95979</guid>
      <dc:creator>iahmad9</dc:creator>
      <dc:date>2024-02-27T17:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424310#M95983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219878"&gt;@iahmad9&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you have a mistake on your Position_B table.&lt;BR /&gt;The first column of your last line says "&lt;SPAN&gt;PHI_L&lt;/SPAN&gt;" but I think you are expecting "&lt;SPAN&gt;PHI_B&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P&gt;In any case, can you please post your Load Script?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 21:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424310#M95983</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-02-27T21:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424341#M95985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You are write.&lt;/P&gt;
&lt;P&gt;I have corrected the data and placed once again.&lt;/P&gt;
&lt;P&gt;Position_Aviral:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;&lt;BR /&gt;Postion_Irshad:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Irshad&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;&lt;STRONG&gt;PHI_B,PHI,Irshad&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Expected Output:&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;PHI_B,PHI,Irshad&lt;/P&gt;
&lt;P&gt;Note:Due to security rule. I can not share the load script. sorry for that.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Irshad Ahmad&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 23:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424341#M95985</guid>
      <dc:creator>iahmad9</dc:creator>
      <dc:date>2024-02-27T23:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424383#M95987</link>
      <description>&lt;P&gt;I feel you need to provide more information, your real scenario may be more complex, which fields you need to compare inside where exists clause.&lt;/P&gt;
&lt;P&gt;If you just need the expected output you mentioned in your post then there could be multiple ways to achieve that but not sure which one actually would work for you, one of them could be like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Position_Aviral:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Concatenate(Position_Aviral)&lt;/P&gt;
&lt;P&gt;Load *&lt;BR /&gt;Where not match(Account&amp;amp;PAccount&amp;amp;Type,'QBP4Irshad');&lt;/P&gt;
&lt;P&gt;Load distinct * inline [&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Irshad&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;PHI_B,PHI,Irshad&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1709092030572.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160782iC66810E993E37877/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1709092030572.png" alt="Digvijay_Singh_0-1709092030572.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 03:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424383#M95987</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2024-02-28T03:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424396#M95988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48860"&gt;@Digvijay_Singh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your prompt response,&lt;/P&gt;
&lt;P&gt;In my requirement, I have to compare based on PAccount(Parent Account) some of the PAccount having more than two Account. we have to do all dynamically. below code look like you have added one fields static.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808000"&gt;Note: we have condition like those&amp;nbsp;PAccount(Parent Account) which are already available in first table. That PAccount need to exclude from second table.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Load *&lt;BR /&gt;Where not match(Account&amp;amp;PAccount&amp;amp;Type,'&lt;FONT color="#FF0000"&gt;QBP4Irshad'&lt;/FONT&gt;);&lt;/P&gt;
&lt;P&gt;Could you please share some other way to achieve this. It would be great.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Irshad Ahmad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 04:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424396#M95988</guid>
      <dc:creator>iahmad9</dc:creator>
      <dc:date>2024-02-28T04:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424408#M95990</link>
      <description>&lt;P&gt;try something like this may be -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Position_Aviral:&lt;BR /&gt;Load *,PAccount as PAccount1 inline [&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Aviral&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;Position_Irshad:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Account, PAccount,Type&lt;BR /&gt;PL,P,Aviral&lt;BR /&gt;PB,P,Aviral&lt;BR /&gt;QL,Q,Aviral&lt;BR /&gt;QB,P4,Irshad&lt;BR /&gt;PHI_L,PHI,Irshad&lt;BR /&gt;PHI_B,PHI,Irshad&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;final:&lt;BR /&gt;Load *&lt;BR /&gt;Resident Position_Aviral;&lt;BR /&gt;Concatenate(final)&lt;BR /&gt;Load distinct * &lt;BR /&gt;resident Position_Irshad&lt;BR /&gt;Where not exists(PAccount1,PAccount);&lt;/P&gt;
&lt;P&gt;Drop Tables Position_Aviral,Position_Irshad;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1709096071830.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160788i838AE48742586D64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1709096071830.png" alt="Digvijay_Singh_0-1709096071830.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 04:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424408#M95990</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2024-02-28T04:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where not Exists function to achieve this but not working as expected.</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424426#M95991</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48860"&gt;@Digvijay_Singh&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;I am getting the expected output. Will send the report to user and cross check. But as per the requirement expected output coming.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Irshad Ahmad&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 05:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Where-not-Exists-function-to-achieve-this-but-not-working/m-p/2424426#M95991</guid>
      <dc:creator>iahmad9</dc:creator>
      <dc:date>2024-02-28T05:48:20Z</dc:date>
    </item>
  </channel>
</rss>

