<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326960#M410392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure, The category has same Name &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;NSAs&lt;/STRONG&gt;&lt;/SPAN&gt;. Because, If condition consider as Case Sensitive. Could be the case, You have only one which the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else you may explain more on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 13:17:59 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-11T13:17:59Z</dc:date>
    <item>
      <title>if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326955#M410387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am wondering why this simple expression is not working&lt;/P&gt;&lt;P&gt;if(category='NSAs',1,0) &lt;/P&gt;&lt;P&gt;this category is available. Any suggestion? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326955#M410387</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2017-05-11T12:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326956#M410388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you carrying this out? Script or front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326956#M410388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-11T12:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326957#M410389</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;it is might be because of space or case sensitive.&lt;/P&gt;&lt;P&gt;use wildmatch() or match()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(wildmatch(trim(category),'NSAs'),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326957#M410389</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-05-11T12:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326958#M410390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by "not working"? Is it returning nothing at all? Or just the wrong values? Or always the same value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not use this code as a chart expression. Because of the possible aggregation of rows, field category may carry multiple values. Even if you cannot see some of them...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326958#M410390</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-05-11T12:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326959#M410391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Condition fails shows 0 always but the values in the category exist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 13:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326959#M410391</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2017-05-11T13:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326960#M410392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure, The category has same Name &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;NSAs&lt;/STRONG&gt;&lt;/SPAN&gt;. Because, If condition consider as Case Sensitive. Could be the case, You have only one which the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else you may explain more on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 13:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326960#M410392</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-11T13:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: if condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326961#M410393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you can do is try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a listbox with field &lt;SPAN style="font-family: 'courier new', courier;"&gt;category&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;add an expression to this listbox (see ListBox properties-&amp;gt;Expressions) and enter your &lt;SPAN style="font-family: 'courier new', courier;"&gt;=IF(...)&lt;/SPAN&gt; code in the expression field.&lt;/LI&gt;&lt;LI&gt;tune the &lt;SPAN style="font-family: 'courier new', courier;"&gt;IF(...)&lt;/SPAN&gt; call expression (see previous examples) until your code works as expected.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 13:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-not-working/m-p/1326961#M410393</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-05-11T13:18:15Z</dc:date>
    </item>
  </channel>
</rss>

