<?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: if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14542#M2376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is to concatenate in the same field comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; concatenates two strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so comment could be : 'Null Modality/District num/No Norm'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2018 13:42:49 GMT</pubDate>
    <dc:creator>ogautier62</dc:creator>
    <dc:date>2018-05-25T13:42:49Z</dc:date>
    <item>
      <title>if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14538#M2372</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;I am writing the below if condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(Modality),'Null Modality',Modality),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(District),'Null District',District),&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; if(IsNull(Norm),'No Norm',Norm) as comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me bec the else condition is not passing is it because&amp;nbsp; i am closing the brace at Modality and Distrcit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14538#M2372</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T13:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14539#M2373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(Modality),'Null Modality',Modality) &amp;amp; '/' &amp;amp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(District),'Null District',District) &amp;amp; '/' &amp;amp;&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; if(IsNull(Norm),'No Norm',Norm)&amp;nbsp; as comment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14539#M2373</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-05-25T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14540#M2374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.. Can you pleas tell me what does &lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt; &lt;STRONG style="text-decoration: underline;"&gt;&amp;amp; '/' &amp;amp;&amp;nbsp; &lt;/STRONG&gt;do and why we need to specify..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to do without this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14540#M2374</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14541#M2375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(IsNull(Modality),'Null Modality',Modality and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(District),'Null District',District and&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; if(IsNull(Norm),'No Norm',Norm)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or replace is null with Modality = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14541#M2375</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-25T13:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14542#M2376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is to concatenate in the same field comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; concatenates two strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so comment could be : 'Null Modality/District num/No Norm'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14542#M2376</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-05-25T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14543#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Ishtdeep getting error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14543#M2377</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14544#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need if first condition is not satisfied then only second condition and else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(IsNull(Modality),'Null Modality',Modality),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(District),'Null District',District) &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please let me know if you need anything more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 13:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14544#M2378</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14545#M2379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share data in excel format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14545#M2379</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-25T14:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14546#M2380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;if( &lt;SPAN style="color: #ff0000;"&gt;IsNull(Modality)&lt;/SPAN&gt;,&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;'Null Modality'&lt;/SPAN&gt;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #339966;"&gt;Modality)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN class="bnf_token"&gt;&lt;SPAN style="color: #ff0000;"&gt;condition&lt;/SPAN&gt; , &lt;SPAN style="color: #0000ff;"&gt;then&lt;/SPAN&gt; , &lt;SPAN style="color: #339966;"&gt;else&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="script_token"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt; &lt;A href="https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/ConditionalFunctions/if.htm" title="https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/ConditionalFunctions/if.htm"&gt;https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/ConditionalFunctions/if.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;It will never work with the way you have written. Also not understanding what you are trying to achieve. is it in chart or script? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14546#M2380</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2018-05-25T14:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14547#M2381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this - or replace is null with Modality = 0??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14547#M2381</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-25T14:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14548#M2382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Ishtdeep..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14548#M2382</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14549#M2383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Modality = 0,'Null Modality','Modality' and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(District = 0,'Null District','District' and&lt;/P&gt;&lt;P&gt;&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; if(Norm = 0,'No Norm','Norm')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14549#M2383</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-25T14:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14550#M2384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to acheive if (condition , then ,else&lt;STRONG style="text-decoration: underline;"&gt; then lf else&lt;/STRONG&gt;) is it possible or is there any way.. can you please tell me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14550#M2384</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14551#M2385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks ishtdeep but is there any chance that i can include o as isnull. &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;And&lt;/EM&gt;&lt;/STRONG&gt; should be in else part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14551#M2385</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14552#M2386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explain your need in words with your sample data rather than with if statement you have provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise what is the output expected from your data and we can try to provide you the syntax. Are you trying to do in script or in chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14552#M2386</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2018-05-25T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14553#M2387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this will help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: blue;"&gt;when&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;Modality&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;'NULL Modality'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: teal;"&gt;District&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;'NULL District'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;when &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;Norm&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;Norm&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;=&lt;/SPAN&gt; 0&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="color: red;"&gt;'NO norm'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="color: red;"&gt;'Include'&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;end&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: teal;"&gt;comment&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14553#M2387</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14554#M2388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In above case statement you don't have if Modality is null then "'Null Modality" else value of field Modality and then you were checking for District and Norm in the statement to come up with Comment field like you have in original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(IsNull(Modality), 'NULL Modality',&lt;/P&gt;&lt;P&gt;If(IsNull(District), 'NULL District',&lt;/P&gt;&lt;P&gt;If((IsNull(Norm) or Norm='0'), 'NO Norm', 'Include'))) as Comment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14554#M2388</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2018-05-25T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14555#M2389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this script anything will help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;when&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;Modality&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: red;"&gt;'NULL Modality'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;District&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: red;"&gt;'NULL District'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;when &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: teal;"&gt;Norm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;Norm&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;=&lt;/SPAN&gt; 0&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: red;"&gt;'NO norm'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: red;"&gt;'Include'&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;end&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: teal;"&gt;comment&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: teal; font-size: 12.6667px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: teal; font-size: 12.6667px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;i need to write in qlikview&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14555#M2389</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/14556#M2390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/14556#M2390</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-25T14:56:55Z</dc:date>
    </item>
  </channel>
</rss>

