<?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: supress Null for this year or pre year in the straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986237#M336361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the years don't exist in the data at all then thats differnent maybe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//check for no prior year&lt;/P&gt;&lt;P&gt;if( substringcount( concat( {1} Year,',') , $(vPriorYear) ) =0 ,&amp;nbsp; null(), &amp;lt;expression&amp;gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//check for current year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if( substringcount( concat( {1} Year,',') , $(vCurrentYear) ) =0 ,&amp;nbsp; -1, &amp;lt;expression&amp;gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;see if u can post a sample qvf if this doesn't help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 15:43:19 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2015-11-26T15:43:19Z</dc:date>
    <item>
      <title>supress Null for this year or pre year in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986234#M336358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look in this sceanrio : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Straight table where i use to compare this years values to the previous year in the expression - as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((This year value/ pre Year value )-1)&amp;nbsp; - if this year values are NULL then it throws -1 as a out come. and if pre year values are null then, NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ignore these conditions from my straight table. How to do it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppress Null on expression tab doesn't work in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 20:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986234#M336358</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2015-11-25T20:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: supress Null for this year or pre year in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986235#M336359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will depend if the values are 0 , blank or truly null &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example for Null checking as follows&amp;nbsp; ( but first check if you can capture the values you want with isnull() or =0 etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isnull(&amp;nbsp; sum( {&amp;lt;Year={last year}&amp;gt;}&amp;nbsp; Sales ) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isnull( sum( {&amp;lt;Year={&amp;lt;this year&amp;gt;}&amp;gt;}&amp;nbsp; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) ,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {&amp;lt;Year={&amp;lt;this year&amp;gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; Sales)/ &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum( {&amp;lt;Year={&amp;lt;last year&amp;gt;}&amp;gt;}&amp;nbsp; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 21:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986235#M336359</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-25T21:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: supress Null for this year or pre year in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986236#M336360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan.&lt;/P&gt;&lt;P&gt;There are 2 scenarios : &lt;/P&gt;&lt;P&gt;For the Dimension - I dont have this year values (No rows at all) - Only previous year values -&amp;nbsp; So&lt;/P&gt;&lt;P&gt;(this year / pre year)-1&amp;nbsp; calculated as&amp;nbsp; (0/ Non zero values ) -1&amp;nbsp; = -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the Dimension - If I dont have pre year values (No rows at all) - Only this year values -&amp;nbsp; So&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(this year / pre year)-1&amp;nbsp; calculated as&amp;nbsp; ( Non zero values / 0 ) -1&amp;nbsp; =&amp;nbsp; NULL&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Chart shows both these expression values as I have last column where I am sum up This Year Sells&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Supress 0 doesnt work on expression as we dont have all 0 in the same row for all columns. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please let me know more about it - how to get rid of all these situations ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 01:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986236#M336360</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2015-11-26T01:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: supress Null for this year or pre year in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986237#M336361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the years don't exist in the data at all then thats differnent maybe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//check for no prior year&lt;/P&gt;&lt;P&gt;if( substringcount( concat( {1} Year,',') , $(vPriorYear) ) =0 ,&amp;nbsp; null(), &amp;lt;expression&amp;gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//check for current year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if( substringcount( concat( {1} Year,',') , $(vCurrentYear) ) =0 ,&amp;nbsp; -1, &amp;lt;expression&amp;gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;see if u can post a sample qvf if this doesn't help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 15:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986237#M336361</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-26T15:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: supress Null for this year or pre year in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986238#M336362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan. Now, I got the correct data in DB hence problem is fixed. But&amp;nbsp; I appreciate your help. I will keep in mind above expressions you have suggested. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 23:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/supress-Null-for-this-year-or-pre-year-in-the-straight-table/m-p/986238#M336362</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2015-11-26T23:47:12Z</dc:date>
    </item>
  </channel>
</rss>

