<?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: Where Clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291924#M624568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a typo in prior message, how can I access the data faster than 60 minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2016 14:23:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-22T14:23:24Z</dc:date>
    <item>
      <title>Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291920#M624564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am using the following simple where clause to filter records after they are loaded from an excel file called Active.xlsx.&amp;nbsp; The where clause does not work, how can I fix the syntax in the script?&amp;nbsp; I've attached the supporting documents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;WHERE &lt;SPAN style="color: #800000;"&gt;[Entity Status]&lt;/SPAN&gt;='A'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 13:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291920#M624564</guid>
      <dc:creator />
      <dc:date>2016-11-22T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291921#M624565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Removed a extra semi colon. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;T1_Active:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Entity Status], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Policy Type], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Profession Flag], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer No], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Account No], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Original Eff Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Policy Eff Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Termin Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Student Flag], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Source Code], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [State Code], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Base Premium],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'A' as Entity_Status2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Student Flag]='Y','STUD','PROF')as Studflag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor((Interval(Today()-Date#([Original Eff Date],'YYYYMMDD'),'D'))/365) as Yrsins1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Active.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE [Entity Status]='A';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291921#M624565</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291922#M624566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you so much !!&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291922#M624566</guid>
      <dc:creator />
      <dc:date>2016-11-22T14:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291923#M624567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You already resolved my question, but I have a related issue.&amp;nbsp; When I modify this script to directly read the data via an ODBC connection to a file that contains 6 million records, the load takes 60 minutes.&amp;nbsp; If I do the same thing in an access database via an ODBC connection the load takes only 5 seconds.&amp;nbsp; I can I access the data faster ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291923#M624567</guid>
      <dc:creator />
      <dc:date>2016-11-22T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291924#M624568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a typo in prior message, how can I access the data faster than 60 minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291924#M624568</guid>
      <dc:creator />
      <dc:date>2016-11-22T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291925#M624569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ths access database local and the file sitting at a server which is sort of away from your machine? The speed of pulling the data also depends on how far the data is sitting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291925#M624569</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291926#M624570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The process is the same for both MS Access database and Qlikview document.&amp;nbsp; The MS Access database is on my local C:\ drive and so is the Qlikview document.&amp;nbsp; The data resides on a server in Chicago Illionois, my local desktop is in Philadelphia Pennsylvania.&amp;nbsp; The ODBC connection in the MS Access database reads the data in 1 second, I can view all 6 million records in 1 second.&amp;nbsp; The ODBC connection in Qlikview loads the records in 60 minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291926#M624570</guid>
      <dc:creator />
      <dc:date>2016-11-22T15:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291927#M624571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not an expert when it comes to connection with databases. I think it might be helpful for you to create another thread for this issue so that people with expertise in that area can help you better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 01:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291927#M624571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T01:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291928#M624572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny T, I appreciate your help and direction.&amp;nbsp; You have a fantastic day !! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause/m-p/1291928#M624572</guid>
      <dc:creator />
      <dc:date>2016-11-23T13:47:52Z</dc:date>
    </item>
  </channel>
</rss>

