<?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: Using &amp;quot;Where&amp;quot; statement in the QV script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467194#M1150041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that the function 'WildMatch ()' functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where WildMatch (Subject,'Module*','Module?')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tried to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 18:45:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-12T18:45:32Z</dc:date>
    <item>
      <title>Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467189#M1150031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Good morning all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up QV to load a spreadsheet for manipulation bny our client services people. The source document does not contain all the fields they would like to sort by so I want to use a "where" statement in the script to search the subject column for specific text and only load the rows where the column does contain the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Directory&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Subject&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;StartDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;StartTime&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;MeetingOrganizer&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;RequiredAttendees&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;OptionalAttendees&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Description&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Location&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;BR /&gt;[Mistys Calendar.xls]&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; [Calendar$])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;mixmatch&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Subject&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,'module')&amp;gt;0; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: arial,helvetica,sans-serif;"&gt;There are no errors when I load the script but no data gets loaded either. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: arial,helvetica,sans-serif;"&gt;What am I doing wrong with this script? If I remove the "Where" statement, then the data all loads normally&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: arial,helvetica,sans-serif;"&gt;What I want is to load only those rows where the "Subject" column contains the word "Module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: arial,helvetica,sans-serif;"&gt;Any thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: arial,helvetica,sans-serif;"&gt;Thanks, Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467189#M1150031</guid>
      <dc:creator />
      <dc:date>2013-06-12T16:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467190#M1150033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you upload some sample values of your Subject field, or even better, the Excel file itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mixmatch() performs a case insensitive comparision, so will find 'module' or 'Module', but not 'Module 1'.&lt;/P&gt;&lt;P&gt;You'll need to use wildmatch() or like string operator for doing a wildcard search.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467190#M1150033</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-12T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467191#M1150035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are some examples of lines in thje "Subject" column that I want to capture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="568"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" width="568"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (Implementation)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (Implementation)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (on-boarding)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (on-boarding)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (on-boarding)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Module 9:&amp;nbsp; CDARS On-boarding and Implementation (on-boarding)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Name Changes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Natalie's Training&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;National Concert&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;New hire training touch base&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many "Module" numbers. I had thought that since there was a space between Module and the numbers that Module would be treated as a free standing word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467191#M1150035</guid>
      <dc:creator />
      <dc:date>2013-06-12T16:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467192#M1150037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;WHERE Subject LIKE 'Module*';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your subject starts with Module. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467192#M1150037</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-12T18:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467193#M1150039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me ask you. How would I need to do this if I needed to search a phrase or string with more than one word?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467193#M1150039</guid>
      <dc:creator />
      <dc:date>2013-06-12T18:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Where" statement in the QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467194#M1150041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that the function 'WildMatch ()' functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where WildMatch (Subject,'Module*','Module?')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tried to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-Where-quot-statement-in-the-QV-script/m-p/467194#M1150041</guid>
      <dc:creator />
      <dc:date>2013-06-12T18:45:32Z</dc:date>
    </item>
  </channel>
</rss>

