<?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 Reading a large table into a single result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500667#M1129229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Starting to buikd output in Qlikview with source a large table&lt;/P&gt;&lt;P&gt;before starting to build a test is the question if the following&amp;nbsp; would work in a acceptable time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read&amp;nbsp; using a single key from a datebase wich will have aprox&amp;nbsp; 200000 records, and aprox&amp;nbsp; 1400 hits with&lt;/P&gt;&lt;P&gt;this:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select * from&amp;nbsp; sales_naw where&amp;nbsp; Country = 'US'&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The total read should return as a single sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in VB issuing this call i read until eof(sales_naw)&amp;nbsp;&amp;nbsp; and count the sales to a single amount,&lt;/P&gt;&lt;P&gt;takes aprox 15 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the time in a qlikview design? and aceptable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2013 19:24:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-27T19:24:07Z</dc:date>
    <item>
      <title>Reading a large table into a single result</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500667#M1129229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Starting to buikd output in Qlikview with source a large table&lt;/P&gt;&lt;P&gt;before starting to build a test is the question if the following&amp;nbsp; would work in a acceptable time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read&amp;nbsp; using a single key from a datebase wich will have aprox&amp;nbsp; 200000 records, and aprox&amp;nbsp; 1400 hits with&lt;/P&gt;&lt;P&gt;this:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select * from&amp;nbsp; sales_naw where&amp;nbsp; Country = 'US'&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The total read should return as a single sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in VB issuing this call i read until eof(sales_naw)&amp;nbsp;&amp;nbsp; and count the sales to a single amount,&lt;/P&gt;&lt;P&gt;takes aprox 15 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the time in a qlikview design? and aceptable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 19:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500667#M1129229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T19:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a large table into a single result</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500668#M1129230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Jack&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summarising what I think you have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Source table 200,000 rows [I guess from a database]&lt;/LI&gt;&lt;LI&gt;Dimension of &lt;EM&gt;Country&lt;/EM&gt; [probably more dimensions like &lt;EM&gt;Sale Date&lt;/EM&gt; ]&lt;/LI&gt;&lt;LI&gt;Facts of &lt;EM&gt;Sales&lt;/EM&gt; [probably more facts]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For starter in your load script you could load:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Country&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;EM&gt;Sales&lt;/EM&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your dashboard create a Chart Object of type Straight Table with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dimension&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Country&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Sum(Sales)&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see the Sales for each Country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a List Box for &lt;EM&gt;Country&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you'll be able to select Countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next start adding more dimensions and facts fields into your load script and add them into your existing objects / new objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a complete guess the load script run time will be measured in seconds, not minutes.&amp;nbsp; But selecting Countries in the dashboard and seeing their Sales should near instantaneous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 19:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500668#M1129230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T19:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a large table into a single result</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500669#M1129231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok thanks, wil start doing this and let you know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 19:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-a-large-table-into-a-single-result/m-p/500669#M1129231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T19:42:12Z</dc:date>
    </item>
  </channel>
</rss>

