<?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 Remove Rows with Nulls and Zeros in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535292#M4290</link>
    <description>&lt;P&gt;Hi Experts&lt;/P&gt;
&lt;P&gt;please can you suggest me how to remove the employees with&amp;nbsp;Nulls and Zeros, even if its missing or null for one single day, that employee Id has to removed from my Qlik sense pivot table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my row is Employee_ID, column is work_date and measure is sum(worked_Hours)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rjk_0-1762285758841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184776iFFA06E8BCB78EF1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rjk_0-1762285758841.png" alt="Rjk_0-1762285758841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;please suggest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2025 19:53:05 GMT</pubDate>
    <dc:creator>Rjk</dc:creator>
    <dc:date>2025-11-04T19:53:05Z</dc:date>
    <item>
      <title>Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535292#M4290</link>
      <description>&lt;P&gt;Hi Experts&lt;/P&gt;
&lt;P&gt;please can you suggest me how to remove the employees with&amp;nbsp;Nulls and Zeros, even if its missing or null for one single day, that employee Id has to removed from my Qlik sense pivot table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my row is Employee_ID, column is work_date and measure is sum(worked_Hours)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rjk_0-1762285758841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184776iFFA06E8BCB78EF1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rjk_0-1762285758841.png" alt="Rjk_0-1762285758841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;please suggest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 19:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535292#M4290</guid>
      <dc:creator>Rjk</dc:creator>
      <dc:date>2025-11-04T19:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535323#M4291</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/346027"&gt;@Rjk&lt;/a&gt;&amp;nbsp; , You can use the below expression to mark blank or null as zero.&lt;/P&gt;
&lt;P&gt;alt(sum(sales),0)&lt;/P&gt;
&lt;P&gt;Alt will return the 0 if there is no values present.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 04:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535323#M4291</guid>
      <dc:creator>Amit_Prajapati</dc:creator>
      <dc:date>2025-11-05T04:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535350#M4292</link>
      <description>&lt;P&gt;Hi Amit,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to remove the entire row if there is any&amp;nbsp; null or zero present in the line&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 08:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535350#M4292</guid>
      <dc:creator>Rjk</dc:creator>
      <dc:date>2025-11-05T08:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535356#M4293</link>
      <description>&lt;P&gt;You'd need to modify your measure to return null (or zero) if any instance of it for that row returns null or zero. Something along the lines of:&lt;/P&gt;&lt;P&gt;if(sum(total &amp;lt;Employee&amp;gt; if(Hours&amp;gt;0,1))=count(total &amp;lt;Employee&amp;gt; 1),sum(Hours))&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 09:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535356#M4293</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-11-05T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535389#M4294</link>
      <description>&lt;P&gt;Hi Or still can't able to as it has few days value has zero for employee Id 58443 and no missing Values and still can't excluded that&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 11:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535389#M4294</guid>
      <dc:creator>Rjk</dc:creator>
      <dc:date>2025-11-05T11:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535421#M4295</link>
      <description>&lt;P&gt;In general should a check-logic like suggested from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;be working. But the expression will be depending on the data-set and the data-model, for example are ZERO values possible or even negative ones and/or there are n values per employee and day and/or any missing (NULL) ones ...&lt;/P&gt;&lt;P&gt;Especially NULL is difficult because it couldn't be directly accessed and even if the combination of data-set + data-model + view-requirements enable an indirect query the complexity of such solution could become very ugly. Therefore it's often better to populate the missing values within the data-model.&lt;/P&gt;&lt;P&gt;Assuming that there are no missing records anymore and no negative results and n records per employee and day I could imagine that an approach like the following one may be helpful:&lt;/P&gt;&lt;P&gt;if(min(total Employee aggr(sum(Hours), Employee, Date)), sum(Hours), null())&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 15:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535421#M4295</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-11-05T15:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535473#M4296</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;,&amp;nbsp;i will try as you said,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 09:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2535473#M4296</guid>
      <dc:creator>Rjk</dc:creator>
      <dc:date>2025-11-06T09:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2538137#M4324</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the help of the crosstable you will be able to converted the pivot table, then once you get the unpivoted data, you can clean the data based on your requirements (like if has nulls and zero). Please check the below script.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Draw back: Once the data is unpivoted it is hard to convert it back to pivot table. so I have used the pivot in the front end&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Raw data (Excel):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysalvi43_0-1764852693662.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185476i6658F0EC90B8EA85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ysalvi43_0-1764852693662.png" alt="ysalvi43_0-1764852693662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Output (Qlik):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysalvi43_1-1764852748313.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185477iA8C8829ED44ED247/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ysalvi43_1-1764852748313.png" alt="ysalvi43_1-1764852748313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;DIV&gt;Table:&lt;/DIV&gt;&lt;DIV&gt;CrossTable(Date, Value, 1)&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "Emp Code",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; *&lt;/DIV&gt;&lt;DIV&gt;FROM [lib://AttachedFiles/Null_remove_Excel.xlsx]&lt;/DIV&gt;&lt;DIV&gt;(ooxml, embedded labels, table is Sheet1);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;cross_converted:&lt;/DIV&gt;&lt;DIV&gt;load *,&lt;/DIV&gt;&lt;DIV&gt;Date(Num#(Date), 'DD-MM-YYYY') as Date_New&lt;/DIV&gt;&lt;DIV&gt;resident Table&lt;/DIV&gt;&lt;DIV&gt;where not match(Date,'Emp Code');&lt;/DIV&gt;&lt;DIV&gt;drop table Table;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;Final_Table:&lt;/DIV&gt;&lt;DIV&gt;load "Emp Code",&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Link' as Linkage&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; resident cross_converted;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;join&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;load Date_New,&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Link' as Linkage&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; resident cross_converted;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //drop table cross_converted;&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Final_1:&lt;/DIV&gt;&lt;DIV&gt;load "Emp Code",&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Emp Code" as Null_Emp_Code,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date_New,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Date_New &amp;amp;'&amp;lt;&amp;gt;'&amp;amp;"Emp Code" as string&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; resident Final_Table;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //drop table Final_Table;&lt;/DIV&gt;&lt;DIV&gt;join&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;load Date_New &amp;amp;'&amp;lt;&amp;gt;'&amp;amp;"Emp Code"&amp;nbsp; as string,&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(isnull(Value) or len(Value)&amp;lt;1,'Null',Value) as Value_Flag,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Value,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(isnull(Value),1,0) as Null_Flag&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; resident cross_converted;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //drop table cross_converted;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;Null_table:&lt;/DIV&gt;&lt;DIV&gt;load "Emp Code" as Emp_Test,&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Value_Flag as Value_Test&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;resident Final_1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; where len(Value_Flag)&amp;lt;1;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;drop table Final_Table;//group by "Emp Code" ;&lt;/DIV&gt;&lt;DIV&gt;//where&amp;nbsp; not match(Value,'-',' ');&lt;/DIV&gt;&lt;DIV&gt;drop table cross_converted;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //where match(Null_Flag,0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //drop table Final_1;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //where "Emp Code" &amp;amp;'&amp;lt;&amp;gt;'&amp;amp;&amp;nbsp; isnull(Value);&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Final_Temp_Table:&lt;/DIV&gt;&lt;DIV&gt;load *&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;resident Final_1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; where not exists(Emp_Test,"Emp Code");&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; drop table Final_1;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; drop table Null_table;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 12:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2538137#M4324</guid>
      <dc:creator>ysalvi43</dc:creator>
      <dc:date>2025-12-04T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Rows with Nulls and Zeros</title>
      <link>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2538140#M4325</link>
      <description>&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;try this &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Create a variable: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;LET &lt;/SPAN&gt;&lt;SPAN class=""&gt;vAllDates&lt;/SPAN&gt;&lt;SPAN class=""&gt; = Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN class=""&gt;Work_Date&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Dimension Exp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt; Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Worked_Hours&lt;/SPAN&gt;&lt;SPAN class=""&gt; = {"&amp;gt;0"}&amp;gt;} DISTINCT &lt;/SPAN&gt;&lt;SPAN class=""&gt;Work_Date&lt;/SPAN&gt;&lt;SPAN class=""&gt;),&lt;/SPAN&gt;&lt;SPAN class=""&gt;Employee_ID&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Measure&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;= Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN class=""&gt;Work_Date&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 12:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Remove-Rows-with-Nulls-and-Zeros/m-p/2538140#M4325</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2025-12-04T12:59:09Z</dc:date>
    </item>
  </channel>
</rss>

