<?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: Exclude Null and Include Current Selections with Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099077#M364884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. I have removed the other text boxes and kept the ones that needed, i.e. on the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to exclude nulls and allow current selections. (Both, In the chart and in the Text box below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text box(in bold, below the chart) I need to show the difference between two state s1 &amp;amp; s2 selections. At the same I want to remove nulls in the calculations and allow the current selections on the fields like Priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart, I need to remove the nulls and allow the current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the updated qvw attached.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 23:06:46 GMT</pubDate>
    <dc:creator>shyamcharan</dc:creator>
    <dc:date>2016-06-13T23:06:46Z</dc:date>
    <item>
      <title>Exclude Null and Include Current Selections with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099075#M364882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a requirement to display total count in a text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have two alternate state filters to allow users see the variance between two state selections.&lt;/P&gt;&lt;P&gt;However, trying to allow users to see the difference between two states and also Include current selections on other default filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the total should not include the Nulls or Error records for the Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can let the chart show only the non null values and allow the default state filter selections.&lt;/P&gt;&lt;P&gt;I will have to display total difference and the percentage as in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 12:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099075#M364882</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2016-06-13T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Null and Include Current Selections with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099076#M364883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are 4 text boxes in your attached qvw file. Which one are we looking at? Also what is the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 12:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099076#M364883</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Null and Include Current Selections with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099077#M364884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. I have removed the other text boxes and kept the ones that needed, i.e. on the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to exclude nulls and allow current selections. (Both, In the chart and in the Text box below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text box(in bold, below the chart) I need to show the difference between two state s1 &amp;amp; s2 selections. At the same I want to remove nulls in the calculations and allow the current selections on the fields like Priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart, I need to remove the nulls and allow the current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the updated qvw attached.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 23:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099077#M364884</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2016-06-13T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Null and Include Current Selections with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099078#M364885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if the attach does it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script changes:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variance:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD RowNo() as Key,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; *,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; Year&amp;amp;Quartr&amp;amp;Month&amp;amp;Count&amp;amp;Priority,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp; If(Len(Trim(Year)) = 0 or Len(Trim(Quartr)) = 0 or Len(Trim(Month)) = 0 or Len(Trim(Count)) = 0 or Len(Trim(Priority)) = 0, 1, 0) as Null;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, Quartr, Month, Count, Priority&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 1, 1, 43, P1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 1, 2, 545, P2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 1, 3, 2345, P3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text box object's expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=(Sum({&amp;lt;Year={"&amp;gt;=$(=vs2Min)&amp;lt;=$(=vs2Max)"},Quartr={"&amp;gt;=$(=vs2qtrMin)&amp;lt;=$(=vs2qtrMax)"}, Null = {0}, Priority = $::Priority&amp;gt;}Count)-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;Year={"&amp;gt;=$(=vSetMinTest)&amp;lt;=$(=vSetMaxTest)"},Quartr={"&amp;gt;=$(=vqtrMinTest)&amp;lt;=$(=vqtrMaxTest)"}, Null = {0}, Priority = $::Priority&amp;gt;}Count))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart's expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(ValueList('s1','s2'),'s1','s2'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year={"&amp;gt;=$(=vSetMinTest)&amp;lt;=$(=vSetMaxTest)"},Quartr={"&amp;gt;=$(=vqtrMinTest)&amp;lt;=$(=vqtrMaxTest)"}, Null = {0}, Priority = $::Priority&amp;gt;}Count),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year={"&amp;gt;=$(=vs2Min)&amp;lt;=$(=vs2Max)"},Quartr={"&amp;gt;=$(=vs2qtrMin)&amp;lt;=$(=vs2qtrMax)"}, Null = {0}, Priority = $::Priority&amp;gt;}Count))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 00:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099078#M364885</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T00:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Null and Include Current Selections with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099079#M364886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Null = {0}, Priority = $::Priority&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This bit of code fixed my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 06:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Null-and-Include-Current-Selections-with-Alternate/m-p/1099079#M364886</guid>
      <dc:creator>shyamcharan</dc:creator>
      <dc:date>2016-06-14T06:05:00Z</dc:date>
    </item>
  </channel>
</rss>

