<?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 Where clause in script not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/321000#M1196521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;gerhardl&lt;/STRONG&gt; ,&lt;/P&gt;&lt;P&gt;use the below script...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD [Cell phone],&lt;BR /&gt; [Account No],&lt;BR /&gt; Title,&lt;BR /&gt; [First name],&lt;BR /&gt; [Last Name],&lt;BR /&gt; OTB,&lt;BR /&gt; Country,&lt;BR /&gt; [Date SMS Sent]&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD&lt;BR /&gt; Company,&lt;BR /&gt; Product,&lt;BR /&gt; [Account No],&lt;BR /&gt; [Posted Date],&lt;BR /&gt; [Effective Date],&lt;BR /&gt; [Store No],&lt;BR /&gt; [Merchant Code],&lt;BR /&gt; [Store Name],&lt;BR /&gt; [Store Country],&lt;BR /&gt; [Card No],&lt;BR /&gt; [Transaction Type],&lt;BR /&gt; [Tran Code],&lt;BR /&gt; [Trans Desc],&lt;BR /&gt; [Trans Amount],&lt;BR /&gt; [Trans Auth]&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt; FROM&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes, header is 1 lines)&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WHERE ([Tran Code]=35 or [Tran Code]=36) and exists([Account No])&lt;/EM&gt; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 09:09:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-13T09:09:44Z</dc:date>
    <item>
      <title>Where clause in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/320998#M1196519</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've got an Excel table with customers to whom I sent a marketing text message. Now I want to take our daily transaction extracts and load them into the same QV file every day, so I can see which of the people I sent an SMS to has made a purchase, etc.&lt;/P&gt;&lt;P&gt;When I add the following clause to my script, the "From" statement of my transaction extract turns from the correct BLUE color to the normal black font, and then I of course get a "garbage after statement error". Can someone please look at my script and see what I'm doing wrong with my where clause. This is the WHERE clause:&lt;/P&gt;&lt;P&gt;WHERE ([Trans Code]=35 or [Trans Code]=36) and exists([Account No])&lt;/P&gt;&lt;P&gt;and this is my script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD [Cell phone],&lt;BR /&gt; [Account No],&lt;BR /&gt; Title,&lt;BR /&gt; [First name],&lt;BR /&gt; [Last Name],&lt;BR /&gt; OTB,&lt;BR /&gt; Country,&lt;BR /&gt; [Date SMS Sent]&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD&lt;BR /&gt; Company,&lt;BR /&gt; Product,&lt;BR /&gt; [Account No],&lt;BR /&gt; [Posted Date],&lt;BR /&gt; [Effective Date],&lt;BR /&gt; [Store No],&lt;BR /&gt; [Merchant Code],&lt;BR /&gt; [Store Name],&lt;BR /&gt; [Store Country],&lt;BR /&gt; [Card No],&lt;BR /&gt; [Transaction Type],&lt;BR /&gt; [Tran Code],&lt;BR /&gt; [Trans Desc],&lt;BR /&gt; [Trans Amount],&lt;BR /&gt; [Trans Auth]&lt;BR /&gt; WHERE ([Tran Code]=35 or [Tran Code]=36) and exists([Account No]),&lt;/EM&gt;&lt;BR /&gt;&lt;/STRONG&gt;FROM&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes, header is 1 lines);&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gerhard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 08:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/320998#M1196519</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-13T08:58:50Z</dc:date>
    </item>
    <item>
      <title>Where clause in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/320999#M1196520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Put the WHERE at the last line, after FROM&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/320999#M1196520</guid>
      <dc:creator />
      <dc:date>2011-04-13T09:04:12Z</dc:date>
    </item>
    <item>
      <title>Where clause in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/321000#M1196521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;gerhardl&lt;/STRONG&gt; ,&lt;/P&gt;&lt;P&gt;use the below script...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD [Cell phone],&lt;BR /&gt; [Account No],&lt;BR /&gt; Title,&lt;BR /&gt; [First name],&lt;BR /&gt; [Last Name],&lt;BR /&gt; OTB,&lt;BR /&gt; Country,&lt;BR /&gt; [Date SMS Sent]&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD&lt;BR /&gt; Company,&lt;BR /&gt; Product,&lt;BR /&gt; [Account No],&lt;BR /&gt; [Posted Date],&lt;BR /&gt; [Effective Date],&lt;BR /&gt; [Store No],&lt;BR /&gt; [Merchant Code],&lt;BR /&gt; [Store Name],&lt;BR /&gt; [Store Country],&lt;BR /&gt; [Card No],&lt;BR /&gt; [Transaction Type],&lt;BR /&gt; [Tran Code],&lt;BR /&gt; [Trans Desc],&lt;BR /&gt; [Trans Amount],&lt;BR /&gt; [Trans Auth]&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt; FROM&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes, header is 1 lines)&lt;/C&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;WHERE ([Tran Code]=35 or [Tran Code]=36) and exists([Account No])&lt;/EM&gt; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-script-not-working/m-p/321000#M1196521</guid>
      <dc:creator />
      <dc:date>2011-04-13T09:09:44Z</dc:date>
    </item>
  </channel>
</rss>

