<?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 Ignore nulls from year? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270297#M101376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A general query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the code as seen here at script level, which after reloaded gets the year dimension with blanks. I want to get rid of this and not see the blanks at all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year &amp;gt;= '2006' and year &amp;lt;= year(today()), year,'') as year_dim, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 09:53:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-11T09:53:17Z</dc:date>
    <item>
      <title>Ignore nulls from year?</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270297#M101376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A general query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the code as seen here at script level, which after reloaded gets the year dimension with blanks. I want to get rid of this and not see the blanks at all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year &amp;gt;= '2006' and year &amp;lt;= year(today()), year,'') as year_dim, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 09:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270297#M101376</guid>
      <dc:creator />
      <dc:date>2011-07-11T09:53:17Z</dc:date>
    </item>
    <item>
      <title>Ignore nulls from year?</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270298#M101377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/message/131647#131647"&gt;http://community.qlik.com/message/131647#131647&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 09:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270298#M101377</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-11T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Ignore nulls from year?</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270299#M101378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply, but I have this at the load script level and I dont want to ignore all null values(but only from year dimension), I am aware that we can ignore nulls, when we use this dimension within charts. I have year as a list box selector and it shows blanks which I dont want. Is there any other way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 10:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270299#M101378</guid>
      <dc:creator />
      <dc:date>2011-07-11T10:01:42Z</dc:date>
    </item>
    <item>
      <title>Ignore nulls from year?</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270300#M101379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then change your expression to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(year &amp;gt;= '2006' and year &amp;lt;= year(today()), year) as year_dim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you notice i have removed the '' from the expression, so now you will not get any null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 10:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270300#M101379</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-11T10:03:51Z</dc:date>
    </item>
    <item>
      <title>Ignore nulls from year?</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270301#M101380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thats what i was looking exactly for. But the strange thing was first I tried the below and it gave an error, that IF should have 2 parameters.... I wasnt sure why it did get me that error message??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(year &amp;gt;= '2006' , year) as year_dim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 10:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-nulls-from-year/m-p/270301#M101380</guid>
      <dc:creator />
      <dc:date>2011-07-11T10:06:42Z</dc:date>
    </item>
  </channel>
</rss>

