<?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 Script if/And statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250282#M1194993</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;Syntaxis is not correct, check the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(condition1 and condition2, true statement, false statement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2011 10:26:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-30T10:26:53Z</dc:date>
    <item>
      <title>Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250281#M1194992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really hope someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have version 8 of Qlikview and have a document built thats is fed by numerous different excel workbooks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of these worksheets is not in the same format as the others so I wish to put an if(and statement ( or the equivilent) within the script so I may build charts etc quickly enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( and([Type of Event] ='Static amendment' ,[Issue held with] = 'Cops Team'), as [If static error is corp ops responsible] = 'Yes')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Qlikview doent seem to like AND function ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with the above ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250281#M1194992</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:08:40Z</dc:date>
    </item>
    <item>
      <title>Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250282#M1194993</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;Syntaxis is not correct, check the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(condition1 and condition2, true statement, false statement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250282#M1194993</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:26:53Z</dc:date>
    </item>
    <item>
      <title>Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250283#M1194994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you want archive in if&amp;nbsp; statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250283#M1194994</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250284#M1194995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( [Type of Event] ='Static amendment'&amp;nbsp; and [Issue held with] = 'Cops Team', [If static error is corp ops responsible] = 'Yes')&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( [Type of Event] ='Static amendment'&amp;nbsp; and [Issue held with] = 'Cops Team', 'Yes','No') as &lt;/P&gt;[If static error is corp ops responsible]&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250284#M1194995</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250285#M1194996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi A.Medina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a few variations, to me it looks like qlikview doesnt like the condition AND,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to combine my ifs like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;[Type of Event]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'Static amendment'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;[Issue held with]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'Cops Team'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'Yes'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'No'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;as &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[If static error is corp ops responsible]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I get the following error on the load --&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;Can you help please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250285#M1194996</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250286#M1194997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The error is coming beacuse of brackets.&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #800080;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #008000;"&gt;[Type of Event]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;'Static amendment'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800080;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #008000;"&gt;[Issue held with]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;'Cops Team'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;'Yes'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;'No'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ) &lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;as &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #008000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[If static error is corp ops responsible]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250286#M1194997</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250287#M1194998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Erika&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the field name [If static error is corp ops responsible] on this sheet ( its a name in a different Excel workbook) so I think I need to load it AS ,&amp;nbsp; I think the following works&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Type of Event]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;'Static amendment'&lt;/SPAN&gt;&amp;nbsp; &lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;and&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Issue held with]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;'Cops Team'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;'Yes'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;'No'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[If static error is corp ops responsible]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;Thanks all for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250287#M1194998</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250288#M1194999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erika !&lt;/P&gt;&lt;P&gt;Works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250288#M1194999</guid>
      <dc:creator />
      <dc:date>2014-06-27T13:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Script if/And statements</title>
      <link>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250289#M1195000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J'ai besoin de faire une condition sur un filtre, il doit pas être sélection, pourriez vous m'aider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci d'avance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 16:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-if-And-statements/m-p/250289#M1195000</guid>
      <dc:creator />
      <dc:date>2014-10-15T16:13:10Z</dc:date>
    </item>
  </channel>
</rss>

