<?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 SQL SELECT with - Where condition from Resident Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768540#M1041265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Below given condition will work in resident table but &lt;/P&gt;&lt;P&gt;Is there any way to map below requirement in SQL SELECT from SAP database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;P&gt;Emp:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Emp, Ind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000000, Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000001, Yes&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;P&gt;SAP_Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;PERNR AS Employee,&lt;/P&gt;&lt;P&gt;NACHN AS Surname;&lt;/P&gt;&lt;P&gt;SQL SELECT PERNR NACHN FROM PA0002 &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Where ApplyMap('Emp', PERNR,'No') = 'Yes'&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 13:09:23 GMT</pubDate>
    <dc:creator>girish_talele</dc:creator>
    <dc:date>2014-12-03T13:09:23Z</dc:date>
    <item>
      <title>SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768540#M1041265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Below given condition will work in resident table but &lt;/P&gt;&lt;P&gt;Is there any way to map below requirement in SQL SELECT from SAP database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;P&gt;Emp:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Emp, Ind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000000, Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000001, Yes&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;P&gt;SAP_Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;PERNR AS Employee,&lt;/P&gt;&lt;P&gt;NACHN AS Surname;&lt;/P&gt;&lt;P&gt;SQL SELECT PERNR NACHN FROM PA0002 &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Where ApplyMap('Emp', PERNR,'No') = 'Yes'&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;//===============================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768540#M1041265</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-12-03T13:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768541#M1041266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ApplyMap is a Qlikview Function. It must operate ine the Qlikview instruction.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Moreover you have to specify Mapping Load in your Map instruction&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;Emp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Emp, Ind&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000000, Yes&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000001, Yes&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;SAP_Data:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PERNR AS Employee,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NACHN AS Surname&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000; font-family: inherit; font-style: inherit;"&gt;&lt;STRONG style="color: #339966;"&gt;Where ApplyMap('Emp', PERNR,'No') = 'Yes'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000; font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #339966;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; PERNR NACHN&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM PA0002;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768541#M1041266</guid>
      <dc:creator>yduval75</dc:creator>
      <dc:date>2014-12-03T13:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768542#M1041267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use Qlikview function in Sql. Either you have to hardcode in Sql or you can use ApplyMap() on Preceding Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PERNR AS Employee,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NACHN AS Surname &lt;STRONG style="color: #ff0000;"&gt;Where ApplyMap('Emp', PERNR,'No') = 'Yes';&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT PERNR NACHN FROM PA0002 ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768542#M1041267</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-03T13:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768543#M1041268</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;You can try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Emp, Ind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000000, Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000001, Yes&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUPERTEST:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Concat(Emp, ',') as TEST&lt;/P&gt;&lt;P&gt;Resident Emp&lt;/P&gt;&lt;P&gt;Where Ind='Yes'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vTest = Peek('TEST', 0, 'SUPERTEST');&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;SAP_Data:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PERNR AS Employee,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NACHN AS Surname;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SELECT PERNR NACHN&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM PA0002&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WHERE&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PERNR&amp;nbsp; in ($(vTest))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table SUPERTEST;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768543#M1041268</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2014-12-03T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768544#M1041269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Aurélien MARTINEZ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, it works (provided the no. of values in concat are few).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 05:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768544#M1041269</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-12-05T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL SELECT with - Where condition from Resident Table</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768545#M1041270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea what is the limit on the number of values in concat?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 18:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-SELECT-with-Where-condition-from-Resident-Table/m-p/768545#M1041270</guid>
      <dc:creator>sidjustice</dc:creator>
      <dc:date>2016-04-29T18:27:04Z</dc:date>
    </item>
  </channel>
</rss>

