<?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: Expressions: if null, set empty-string; else if field &amp;lt;&amp;gt; x AND field &amp;lt;&amp;gt; y, then show in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1605152#M737735</link>
    <description>&lt;P&gt;Not sure if the following may be of any use or not, but there is also a white paper link at the end of the post too, hopefully it might give you some further ideas if Marcus' did not do the trick.&amp;nbsp; If you go back to the Qlik-Design-Blog level in the link, you can search the entire Design Blog, lots of great posts out there...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/NULL-The-Invisible-Nothing/ba-p/1467674" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/NULL-The-Invisible-Nothing/ba-p/1467674&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2019 12:40:22 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-07-23T12:40:22Z</dc:date>
    <item>
      <title>Expressions: if null, set empty-string; else if field &lt;&gt; x AND field &lt;&gt; y, then show field-value ...</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1595893#M737733</link>
      <description>&lt;P&gt;Here's the Expression I'm attempting to use:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(IsNull(SPMKJLCE), '', if(RTrim(SPMKJLCE) = 'ER' OR RTrim(SPMKJLCE) = 'DC', Null(), SPMKJLCE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;... together with having "Suppress When Value Is Null" checkbox checked.&lt;/P&gt;&lt;P&gt;The idea is to AVOID filtering out any rows with SPMKJLCE being null, while filtering out rows with SPMKJLCE being equal either to 'ER' or to 'DC'; and otherwise show the relevant row with the given value in that column.&lt;/P&gt;&lt;P&gt;The problem&amp;nbsp; seems to be that rows containing, e.g., 'DC' (possibly also ones containing 'ER') in that column are remaining in the results though with empty-string as its value.&lt;/P&gt;&lt;P&gt;Anyway, can somebody confirm (or refute) that the above Expression is right for this use-case: i.e., "if null, set to empty-string; else, if 'ER' or 'DC', set to null and filter out the row; else show the column-value and retain that row"?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1595893#M737733</guid>
      <dc:creator>llefever</dc:creator>
      <dc:date>2024-11-16T03:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions: if null, set empty-string; else if field &lt;&gt; x AND field &lt;&gt; y, then show</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1596834#M737734</link>
      <description>&lt;P&gt;Do you really want to set an empty string if the field is NULL? If yes, then is a check to len(trim()) often a better approach as using isnull(). If this isn't intended then I would probably use:&lt;/P&gt;&lt;P&gt;if(not match(RTrim(SPMKJLCE), 'ER', 'DC'), SPMKJLCE)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1596834#M737734</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-06-27T14:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions: if null, set empty-string; else if field &lt;&gt; x AND field &lt;&gt; y, then show</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1605152#M737735</link>
      <description>&lt;P&gt;Not sure if the following may be of any use or not, but there is also a white paper link at the end of the post too, hopefully it might give you some further ideas if Marcus' did not do the trick.&amp;nbsp; If you go back to the Qlik-Design-Blog level in the link, you can search the entire Design Blog, lots of great posts out there...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/NULL-The-Invisible-Nothing/ba-p/1467674" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/NULL-The-Invisible-Nothing/ba-p/1467674&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-if-null-set-empty-string-else-if-field-lt-gt-x-AND/m-p/1605152#M737735</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-23T12:40:22Z</dc:date>
    </item>
  </channel>
</rss>

