<?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: How to use a table as a parameter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45970#M3092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident [Table_x]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Exists(EC_number);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 18:34:43 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-02T18:34:43Z</dc:date>
    <item>
      <title>How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45969#M3091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys and Girls, I've done my queries to generate a table with some Commercial Establishments (CE) and now I'd like to search for information in another data base using these commercial establishments as parameters of where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in my query I get the CE_number 's (100, 101, 102, 103) and I would like to search for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;* Resident [Table_x] where EC_number in (100, 101, 102, 103)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't really know the CE_number 's, just have them in another table column generated previously. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I would like to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;* Resident [Table_x] where EC_number in (load EC_number from [Table_y])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_y can be a Qlik table, a QVD or a impala database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible? Didn't find any information about it, &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 18:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45969#M3091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T18:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45970#M3092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident [Table_x]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Exists(EC_number);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 18:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45970#M3092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-02T18:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45971#M3093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This actually may not work... since EC_number will have all possible values because we are doing a Resident from Table_x... may be rename the column to something else in Table y like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TableY:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ...,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EC_number,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EC_number as EC_Check&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From ...;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident [Table_x]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Where Exists(EC_Check, EC_number);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 18:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45971#M3093</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-02T18:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45972#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible in a sql query in any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load *; sql select ec_name from impala.database where ec_number in (...) or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load *; sql select ec_name from impala.database where exists (ec_number)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 18:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45972#M3094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T18:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45973#M3095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not entirely sure I understand the scenario... can you share more details?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 18:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45973#M3095</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-02T18:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45974#M3096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to take some EC's by their revenues and calculated some limits for them. If they were above or below the limits I created, I would take them into a table, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that I have finally resolved how to calculate the limits rightly, I need to take some extra informations about them in the database, but I can't just add those informations into my limits calculations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is: the database has billions of EC's and I want to make a fast query just to gather information about my 17k EC's that are off limits, right? So I wanted to use them as my where clause limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I need to run this every month, I want to know if there is a automatic way to do it instead of having to print all the 17k numbers and putting them into inlines or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 19:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45974#M3096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T19:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45975#M3097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would I be able to use of table as where exists parameter in another table's load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table_x has my ec numbers: (101, 102, 103....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * resident [Table_y] where exists (ec_number {from table x})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 19:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45975#M3097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table as a parameter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45976#M3098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1294256"&gt;Re: EXIST() SQL with QS&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 19:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-table-as-a-parameter/m-p/45976#M3098</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-02T19:44:30Z</dc:date>
    </item>
  </channel>
</rss>

