<?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: Error in expression: If takes 2-3 parameters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335516#M835343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Dave!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what this list box fields are?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 11:35:10 GMT</pubDate>
    <dc:creator>Sergey_Shuklin</dc:creator>
    <dc:date>2017-05-25T11:35:10Z</dc:date>
    <item>
      <title>Error in expression: If takes 2-3 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335515#M835342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with quite a few dimension and 3 expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result set is based on 3 list box. When I press clear I get this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;If takes 2-3 parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I choose details from the list box it works without any issue. If I choose all the entries from the customer list box which will essentially return all the values in the same way as pressing the clear button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable all the expressions the report doesn't run at all as I am using a straight table. As the error suggest it must be one of my expressions. Can you take a look and see if my expressions wont work using the clear function&lt;/P&gt;&lt;P&gt;1. Inv Qty -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Item Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('F*') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LinkId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='INVHSTD' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Order Num]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Inventory Free Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Inventory Reserved Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Value-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LinkId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='INVHSTD' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Order Num]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;BR /&gt;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Unit Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Inv Qty]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Price Unit Conversion]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;3.Value Display -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) and &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Item Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; like('F*'), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Inventory Free Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any help would be gratefully received&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335515#M835342</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: If takes 2-3 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335516#M835343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Dave!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what this list box fields are?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335516#M835343</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-25T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: If takes 2-3 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335517#M835344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335517#M835344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-25T11:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: If takes 2-3 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335518#M835345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my list boxes are customer, sales rep and csr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335518#M835345</guid>
      <dc:creator />
      <dc:date>2017-05-25T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: If takes 2-3 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335519#M835346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I can't...company policy. Madness I know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-If-takes-2-3-parameters/m-p/1335519#M835346</guid>
      <dc:creator />
      <dc:date>2017-05-25T11:50:19Z</dc:date>
    </item>
  </channel>
</rss>

