<?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 condition not working properly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158528#M93885</link>
    <description>&lt;P&gt;Some ideas w/o knowledge about the content of the field in question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// Flip condition
if(INTERACTIONTYPE = 'Request','Request_Rceived','Request_Not_Received') as REQUEST_RECEIVED_NOT

// Create a flag
Not(INTERACTIONTYPE = 'Request') AS REQUEST_RECEIVED_NOT

// Extend condition
if(INTERACTIONTYPE &amp;lt;&amp;gt; 'Request' OR Trim(INTERACTIONTYPE) = '' OR IsNull(INTERACTIONTYPE),'Request_Not_Rceived','Request_Received') as REQUEST_RECEIVED_NOT&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 07:56:57 GMT</pubDate>
    <dc:creator>steeefan</dc:creator>
    <dc:date>2024-01-05T07:56:57Z</dc:date>
    <item>
      <title>IF condition not working properly</title>
      <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158525#M93884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In data, under&amp;nbsp;INTERACTIONTYPE column we have 'Request' and blank. But below given IF condition is not giving proper out-put. Only 1 condition is working where ever details are found but, where ever details are blank condition is not working. I have tried it both this way but it is not working.&lt;/P&gt;
&lt;P&gt;if(INTERACTIONTYPE &amp;lt;&amp;gt; 'Request','Request_Not_Rceived','Request_Received') as REQUEST_RECEIVED_NOT&lt;/P&gt;
&lt;P&gt;if(Len(INTERACTIONTYPE)&amp;gt;5,'Request_Rceived','Request_Not_Received') as REQUEST_RECEIVED_NOT_1&lt;/P&gt;
&lt;P&gt;Can you pl help.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158525#M93884</guid>
      <dc:creator>P_Kale</dc:creator>
      <dc:date>2024-01-05T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition not working properly</title>
      <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158528#M93885</link>
      <description>&lt;P&gt;Some ideas w/o knowledge about the content of the field in question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// Flip condition
if(INTERACTIONTYPE = 'Request','Request_Rceived','Request_Not_Received') as REQUEST_RECEIVED_NOT

// Create a flag
Not(INTERACTIONTYPE = 'Request') AS REQUEST_RECEIVED_NOT

// Extend condition
if(INTERACTIONTYPE &amp;lt;&amp;gt; 'Request' OR Trim(INTERACTIONTYPE) = '' OR IsNull(INTERACTIONTYPE),'Request_Not_Rceived','Request_Received') as REQUEST_RECEIVED_NOT&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158528#M93885</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T07:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition not working properly</title>
      <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158533#M93887</link>
      <description>&lt;P&gt;Hi Thanks,&lt;/P&gt;
&lt;P&gt;I Have tried in all the 3 ways but it is not working.&amp;nbsp; I unable to understand why formula not able to pick Blank in the column. In excel while exporting I am getting "-" in place of Blank. I have tried by setting condition = '-' too but still it is not working,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 08:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158533#M93887</guid>
      <dc:creator>P_Kale</dc:creator>
      <dc:date>2024-01-05T08:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition not working properly</title>
      <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158538#M93888</link>
      <description>&lt;P&gt;"-" is just the representation of a blank or &lt;FONT face="courier new,courier"&gt;NULL&lt;/FONT&gt; value in a table chart object. It's most likely not the actual value present in your data.&lt;/P&gt;
&lt;P&gt;Can you post a snippet of your data, ideally as a file, containing various values for &lt;FONT face="courier new,courier"&gt;INTERACTIONTYPE&lt;/FONT&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 08:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158538#M93888</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-05T08:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition not working properly</title>
      <link>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158576#M93895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks. While explaining the scenario I came to know what Mistake I am doing which I have reified.&lt;/P&gt;
&lt;P&gt;Now I am getting desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 09:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-condition-not-working-properly/m-p/2158576#M93895</guid>
      <dc:creator>P_Kale</dc:creator>
      <dc:date>2024-01-05T09:58:16Z</dc:date>
    </item>
  </channel>
</rss>

