<?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 Selecting data from a qvd file using wildcards in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229959#M716609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks That worked perfectly&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 15:43:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-03T15:43:44Z</dc:date>
    <item>
      <title>Selecting data from a qvd file using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229956#M716606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a need to select data from a QVD file based on the contents of an excel spreadsheet, the added complication is that I need to match only on part of the string, I can build the string from the spreadsheet ok.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;// String build from Spreadsheet&lt;/P&gt;&lt;P&gt;LET String="a like 'fre%' or a like 'ber%'"&lt;/P&gt;&lt;P&gt;In SQL speak I could do&lt;/P&gt;&lt;P&gt;select a, b, c&lt;BR /&gt;from table&lt;BR /&gt;where ($(String));&lt;/P&gt;&lt;P&gt;Is there a way of doing it from a QVD file ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 13:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229956#M716606</guid>
      <dc:creator />
      <dc:date>2010-02-03T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Selecting data from a qvd file using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229957#M716607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;Yes, that would work in SQL but in QV you would need to use MATCH() or WILDMATCH() functions. So something like below should work fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;let mask1 = chr(39) &amp;amp; 'fre*' &amp;amp; chr(39);&lt;BR /&gt;let mask2 = chr(39) &amp;amp; 'ber*' &amp;amp; chr(39);&lt;BR /&gt;LET String = 'WILDMATCH(a, ' &amp;amp; mask1 &amp;amp; ') &amp;gt; 0 OR WILDMATCH(a, ' &amp;amp; mask2 &amp;amp; ') &amp;gt; 0' ;&lt;BR /&gt;LOAD a FROM a.qvd (qvd)&lt;BR /&gt;WHERE $(String);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229957#M716607</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-03T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Selecting data from a qvd file using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229958#M716608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following code should help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD * FROM FileName.QVD (qvd) WHERE WILDMATCH(FieldName, '*ZZ*');&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229958#M716608</guid>
      <dc:creator />
      <dc:date>2010-02-03T14:48:22Z</dc:date>
    </item>
    <item>
      <title>Selecting data from a qvd file using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229959#M716609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks That worked perfectly&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 15:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-data-from-a-qvd-file-using-wildcards/m-p/229959#M716609</guid>
      <dc:creator />
      <dc:date>2010-02-03T15:43:44Z</dc:date>
    </item>
  </channel>
</rss>

