<?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 combining two scripts to 1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322119#M1187116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, when you compare a string you have to use a single ' and not ",&lt;/P&gt;&lt;P&gt;i wrote wrong before, you should write the destitnation like this 'BJS'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2011 10:17:21 GMT</pubDate>
    <dc:creator>lucas4bi</dc:creator>
    <dc:date>2011-09-05T10:17:21Z</dc:date>
    <item>
      <title>combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322116#M1187113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Hi There,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I'm quit new to qlikview and therefore still struggeling with "advanced" scripting. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #333333; font-size: 9pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff; font-size: 9pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 9pt;"&gt;(Date(Date#(POD,'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY hh:mm') - date(Date#(DEP, 'DD-MM-YYYY hh:mm'),'DD-MM-YYYY hh:mm'), 'd hh:mm') &lt;STRONG style="background-color: yellow;"&gt;&amp;lt;= 8,&lt;/STRONG&gt;'ON TIME','LATE') as Status.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #333333; font-size: 9pt;"&gt;&lt;BR /&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff; font-size: 9pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 9pt;"&gt;(Date(Date#(POD, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY hh:mm') -date(Date#(DEP, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY hh:mm'), 'd hh:mm') &lt;STRONG style="background-color: yellow;"&gt;&amp;lt;= 7&lt;/STRONG&gt;,'ONTIME','LATE') as StatusII.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 11pt;"&gt;How can I combine both scripts to 1 script/field? Suppose I want to state that shipments to &lt;STRONG&gt;destination&lt;/STRONG&gt; [which is the fieldname] “JFK” have a maximum of 8 days and shipments to “DBX” have a maximum of 7 days. Should I use another if statement?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 11pt;"&gt;I want to do this so I don’t have to create a field for each specific ‘requirement’.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 11pt;"&gt;Thanks in advance!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 11pt;"&gt;iSam&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 08:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322116#M1187113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T08:24:32Z</dc:date>
    </item>
    <item>
      <title>combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322117#M1187114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If think you could use another IF inside that expression, instead of &amp;lt;=8 you could put:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&amp;lt;= IF( destination="JFK",8,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF( destination="DBX",7........))&amp;nbsp;&amp;nbsp; , 'ON TIME','LATE') as STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now you can have only one STATUS field for each destitnation.&lt;/P&gt;&lt;P&gt;let me know if it works ok for you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i think you can make your code even easyer, you dont need all that 'Date(date#(....))' functions to format your dates, &lt;/P&gt;&lt;P&gt; Date#() is to format 'text' into a date, Date() is to format a numeric/date field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 08:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322117#M1187114</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-09-05T08:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322118#M1187115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help:  Unfortunately Qlikview says it can’t find the field name “BJS”. However when I look in the data source and in the qlikview application “BJS” does exits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(interval(Date#(POD, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY') - Date#(DEP, 'DD-MM-YYYY hh:mm'),'DD-MM-YYYY'), 'D'&amp;lt;= If(&lt;A href="Ship Destination Port Code"&gt;&lt;/A&gt;="BJS", 8, If(&lt;A href="Ship Destination Port Code"&gt;&lt;/A&gt;="IZM,AMS", 7)),  'OnTime', 'Late' as Status,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322118#M1187115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T10:07:17Z</dc:date>
    </item>
    <item>
      <title>combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322119#M1187116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, when you compare a string you have to use a single ' and not ",&lt;/P&gt;&lt;P&gt;i wrote wrong before, you should write the destitnation like this 'BJS'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322119#M1187116</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-09-05T10:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322120#M1187117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your help!!!! It seems to be OK now!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322120#M1187117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322121#M1187118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think cheered too early L. When I add the new field to a chart, it seems to be a miss calculation. I get to different results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One charts says 74 onTime, another say 51 ontime :S. It’s confussing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the script for Status2:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Interval(Date(Date#(POD, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY') - Date(Date#(DEP, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY'), 'D')&amp;lt;=7, 'OnTime', 'Late') as Status2, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the expression for StatusX:&amp;nbsp; if(interval(Date(Date#(POD, 'DD-MM-YYYY hh:mm'), 'DD-MM-YYYY') - Date(Date#(DEP, 'DD-MM-YYYY hh:mm'),'DD-MM-YYYY'), 'D')&amp;lt;= If(&lt;A _jive_internal="true" href="https://community.qlik.com/message/146501#146501"&gt;Re: combining two scripts to 1&lt;/A&gt;='BJS', 8, If(&lt;A _jive_internal="true" href="https://community.qlik.com/message/146501#146501"&gt;Re: combining two scripts to 1&lt;/A&gt;='IZM' or 'AMS', 7)),&amp;nbsp; 'OnTime', 'Late') as StatusX,&amp;nbsp; //the one you help me with J&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the above charts have the same chart expression:&amp;nbsp; Count({&amp;lt;Destination={'IZM', 'AMS'}&amp;gt;} TransitTime +1)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the problem within the chart expression or script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iSam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 11:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322121#M1187118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T11:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322122#M1187119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322122#M1187119</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322123#M1187120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322123#M1187120</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322124#M1187121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322124#M1187121</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322125#M1187122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322125#M1187122</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322126#M1187124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322126#M1187124</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322127#M1187126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322127#M1187126</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:51Z</dc:date>
    </item>
    <item>
      <title>combining two scripts to 1</title>
      <link>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322128#M1187127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the IF expression should be like this:&lt;/P&gt;&lt;P&gt;If(destination='IZM' or destination='AMS', 7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you have to compare the field everytime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it's correct the result of your expression, because in the first case (Status2) you are checking only what is &amp;lt;=7 and most is on time,&lt;/P&gt;&lt;P&gt;in the second case you are also checking what is &amp;lt;=8 for some destination, so it is logical to me that you have more&amp;nbsp; 'Late' results...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 09:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/combining-two-scripts-to-1/m-p/322128#M1187127</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-09-06T09:34:01Z</dc:date>
    </item>
  </channel>
</rss>

