<?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: Condition Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050939#M933233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;If(itemcode = 123, customer Number ='SomeText', CustomerNumber) as CustomerNumbe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;i m luking someting like this, but its not working&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 04:29:23 GMT</pubDate>
    <dc:creator>abhaysingh</dc:creator>
    <dc:date>2016-03-01T04:29:23Z</dc:date>
    <item>
      <title>Condition Help</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050937#M933231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;if itemcode = 123 than CustomerNumber equal to FieldText else CustomerNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to put it in if condition or any other optimized condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050937#M933231</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-02-29T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Help</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050938#M933232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this in the script? then may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(itemcode = 123, 'SomeText', CustomerNumber) as CustomerNumber&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 14:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050938#M933232</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-29T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Help</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050939#M933233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;If(itemcode = 123, customer Number ='SomeText', CustomerNumber) as CustomerNumbe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;i m luking someting like this, but its not working&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 04:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050939#M933233</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-03-01T04:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Help</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050940#M933234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;If(itemcode = 123, customer Number ='SomeText', CustomerNumber) as CustomerNumber&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;That does not work because the syntax is invalid*. Sunny has answered your post with the correct solution. Also remember that field names are case sensitive in Qlikview/QlikSense, so CustomerNumber and customernumber are different fields.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;*EDIT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Assuming the different forms of CustomerNumber are just typos, the syntax is not invalid, as CustomerNumber ='SomeText' will evaluate to true (-1) or false (0). But it is almost certainly semantically incorrect.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 05:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Help/m-p/1050940#M933234</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-01T05:01:01Z</dc:date>
    </item>
  </channel>
</rss>

