<?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: Direct Discovery - populate data from database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308088#M833705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may not understanding the power of qlik. Le me explain in little easy way. Here, Qlik is auto associative and it can removes the Unique values(like DISTINCT). And that, You don't require to use DISTINCT keyword over script. Can you take CustomerID as in Listbox and then show us the image of the values where you get it repeated names. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 01:50:25 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-06-06T01:50:25Z</dc:date>
    <item>
      <title>Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308087#M833704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying the following query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load all distinct CustomerID in list box and based on the selection of CustomerID in list box want to populate Table Box with OrderID, OrderDate from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note I have billions of records in my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIMENSION CustomerID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DETAIL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderID,OrderDate FROM Orders;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308087#M833704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308088#M833705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may not understanding the power of qlik. Le me explain in little easy way. Here, Qlik is auto associative and it can removes the Unique values(like DISTINCT). And that, You don't require to use DISTINCT keyword over script. Can you take CustomerID as in Listbox and then show us the image of the values where you get it repeated names. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 01:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308088#M833705</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T01:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308089#M833706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even with normal query,the Listbox is populated with Unique values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is that that when user clicks the CustomerID in ListBox the tablebox should be populated based on selected CustomerId.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have billons of records in table, it cannot be populated in memory. Hence, I am trying DIRECT QUERY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 02:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308089#M833706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T02:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308090#M833707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Amar P wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My requirement is that that when user clicks the CustomerID in ListBox the tablebox should be populated based on selected CustomerId.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For this, We have option called Excluded from Properties of object in general tab&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;You can use Expression like &lt;STRONG&gt;Aggr(CustomerId, CustomerId) &lt;/STRONG&gt;// Here, This expression returns only selection values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308090#M833707</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T04:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308091#M833708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is that that when user clicks the CustomerID in ListBox the tablebox should be populated based on selected CustomerId.&lt;/P&gt;&lt;P&gt;The table contains billions of records hence it is not possible to load data in memory( in table box) to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use DIRECT QUERY for this, so that I can pass the selected CustomerID (may be from Listbox or I can create textbox and button) to database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have given the option called Excluded from Properties of object in general tab. Do you have any sample link/code for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 02:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308091#M833708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T02:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery - populate data from database</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308092#M833709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Amar P wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My requirement is that that when user clicks the CustomerID in ListBox the tablebox should be populated based on selected CustomerId.&lt;/P&gt;
&lt;P&gt;The table contains billions of records hence it is not possible to load data in memory( in table box) to display.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here, Answer is Qlikview has Associative search Engine. You don't require and need any script if Data model is correct and that we need to arrange in Script level to get perfect Data Model, I can say&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I am trying to use DIRECT QUERY for this, so that I can pass the selected CustomerID (may be from Listbox or I can create textbox and button) to database.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, In fact I don't think so whether we require Direct Discovery for this case, Then your wish to use. And Myself i used direct discovery to fetch the images from DB. So then, It reduce the time to reload due to my images are in GB's&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;You have given the option called Excluded from Properties of object in general tab. Do you have any sample link/code for this.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am thinking here is if we have associative data to next list box then we need to exclude which is non associate with selection data (I am assuming). For that, we have to go Properties-General-There we will get Exclude option or we can use Expression for that box like my earlier post &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(CustomerId, CustomerId)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &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, 07 Jun 2017 03:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-populate-data-from-database/m-p/1308092#M833709</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-07T03:11:13Z</dc:date>
    </item>
  </channel>
</rss>

