<?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: Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509690#M104745</link>
    <description>&lt;P&gt;I'm not sure if the NULL matter could be simply ignored ... You may check your view by enabling the chart-property of displaying ZERO and/or to wrap your expression, like: rangesum(YourExpression, sum({1} 0)).&lt;/P&gt;&lt;P&gt;If this isn't working as expected you will have definitely have a NULL issue which is very likely caused from the data-set and/or the data-model and which should be resolved on this level. I don't want to say that there no ways to show NULL and/or missing values only with UI measurements but the complexity of such workarounds will be significantly higher as a script-solution by getting serious disadvantages in regard to the performance and the usability.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 10:03:00 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-03-13T10:03:00Z</dc:date>
    <item>
      <title>Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns</title>
      <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509150#M104664</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;_/\_ Kindly help with the below&amp;nbsp;_/\_ &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;Requirement 1:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;In the dashboard, on applying the filter "ETA Date Range" (Date Picker) on the sheet, the table chart should not filter out or hide any rows. rather, the values of one measure (Open PO column) of those rows, which otherwise would have gotten filtered out in the table should become NULL or ZERO. And all those other columns which are dependent in the Open PO calculations (Shortage Qty, Shortage Value, MTD Value, MTD Quantity, MTD vs LP) should &lt;FONT face="arial,helvetica,sans-serif"&gt;show&lt;/FONT&gt; values according to the updated calculated values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;Requirement 2:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Similarly, on applying the filter "Storage Location" on the sheet, the table should not filter out or hide any rows. rather, the values of two measures (Stock Available and In Transit columns) of those rows, which otherwise would have filtered out in the table should become NULL or ZERO. And all those other columns which are dependent in the Stock Available and In Transit calculations (Shortage Qty, Shortage Value, MTD Value, MTD Quantity, MTD vs LP) should show values according to the updated calculated values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Attached the .qvf file with data, for reference&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Data Model:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Data Model" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178275i9F8CD4072966C076/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-03 132153.png" alt="Data Model" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Data Model&lt;/span&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;Sheet:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Qlikerrr_0-1741667221257.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178362i22ABFF09E13907AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlikerrr_0-1741667221257.png" alt="Qlikerrr_0-1741667221257.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;Table Chart&lt;/STRONG&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Dimensions:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;material_id&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Description&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Measures:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Net Sales Qty; The Expression is Sum([Net Sales Volume])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Net Sales Value; The Expression is Sum([Net Sales Value])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Net Sales Currency ; The Expression is currency&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Open Order Qty; Expression is Sum(oo_qty)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Open Order Value ; The Expression is Sum(oo_value)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;OO Currency; The expression is currency&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Billing Pend Qty; the expression is Sum([Pend Invoice Qty])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Billing Pending Value ; The Expression is Sum([Pend Invoice Value])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Billing Pending Currency; The Expression is currency&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Stock Available ; The Expression is Sum(Stock)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;In Transit; The Expression is Sum(in_transit_qty)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Open PO; The Expression is Sum([PO Open Qty])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;ETA; The Expression is =date(delivery_date)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Shortage Qty; The Expression is&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-90px"&gt;&lt;FONT size="2"&gt;if(SUM(AGGR(COALESCE(COALESCE(([Stock Available]),0)-COALESCE(([Open Order Qty]),0)+COALESCE(([Billing Pend Qty]),0)+COALESCE(([Open PO]),0),0),MatDes))&amp;gt;=0,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-90px"&gt;&lt;FONT size="2"&gt;0,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-90px"&gt;&lt;FONT size="2"&gt;SUM(AGGR(COALESCE(COALESCE(([Stock Available]),0)-COALESCE(([Open Order Qty]),0)+COALESCE(([Billing Pend Qty]),0)+COALESCE(([Open PO]),0),0),MatDes)))&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Shortage Value; The Expression is [Shortage Qty]*[Open Order Price]&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;MTD Qty; The Expression is (coalesce([Open Order Qty],0) + coalesce([Shortage Qty],0)+coalesce([Net Sales Qty],0))&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;MTD Value; The Expression is (coalesce([Open Order Value],0) + coalesce([Shortage Value],0)+coalesce([Net Sales Value],0))&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;LP Qty; The Expression is Sum([LP Volume])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;LP Value; The Expression is Sum([LP Value])&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;LP&amp;nbsp; Currency; The Expression is currency&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Sales vs LP ; The Expression is =[Net Sales Value]+[Open Order Value]-[LP Value]&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;MTD vs LP; The Expression is&amp;nbsp; (coalesce([Open Order Value],0) + coalesce([Net Sales Value],0)+ coalesce([Shortage Value],0))-[LP Value]&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Filter Fields:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;ETA Date Range (Date Picker) ; The Expression is =date(delivery_date)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 11 Mar 2025 10:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509150#M104664</guid>
      <dc:creator>Qlikerrr</dc:creator>
      <dc:date>2025-03-11T10:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns</title>
      <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509403#M104712</link>
      <description>&lt;P&gt;If anyone feels the question is confusing/ not clear enough, kindly comment and I will try to articulate in a simpler way.&lt;/P&gt;
&lt;P&gt;Thanks in advance for the kind gesture.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 06:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509403#M104712</guid>
      <dc:creator>Qlikerrr</dc:creator>
      <dc:date>2025-03-12T06:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns</title>
      <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509549#M104725</link>
      <description>&lt;P&gt;I assume your challenge is not to ignore certain selections - which could be simply solved by adding the relevant fields in a set analysis - else to access NULL.&lt;/P&gt;&lt;P&gt;NULL isn't stored in any way and couldn't be accessed. NULL within the table-loads could be queried and replaced with real values, like: '&amp;lt;NULL&amp;gt;' with functions like: coalesce(), len(trim()), isnull() with/without if-loops or the use of NULL variables / NULL mapping. After that the replacement-values could be directly addressed to be included/exclude like needed.&lt;/P&gt;&lt;P&gt;But the above won't be working if the NULL is the result of missing key-values of a table-association. In this case the solution is similar by populating the missing key-values - running each table against each other to find the missing ones and to add them appropriate.&lt;/P&gt;&lt;P&gt;Simpler as this is usually to skip this association-stuff and to develop the data-model as the recommended star-scheme with a single fact-table and n dimension-tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509549#M104725</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-12T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns</title>
      <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509685#M104743</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you so much for taking time to respond.&lt;BR /&gt;&lt;BR /&gt;let's ignore the NULLs part for now.&lt;BR /&gt;&lt;SPAN&gt;Please guide on &lt;/SPAN&gt;&lt;SPAN&gt;different approaches as to how to show all rows in the table chart where the selected values show the values as expected but&amp;nbsp;to fill zeros wherever the filter criteria don't apply (for both the requirements as discussed in the question).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Be it SET analysis OR conditional expressions OR using alternate states etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Kindly share the measure expressions to be used.&lt;BR /&gt;&lt;BR /&gt;Thanks _/\_&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 09:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509685#M104743</guid>
      <dc:creator>Qlikerrr</dc:creator>
      <dc:date>2025-03-13T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Individual Filter selections should not filter out rows but zero out/nullify respective measure values in the table chart columns</title>
      <link>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509690#M104745</link>
      <description>&lt;P&gt;I'm not sure if the NULL matter could be simply ignored ... You may check your view by enabling the chart-property of displaying ZERO and/or to wrap your expression, like: rangesum(YourExpression, sum({1} 0)).&lt;/P&gt;&lt;P&gt;If this isn't working as expected you will have definitely have a NULL issue which is very likely caused from the data-set and/or the data-model and which should be resolved on this level. I don't want to say that there no ways to show NULL and/or missing values only with UI measurements but the complexity of such workarounds will be significantly higher as a script-solution by getting serious disadvantages in regard to the performance and the usability.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 10:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Individual-Filter-selections-should-not-filter-out-rows-but-zero/m-p/2509690#M104745</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-13T10:03:00Z</dc:date>
    </item>
  </channel>
</rss>

