<?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 Missing Fields in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2527664#M4243</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I’m working on a Qlik expression to identify missing values in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;site_name&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field, but I’m running into an issue. The current logic doesn’t catch cases where the field contains a placeholder like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;'-'&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Here’s the expression I’m using:&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;Count(&lt;BR /&gt;DISTINCT If(&lt;BR /&gt;Match(Product, '$(VTypeProduct)') and&lt;BR /&gt;Match(ClassProduct, 'Device', 'Hardware') and&lt;BR /&gt;Match(GenericClass, 'Ser', 'Brute') and&lt;BR /&gt;Len(Trim(site_name)) = 0 or (site_name=''),&lt;BR /&gt;resource&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0,&lt;BR /&gt;'&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt;',&lt;BR /&gt;'&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;'&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;The goal is to return &lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; if any matching records have a missing or placeholder&lt;SPAN&gt;&amp;nbsp;site_name&lt;/SPAN&gt;, and &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; otherwise.&lt;/P&gt;
&lt;P&gt;Could someone please confirm if this logic is correct or suggest improvements?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 08:46:21 GMT</pubDate>
    <dc:creator>DCO</dc:creator>
    <dc:date>2025-08-19T08:46:21Z</dc:date>
    <item>
      <title>Missing Fields</title>
      <link>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2527664#M4243</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I’m working on a Qlik expression to identify missing values in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;site_name&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field, but I’m running into an issue. The current logic doesn’t catch cases where the field contains a placeholder like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;'-'&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Here’s the expression I’m using:&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;Count(&lt;BR /&gt;DISTINCT If(&lt;BR /&gt;Match(Product, '$(VTypeProduct)') and&lt;BR /&gt;Match(ClassProduct, 'Device', 'Hardware') and&lt;BR /&gt;Match(GenericClass, 'Ser', 'Brute') and&lt;BR /&gt;Len(Trim(site_name)) = 0 or (site_name=''),&lt;BR /&gt;resource&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0,&lt;BR /&gt;'&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt;',&lt;BR /&gt;'&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;'&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;The goal is to return &lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; if any matching records have a missing or placeholder&lt;SPAN&gt;&amp;nbsp;site_name&lt;/SPAN&gt;, and &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; otherwise.&lt;/P&gt;
&lt;P&gt;Could someone please confirm if this logic is correct or suggest improvements?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2527664#M4243</guid>
      <dc:creator>DCO</dc:creator>
      <dc:date>2025-08-19T08:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields</title>
      <link>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2527665#M4244</link>
      <description>&lt;P&gt;I don't think anyone is going to be answer this except you - we can't see your data and we have no way of knowing which placeholders might be in use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding:&lt;/P&gt;&lt;P&gt;Len(Trim(site_name)) = 0 or (site_name='')&lt;/P&gt;&lt;P&gt;The second half should be unnecessary, since the trim of empty string is length 0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2527665#M4244</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-08-19T08:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Fields</title>
      <link>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2528499#M4245</link>
      <description>&lt;P&gt;'-' this could be a real dash or null() value in both cases use the IF statement first if its cover all cases.&lt;/P&gt;&lt;P&gt;if isnull(&lt;SPAN&gt;site_name&lt;/SPAN&gt;) , if len(&lt;SPAN&gt;site_name&lt;/SPAN&gt;), if &lt;SPAN&gt;site_name&lt;/SPAN&gt;='-'&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 03:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Missing-Fields/m-p/2528499#M4245</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2025-08-27T03:43:25Z</dc:date>
    </item>
  </channel>
</rss>

