<?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: Null values / Band / assign a filter to a row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13835#M771155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But then it means that the results for other selections should be different also, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203541_Capture.PNG" style="height: 277px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I selected STATE = CA and COUNTY = SAN_DIEGO... this will no more show this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203542_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2018 14:42:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-25T14:42:26Z</dc:date>
    <item>
      <title>Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13828#M771148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the below data sample and attached is the QVW for reference. I'm trying to associate a filter column to the ID. The idea is when an user makes a filter selection, the associated data is returned. I got two issues:&lt;/P&gt;&lt;P&gt;1) On 'Raw Data' chart, selecting filters STAT = AB, UNIT = EDUCATION, STATE = CA, COUNTY = SAN_DIEGO, CITY= VISTA&lt;/P&gt;&lt;P&gt;should result in two rows - one for each zip, so the total amount should be 100 (40 + 60) not 100.&lt;/P&gt;&lt;P&gt;2) On 'OUTPUT' chart, I want to assign the amount based on the user filter selection to be assigned to the correct band.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on what am I missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID, DATE, UNIT, STAT, STATE, COUNTY, CITY, ZIP, AMOUNT&lt;BR /&gt; S1, 201709, EDUCATION, NULL, NULL, NULL, NULL, NULL, 1000&lt;BR /&gt; S2, 201709, DEFENSE, NULL, NULL, NULL, NULL, NULL, 2000 &lt;BR /&gt; &lt;BR /&gt; S3, 201709, EDUCATION, AB, NULL, NULL, NULL, NULL, 400&lt;BR /&gt; S4, 201709, EDUCATION, XY, NULL, NULL, NULL, NULL, 600&lt;BR /&gt; &lt;BR /&gt; S5, 201709, DEFENSE, AB, NULL, NULL, NULL, NULL, 1200&lt;BR /&gt; S6, 201709, DEFENSE, XY, NULL, NULL, NULL, NULL, 800&lt;BR /&gt; &lt;BR /&gt; S7, 201709, EDUCATION, AB, CA, NULL, NULL, NULL, 400&lt;BR /&gt; S8, 201709, EDUCATION, AB, NY, NULL, NULL, NULL, 600&lt;BR /&gt; &lt;BR /&gt; S9, 201709, EDUCATION, AB, CA, SAN_DIEGO, NULL, NULL, 300&lt;BR /&gt; S10,201709, EDUCATION, AB, CA, SFO, SFO, NULL, 100&lt;BR /&gt; S11,201709, EDUCATION, AB, NY, SUFFOLK, NULL, NULL, 600 &lt;BR /&gt; &lt;BR /&gt; S12,201709, EDUCATION, AB, CA, SAN_DIEGO, SAN_DIEGO, NULL, 200&lt;BR /&gt; S13,201709, EDUCATION, AB, CA, SAN_DIEGO, VISTA, NULL, 100&lt;BR /&gt; S14,201709, EDUCATION, AB, CA, SFO, SFO, NULL, 100&lt;BR /&gt; &lt;BR /&gt; S15,201709, EDUCATION, AB, CA, SAN_DIEGO, SAN_DIEGO, 90123, 120&lt;BR /&gt; S16,201709, EDUCATION, AB, CA, SAN_DIEGO, SAN_DIEGO, 90125, 80&lt;BR /&gt; S17,201709, EDUCATION, AB, CA, SAN_DIEGO, VISTA, 91234, 40&lt;BR /&gt; S18,201709, EDUCATION, AB, CA, SAN_DIEGO, VISTA, 91235, 60&lt;BR /&gt; S19,201709, EDUCATION, AB, CA, SFO, SFO, 90001, 100&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13828#M771148</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13829#M771149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For 1st issue... may be use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ZIP -= {'NULL'}&amp;gt;}AMOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2nd, what is the correct band here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13829#M771149</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T13:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13830#M771150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For band,&lt;BR /&gt;Any total amount &amp;gt;= 0 and &amp;lt;= 50 should be in 0-50 band&lt;BR /&gt;Any total amount &amp;gt;50 and &amp;lt;= 100 should be in 50-100 band&lt;/P&gt;&lt;P&gt;Any total amount &amp;gt;100 and &amp;lt;= 200 should be in 100-200 band&lt;/P&gt;&lt;P&gt;Any total amount &amp;gt;200 and &amp;lt;= 400 should be in 200-400 band&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any total amount &amp;gt;400 and &amp;lt;= 10000 should be in 400-10000 band&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instances, applying filters:&lt;/P&gt;&lt;P&gt;1) City = San Diego, should be reflected on 100-200 band as San Diego has two zip with 120 &amp;amp; 80$ (total 200)&lt;BR /&gt;2) State = CA, County = San Diego should be reflected on two different bands:&lt;BR /&gt;50-100 =&amp;gt; 100 (City VISTA has two zip; 40 &amp;amp; 60, so total is 100$)&lt;BR /&gt;100-200 =&amp;gt; 200 (City San Diego has two zip: 120 &amp;amp; 80, so total is 200$)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13830#M771150</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2018-05-25T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13831#M771151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculated dimension&lt;/P&gt;&lt;P&gt;Low&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 50 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 100, 50,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 100 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 200, 100,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 200 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 400, 200))), CITY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;High&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 50 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 100, 100,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 100 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 200, 200,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;gt; 200 and SUM({&amp;lt;ZIP -= {'NULL'}&amp;gt;} AMOUNT) &amp;lt;= 400, 400))), CITY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ZIP -= {'NULL'}&amp;gt;}AMOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13831#M771151</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13832#M771152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, I think it's working for the above cases but I noticed few cases where it isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can we display all the bands even though there's no value or 0 value for Amount? I tried adding sum({1} 0) to the expression but that didn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selecting filters:&lt;/P&gt;&lt;P&gt;2) Unit = Education, Stat = XY, think it should display 600. It displays 0&lt;/P&gt;&lt;P&gt;3) Unit = Defense, Stat = XY, think it should display 800. It displays 0&lt;/P&gt;&lt;P&gt;4) Unit = Defense, Stat = AB, think it should display 1200. It displays 0&lt;/P&gt;&lt;P&gt;5) Stat = Education only, think it should display 1000&lt;/P&gt;&lt;P&gt;6) Stat = Defense only, think it should display 2000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13832#M771152</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2018-05-25T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13833#M771153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strictly looking at number 2 point above.... Zip is NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203531_Capture.PNG" style="height: 68px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the sum 600? Am I missing something, I thought you wanted to exclude NULL ZIPs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13833#M771153</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13834#M771154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for any confusion. The goal here is: when an user makes a selection from the multi-box filter, it should reflect the corresponding value in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example (no 2), although all other column values are NULL, the total amount for Unit = Education and Stat = XY is 600$. Hence, the output band table should display 600$ on 400-10000 band.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203533_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13834#M771154</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2018-05-25T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13835#M771155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But then it means that the results for other selections should be different also, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203541_Capture.PNG" style="height: 277px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I selected STATE = CA and COUNTY = SAN_DIEGO... this will no more show this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203542_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13835#M771155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13836#M771156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the above output table example you highlighted, yes that's not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess if we can somehow exclude all the rows with&amp;nbsp; NULL we might get the correct total. Also, looks like the Amount for San Diego City and Vista is doubled. Again, it appears because of NULL values for City and Zip.&lt;/P&gt;&lt;P&gt;The total amount for San Diego City is 200 and Vista is 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not possible to accomplish in conjunction with the cases (2-6) I listed above?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203552_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 15:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13836#M771156</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2018-05-25T15:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13837#M771157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I guess if we can somehow exclude all the rows with&amp;nbsp; NULL we might get the correct total.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But when we did that here... you were not happy with the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203554_Capture.PNG" style="height: 79px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;In this case your wanted the Amount to show 600.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused as to what you want my friend &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 15:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13837#M771157</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13838#M771158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, u were correct. The solution you provided works. I had to restructure the data to get the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 16:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13838#M771158</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2018-05-30T16:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Null values / Band / assign a filter to a row</title>
      <link>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13839#M771159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 16:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Null-values-Band-assign-a-filter-to-a-row/m-p/13839#M771159</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-30T16:05:49Z</dc:date>
    </item>
  </channel>
</rss>

