<?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: Trouble using Where Clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687523#M1051269</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 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SQL Select UserDefined1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM dbo.tblIncidentUtilityCross&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;WHERE UserDefined1 in ('New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer');&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 21:42:58 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-10-23T21:42:58Z</dc:date>
    <item>
      <title>Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687522#M1051268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only want to see certain data from a specific field in a table.&amp;nbsp; I have tried using several where clauses, but all fields keep loading in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Select UserDefined1&lt;/P&gt;&lt;P&gt;FROM dbo.tblIncidentUtilityCross&lt;/P&gt;&lt;P&gt;WHERE UserDefined1 = 'New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687522#M1051268</guid>
      <dc:creator />
      <dc:date>2014-10-23T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687523#M1051269</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 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SQL Select UserDefined1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM dbo.tblIncidentUtilityCross&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;WHERE UserDefined1 in ('New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer');&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687523#M1051269</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-10-23T21:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687524#M1051270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that and it still gave me all values in the field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687524#M1051270</guid>
      <dc:creator />
      <dc:date>2014-10-23T21:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687525#M1051271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm its working for me, do you have another table that just has the UserDefined1 field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687525#M1051271</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-10-23T21:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687526#M1051272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes that field it is in multiple tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687526#M1051272</guid>
      <dc:creator />
      <dc:date>2014-10-23T21:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687527#M1051273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and see if you get the correct values in your table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TableTest:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SQL Select UserDefined1 as UserDefined1Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM dbo.tblIncidentUtilityCross&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE UserDefined1 in ('New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer');&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you do, then your table is being automatically concatenated to another table that has all the values. I don't know what you are doing in your script, so I can only guess.&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 22:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687527#M1051273</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-10-23T22:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687528#M1051274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Where Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;UserDefined1,&amp;nbsp; 'New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL Select UserDefined1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM dbo.tblIncidentUtilityCross;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hope this helps&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 22:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687528#M1051274</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-23T22:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687529#M1051275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that worked.&amp;nbsp; really appreciate it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 22:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687529#M1051275</guid>
      <dc:creator />
      <dc:date>2014-10-23T22:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687530#M1051276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toedtli,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In case you are having a problem of tables getting concatenated due to same column names.&lt;/P&gt;&lt;P&gt;You can also use Qualify which names the fields as Tablename.FieldName making the fields unique preventing concatenation.&lt;/P&gt;&lt;P&gt;1. For all fields: QUALIFY *&lt;/P&gt;&lt;P&gt;2. For specific fields QUALIFY fieldname1, fieldname2&lt;/P&gt;&lt;P&gt;3. Use UNQUALIFY * or UNQUALIFY fieldname1, fieldname2 when you want to disable this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shoubhik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 04:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687530#M1051276</guid>
      <dc:creator />
      <dc:date>2014-10-24T04:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687531#M1051277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toedtli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using Match function in your script which works equivalent to IN in your SQL Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;where Match(UserDefined1,'New Customer', 'Existing Customer', 'New Dealer', 'Existing Dealer');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 04:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-using-Where-Clause/m-p/687531#M1051277</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-24T04:56:31Z</dc:date>
    </item>
  </channel>
</rss>

