<?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: case when not 'attr1' is null implementation in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480014#M693209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this syntax :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'N/A'))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Hold_Reasons &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;This will work for blank spaces and null values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MultiView&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 10:53:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-09T10:53:16Z</dc:date>
    <item>
      <title>case when not 'attr1' is null implementation in script</title>
      <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480011#M693206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to implement the below in qlickview script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e is not null concept in qlik view script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;case&amp;nbsp; when not&amp;nbsp; ATTR1 is null then ATTR1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;when not ATTR2 is null then ATTR2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;when not ATTR3 is null then ATTR3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt; else 'N/A' end&amp;nbsp; "Hold_Reasons"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 06:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480011#M693206</guid>
      <dc:creator />
      <dc:date>2013-08-09T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: case when not 'attr1' is null implementation in script</title>
      <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480012#M693207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(not isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR1 ),&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR1 ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(not isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR2 ),&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(not isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR3 ),&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR3,'N/A')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR1 )&amp;lt;&amp;gt;-1,&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR1 ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR2 )&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;&amp;lt;&amp;gt;-1&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR3 )&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;&amp;lt;&amp;gt;-1&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: #3333ff; font-family: 'Calibri','sans-serif';"&gt;ATTR3,'N/A')))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 06:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480012#M693207</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2013-08-09T06:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: case when not 'attr1' is null implementation in script</title>
      <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480013#M693208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 10:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480013#M693208</guid>
      <dc:creator />
      <dc:date>2013-08-09T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: case when not 'attr1' is null implementation in script</title>
      <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480014#M693209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this syntax :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;LEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRIM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ATTR3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'N/A'))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Hold_Reasons &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;This will work for blank spaces and null values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MultiView&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 10:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480014#M693209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-09T10:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: case when not 'attr1' is null implementation in script</title>
      <link>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480015#M693210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should replace '=' by '&amp;lt;&amp;gt;'. Otherwise, you obtain only NULL values..&lt;/P&gt;&lt;P&gt;You should even write:&lt;/P&gt;&lt;P&gt; if( Len(Trim(_)) , ATTR? , ... )&lt;/P&gt;&lt;P&gt;&lt;SPAN id="xpndit_tooltip" style="display: none; position: absolute; overflow: hidden; max-width: 400px; background-color: #fefefe; border: 1px solid #aaaaaa; padding: 4px 8px; font-size: 11px; letter-spacing: 0px; color: #000000; z-index: 5000; line-height: 120%; text-align: left; border-radius: 5px 5px 5px 5px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 07:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/case-when-not-attr1-is-null-implementation-in-script/m-p/480015#M693210</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2013-08-12T07:55:54Z</dc:date>
    </item>
  </channel>
</rss>

