<?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 If in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If/m-p/195036#M55713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am encountering an issue, I have a column Code in a table from OLTP, the Column values contain values like as follows:&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;A'BC&lt;/P&gt;&lt;P&gt;A'AC&lt;/P&gt;&lt;P&gt;A'BC&lt;/P&gt;&lt;P&gt;When i write if(code = ' A'BC') so it considers the cotation of the middle too, is there any way to make Qlikview accept the cotation between A'BC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 07:34:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-21T07:34:26Z</dc:date>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195036#M55713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am encountering an issue, I have a column Code in a table from OLTP, the Column values contain values like as follows:&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;A'BC&lt;/P&gt;&lt;P&gt;A'AC&lt;/P&gt;&lt;P&gt;A'BC&lt;/P&gt;&lt;P&gt;When i write if(code = ' A'BC') so it considers the cotation of the middle too, is there any way to make Qlikview accept the cotation between A'BC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 07:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195036#M55713</guid>
      <dc:creator />
      <dc:date>2010-06-21T07:34:26Z</dc:date>
    </item>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195037#M55714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you try to use &lt;STRONG&gt;code&lt;/STRONG&gt; = "A'BC"&lt;/P&gt;&lt;P&gt;I think this work when you coding in edit script. But in the chart i'm not sure. Just suggession.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 08:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195037#M55714</guid>
      <dc:creator />
      <dc:date>2010-06-21T08:41:11Z</dc:date>
    </item>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195038#M55715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your idea but its not working,&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;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&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;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Table:&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; * &lt;B&gt;INLINE&lt;/B&gt; [&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Load&lt;/B&gt; Code &lt;B&gt;as&lt;/B&gt; D_Code,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;if (match(Code, "A'BC"),1,0) &lt;B&gt;as&lt;/B&gt; M_Code &amp;lt;----------- not working&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;resident&lt;/B&gt; Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 08:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195038#M55715</guid>
      <dc:creator />
      <dc:date>2010-06-21T08:51:36Z</dc:date>
    </item>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195039#M55716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the quotation/apostraphe character really necessary in the data? You could strip this from the values at load time?&lt;/P&gt;&lt;P&gt;Otherwise, if it suits your data, you could use the wildmatch function and the '?' character:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(wildmatch(code, 'A?BC'),1,0)&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for me on the following load code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;TempTable:&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;LoadCode1, D_Code1&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;1234, "A'BC"&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;6789, "A'DD"&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;];&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Table:&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;LOAD&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;LoadCode1 as [Load Code],&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;D_Code1 as [D Code],&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;if (wildmatch(D_Code1, 'A?BC'),1,0) as [M Code]&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 09:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195039#M55716</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-06-21T09:35:07Z</dc:date>
    </item>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195040#M55717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks, its works.&lt;/P&gt;&lt;P&gt;Do you know Escape Operator / Sequence for Qlikview.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 10:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195040#M55717</guid>
      <dc:creator />
      <dc:date>2010-06-21T10:18:40Z</dc:date>
    </item>
    <item>
      <title>If</title>
      <link>https://community.qlik.com/t5/QlikView/If/m-p/195041#M55718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I don't - I tried a couple of different combinations. This post seems to indicate that it is not possible:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/27442.aspx"&gt;http://community.qlik.com/forums/t/27442.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 11:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If/m-p/195041#M55718</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-06-21T11:12:33Z</dc:date>
    </item>
  </channel>
</rss>

