<?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: Apostrophe in an If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432192#M1157621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this one can help&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13607520966856382" jivemacro_uid="_13607520966856382"&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Paeds Bay 1','Paeds Bay 2','Paeds Bay 3','Paeds Bay 4','Paeds Bay 5','Paeds Side Room'), 'Paediatrics',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Paed' &amp;amp; Chr(39) &amp;amp; 's Waiting','Paeds Wait1','Paeds Wait2'), 'Paediatrics Waiting',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Resus 1','Resus 2','Resus 3','Resus 4','Resus 5','Resus 6'), 'Resus'&lt;/P&gt;&lt;P&gt;))) as Test&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 10:42:32 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2013-02-13T10:42:32Z</dc:date>
    <item>
      <title>Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432185#M1157606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an IF statement where I need to incorporate an apostrophe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I possibly reqrite the If statement to get around the fact that I ahve an apostrophe, beacuse as the moment I am getting an error message if I run the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If Statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&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: #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;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paed's Waiting' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait2', 'Paediatrics Waiting', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only part of a larger IF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;')' expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432185#M1157606</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-02-13T10:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432186#M1157607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let do this&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Breach_Location = 'Paed's Waiting' Or &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Breach_Location = 'Paeds Wait1' or &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Breach_Location = 'Paeds Wait2', &lt;/P&gt;&lt;P&gt;'Paediatrics Waiting', 'Others'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432186#M1157607</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-02-13T10:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432187#M1157608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&lt;STRONG&gt; 'Paed' &amp;amp;chr(39)&amp;amp;'s Waiting' &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 'Paeds Wait2', 'Paediatrics Waiting',' Some Text')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;use above .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432187#M1157608</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T10:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432188#M1157609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use Match function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Match(Breach_Location, 'Paed's Waiting', 'Paeds Wait1', 'Paeds Wait2'),'Paediatrics Waiting','Other')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432188#M1157609</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-02-13T10:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432189#M1157610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried both of you who ahve kindly replied techniques, but I still get an error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps if I teel you the entire IF statement, you will be kind enough to help me rewrite it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&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: #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;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 2' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 3' &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 4' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 5' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Side Room', 'Paediatrics',&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&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;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paed's Waiting' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait2', 'Paediatrics Waiting',&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&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;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 2'&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 3' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 4' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 5'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 6', 'Resus',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))) as Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The highlighted part is causing me problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432189#M1157610</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-02-13T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432190#M1157612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;You could also try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Replace(&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,chr(39),' ')='&lt;STRONG style="background-color: #ffffff; font-size: 11px; color: #737373; font-family: Arial;"&gt;Paed s Waiting&lt;/STRONG&gt;'&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 'Paeds Wait2', 'Paediatrics Waiting',' Some Text')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Footsie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432190#M1157612</guid>
      <dc:creator />
      <dc:date>2013-02-13T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432191#M1157619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the command chr(39), as per luminary's example&lt;/P&gt;&lt;P&gt;This will tell QlikView to insert the ascii letter for code 39, with is the ' symbol, useful when you need to include symbols that QlikView uses as part of the expressions.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.asciitable.com/" title="http://www.asciitable.com/"&gt;http://www.asciitable.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sounds like an interesting app if it’s counting breach time and amounts etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432191#M1157619</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2013-02-13T10:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432192#M1157621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this one can help&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13607520966856382" jivemacro_uid="_13607520966856382"&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Paeds Bay 1','Paeds Bay 2','Paeds Bay 3','Paeds Bay 4','Paeds Bay 5','Paeds Side Room'), 'Paediatrics',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Paed' &amp;amp; Chr(39) &amp;amp; 's Waiting','Paeds Wait1','Paeds Wait2'), 'Paediatrics Waiting',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Breach_Location],'Resus 1','Resus 2','Resus 3','Resus 4','Resus 5','Resus 6'), 'Resus'&lt;/P&gt;&lt;P&gt;))) as Test&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432192#M1157621</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-02-13T10:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432193#M1157622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;have tried Chr(39) as i suggested above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 2' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 3' &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 4' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Bay 5' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Side Room', 'Paediatrics',&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location=&lt;STRONG style="background-color: #ffffff; font-size: 11px; color: #737373; font-family: Arial;"&gt;'Paed' &amp;amp;chr(39)&amp;amp;'s Waiting' &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Paeds Wait2', 'Paediatrics Waiting',&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 2'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 3' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 4' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Resus 5'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 'Resus 6', 'Resus',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))) as Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432193#M1157622</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T10:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432194#M1157623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi helen_pip,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Please try this.It will solve your problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Breach_Location&lt;/SPAN&gt; = 'Paed&lt;SPAN style="color: #000000; text-decoration: underline;"&gt;'&lt;STRONG&gt;&amp;amp;chr(39)&amp;amp;&lt;/STRONG&gt;'&lt;/SPAN&gt;s Waiting' &lt;SPAN style="color: #0000ff;"&gt;Or&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Breach_Location&lt;/SPAN&gt; = 'Paeds Wait1' &lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Breach_Location&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; = 'Paeds Wait2', 'Paediatrics Waiting', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432194#M1157623</guid>
      <dc:creator />
      <dc:date>2013-02-13T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432195#M1157624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp; This works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone else as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432195#M1157624</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-02-13T10:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Apostrophe in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432196#M1157625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has helped me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apostrophe-in-an-If-statement/m-p/432196#M1157625</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-02-13T11:00:36Z</dc:date>
    </item>
  </channel>
</rss>

