<?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: How to avoid duplicates and compare the data with two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-duplicates-and-compare-the-data-with-two-fields/m-p/1770005#M717274</link>
    <description>&lt;P&gt;Hi Gyuvaraj&lt;/P&gt;&lt;P&gt;Have you solved the question by yourself ?&lt;/P&gt;&lt;P&gt;If you don't, please try to be more specific about the question/problem and attach your test, then it will be more easy for people here to help you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marcos&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 13:29:00 GMT</pubDate>
    <dc:creator>Marcos_Ferreira_dos_Santos</dc:creator>
    <dc:date>2020-12-22T13:29:00Z</dc:date>
    <item>
      <title>How to avoid duplicates and compare the data with two fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-duplicates-and-compare-the-data-with-two-fields/m-p/1769157#M717273</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have 5 fields in my report.&lt;/P&gt;&lt;P&gt;It should satisfy the below scenarios&lt;/P&gt;&lt;P&gt;account no with p_cardnumber and s_cardnumber having both values(both)&lt;/P&gt;&lt;P&gt;account no&amp;nbsp;with p_cardnumber value and s_cardnumber having no value(primary only)&lt;BR /&gt;account no&amp;nbsp;no p_cardnumber value and s_cardnumber having value (secondary only)&lt;BR /&gt;account no&amp;nbsp;but no values in p_cardnumber and s_cardnumber(both has no values)&lt;/P&gt;&lt;P&gt;above scenarios i have executed like below&lt;BR /&gt;&lt;SPAN&gt;isnull(Primary) and not isnull(Secondary);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(not isnull(Primary) or not isnull(Secondary)) and not exists(tmpId, Id);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(isnull(Primary) and&amp;nbsp; isnull(Secondary)) and not exists(tmpId, Id);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;raw data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic.jpg" style="width: 468px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45809iA6559780991F2B21/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic.jpg" alt="pic.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;getting below as output but am expecting highlighted cell as output. Here we need to consider whether p_flag and s_flag both are y it comes&amp;nbsp; in report for that single record alone&lt;BR /&gt;for other account number p_flag is y then it will show in report remaining will exclude&lt;BR /&gt;if any reocrd came single time then we need to show as it is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.jpg" style="width: 394px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45810i3083979274CF3DAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic2.jpg" alt="pic2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;yuvaraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-duplicates-and-compare-the-data-with-two-fields/m-p/1769157#M717273</guid>
      <dc:creator>gyuvaraj</dc:creator>
      <dc:date>2024-11-15T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicates and compare the data with two fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-duplicates-and-compare-the-data-with-two-fields/m-p/1770005#M717274</link>
      <description>&lt;P&gt;Hi Gyuvaraj&lt;/P&gt;&lt;P&gt;Have you solved the question by yourself ?&lt;/P&gt;&lt;P&gt;If you don't, please try to be more specific about the question/problem and attach your test, then it will be more easy for people here to help you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marcos&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 13:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-duplicates-and-compare-the-data-with-two-fields/m-p/1770005#M717274</guid>
      <dc:creator>Marcos_Ferreira_dos_Santos</dc:creator>
      <dc:date>2020-12-22T13:29:00Z</dc:date>
    </item>
  </channel>
</rss>

