<?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 Like Operator in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261885#M1204351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LOAD portion of the script uses QlikView syntax and functions. The SELECT portion of the script uses SQL syntax and functions, and is passed directly to your ODBC driver to execute on your DBMS, and is NOT processed or interpreted by QlikView so far as I know.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt;&amp;lt;QlikView syntax and functions&amp;gt;&lt;BR /&gt;;&lt;BR /&gt;SQL&lt;BR /&gt;&amp;lt;SQL syntax and functions&amp;gt;&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;So for example:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; OIID as "Order Item"&lt;BR /&gt;,OICUST as "Customer"&lt;BR /&gt;,OIPROD as "Product"&lt;BR /&gt;,if(wildmatch(OIPROD,'msm*'),'MSM','Other') as "Product Group"&lt;BR /&gt;;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT&lt;BR /&gt; OIID&lt;BR /&gt;,OICUST&lt;BR /&gt;,OIPROD&lt;BR /&gt;FROM BLAH.ORDERITEM&lt;BR /&gt;WHERE OITYP LIKE 'ORDER*'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Like wouldn't work in the load, and wildmatch wouldn't work in the select. Each uses their own syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 23:10:40 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-06-11T23:10:40Z</dc:date>
    <item>
      <title>Like Operator</title>
      <link>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261882#M1204348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could anybody please tell me how do i use like oprator, i have a field for which i need to filter based on first 3 letter&lt;/P&gt;&lt;P&gt;usually we do something like (product like 'msm%' ) as MSM or (product like 'qsc%') as 'QCS'&lt;/P&gt;&lt;P&gt;and using these MSM,QSC i need to have a group ,&lt;/P&gt;&lt;P&gt;Could anybody please assit me in doing this?&lt;/P&gt;&lt;P&gt;Thansk in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 22:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261882#M1204348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-11T22:21:54Z</dc:date>
    </item>
    <item>
      <title>Like Operator</title>
      <link>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261883#M1204349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the wildmatch() function as a like operator:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;wildmatch(product,'msm*')&lt;/P&gt;&lt;P&gt;And build your groups something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(wildmatch(product,'msm*','qsc*'),'MSM','QSC') as ProductGroup&lt;/P&gt;&lt;P&gt;However, if you're just trying to group on the first three characters:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;left(product,3) as ProductGroup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 22:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261883#M1204349</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-11T22:38:54Z</dc:date>
    </item>
    <item>
      <title>Like Operator</title>
      <link>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261884#M1204350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply ,&lt;/P&gt;&lt;P&gt;so wild match has to be used in load properties or in the select query , i am new to qlikview ...&lt;/P&gt;&lt;P&gt;sorry if this is a silly question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 22:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261884#M1204350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-11T22:53:42Z</dc:date>
    </item>
    <item>
      <title>Like Operator</title>
      <link>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261885#M1204351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LOAD portion of the script uses QlikView syntax and functions. The SELECT portion of the script uses SQL syntax and functions, and is passed directly to your ODBC driver to execute on your DBMS, and is NOT processed or interpreted by QlikView so far as I know.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt;&amp;lt;QlikView syntax and functions&amp;gt;&lt;BR /&gt;;&lt;BR /&gt;SQL&lt;BR /&gt;&amp;lt;SQL syntax and functions&amp;gt;&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;So for example:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; OIID as "Order Item"&lt;BR /&gt;,OICUST as "Customer"&lt;BR /&gt;,OIPROD as "Product"&lt;BR /&gt;,if(wildmatch(OIPROD,'msm*'),'MSM','Other') as "Product Group"&lt;BR /&gt;;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT&lt;BR /&gt; OIID&lt;BR /&gt;,OICUST&lt;BR /&gt;,OIPROD&lt;BR /&gt;FROM BLAH.ORDERITEM&lt;BR /&gt;WHERE OITYP LIKE 'ORDER*'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Like wouldn't work in the load, and wildmatch wouldn't work in the select. Each uses their own syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 23:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Like-Operator/m-p/261885#M1204351</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-11T23:10:40Z</dc:date>
    </item>
  </channel>
</rss>

