<?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 Removing duplicate/update in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-duplicate-update/m-p/1556436#M743159</link>
    <description>&lt;PRE&gt;Qualys:
LOAD 
 IF(
      @7 &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\')) = '-OTHER-OTHER-', NULL(),
      IF(
       @7 &amp;amp; '-' &amp;amp; 
       ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
       IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\')) = '-', NULL(),
      @7 &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\'))))
                                as %Vulnerability,
       ''                      as [Action Status],     
      ''                      as Comment,
  
     Date(Date#(left(SubField(FileName(), '_', 3),8), 'DDMMYYYY'),'DD-MM-YYYY')    as [Vulnerability Date],
     
FROM
[$(vSource)\CSVs\Scan_Report_*$(vcurrentyear).csv]
(txt, codepage is 1252, explicit labels, delimiter is ',', msq, header is 4 lines);

left Join
LOAD %Vulnerability,
[Action Status],
[Vulnerability Date],
Comment
FROM
[$(vQVDs\Test_Qualys.qvd]
(qvd) where not exists (%Vulnerability);&lt;/PRE&gt;&lt;P&gt;I am joining the above qvd to the weekly excel files that are injested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want is to compare %Vulnerability and use Comment coming from the QVD file.&lt;/P&gt;&lt;P&gt;Am I using the correct join?&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>Sat, 16 Nov 2024 04:10:33 GMT</pubDate>
    <dc:creator>bobbydave</dc:creator>
    <dc:date>2024-11-16T04:10:33Z</dc:date>
    <item>
      <title>Removing duplicate/update</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-duplicate-update/m-p/1556436#M743159</link>
      <description>&lt;PRE&gt;Qualys:
LOAD 
 IF(
      @7 &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\')) = '-OTHER-OTHER-', NULL(),
      IF(
       @7 &amp;amp; '-' &amp;amp; 
       ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
       IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\')) = '-', NULL(),
      @7 &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Hostname', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      ApplyMap('Qualys_Description', @1, 'OTHER') &amp;amp; '-' &amp;amp; 
      IF(TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\') = '/SSL', 'SSL', TextBetween(MapSubString( 'Keyword_Mapping' , @8), '/', '\'))))
                                as %Vulnerability,
       ''                      as [Action Status],     
      ''                      as Comment,
  
     Date(Date#(left(SubField(FileName(), '_', 3),8), 'DDMMYYYY'),'DD-MM-YYYY')    as [Vulnerability Date],
     
FROM
[$(vSource)\CSVs\Scan_Report_*$(vcurrentyear).csv]
(txt, codepage is 1252, explicit labels, delimiter is ',', msq, header is 4 lines);

left Join
LOAD %Vulnerability,
[Action Status],
[Vulnerability Date],
Comment
FROM
[$(vQVDs\Test_Qualys.qvd]
(qvd) where not exists (%Vulnerability);&lt;/PRE&gt;&lt;P&gt;I am joining the above qvd to the weekly excel files that are injested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want is to compare %Vulnerability and use Comment coming from the QVD file.&lt;/P&gt;&lt;P&gt;Am I using the correct join?&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>Sat, 16 Nov 2024 04:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-duplicate-update/m-p/1556436#M743159</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2024-11-16T04:10:33Z</dc:date>
    </item>
  </channel>
</rss>

