<?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: Dynamic Load Statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452565#M700803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for the quick responses, as you can tell I am new to the whole QlikView thing and while I've done tons of reading in both the QV Dev I and II books, I have a long way to go yet.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob, you are right, in that we are using QV server and then using Publisher so that it is one pull to many uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my manager would like to get away from pulling large sets of data for reports, since our DB is already overworked and tends to fail on large data requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the users want a more "live" view so that they can have data that is not overnight; but within minutes of updating the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mayil, thank you for the example; it is the closest to being a parameterized load; however, it still requires a re-load to trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 21:13:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-20T21:13:01Z</dc:date>
    <item>
      <title>Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452556#M700794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to make the Load Statement dynamic so that the dataset pulled for the QVW is only the records the user wants?&lt;/P&gt;&lt;P&gt;We have two normalized tables that, once denormalized, grows to a set of over 6 million rows.&amp;nbsp; The user wants to report on these data; but wants to choose which records based on criteria in the original tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; An example:&lt;/P&gt;&lt;P&gt;Table A&amp;nbsp; (50 total rows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,2,3,4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pots, Pans, StoreNumber, Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Char, Char, Num, Bool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefSequence&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17,1,5,30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B (6 mil + rows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,1,2,4,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1001,1002,1003,1004,1004&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefValue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copper,Brass,FlatIron,0,27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DeNorm Table&lt;/P&gt;&lt;P&gt;A.DefID,A.DefName,A.DefType,A.DefSequence,B.DefID,B.CustID,B.DefValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,Pots,Char,17,1,1001,Copper&lt;/P&gt;&lt;P&gt;1,Pots,Char,17,1,1002,Brass&lt;/P&gt;&lt;P&gt;2,Pans,Char,1,1003,FlatIron&lt;/P&gt;&lt;P&gt;4,Status,Bool,30,1004,0&lt;/P&gt;&lt;P&gt;3,StoreNumber,Num,5,1004,27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A common report would be to give all the Pots for Customer 1004; or All Customers with FlatIron Pans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we need is to ask the Load statement to only load those records with the A.DefName(s) = [var] , or B.CustID(s) = [var] or, A.DefNames for B.CustID(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am relatively new to QV and come from a Crystal Reports background where I would have a paramterized Select statements that ask for parameters first;&lt;/P&gt;&lt;P&gt;then use those selections in the record select; but I am not sure how to accomplish this in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at posts by &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John Witherspoon or Greg Hood; but cannot find anything addressing this specific type of action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 16:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452556#M700794</guid>
      <dc:creator />
      <dc:date>2012-11-20T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452557#M700795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have LOAD or SELECT statements with the conditions based on variables, e.g.:&lt;BR /&gt;SELECT A, B, C,..&lt;BR /&gt;FROM DataTable&lt;BR /&gt;WHERE A=$(Var1);&lt;/P&gt;&lt;P&gt;If user can define a variable and reload - you have what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452557#M700795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T18:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452558#M700796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typically, the QV way is to load all 6 million rows and let the user filter by selections in listboxes. That is faster and more flexible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 19:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452558#M700796</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-11-20T19:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452559#M700797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also true, this is what QlikView is about.&lt;/P&gt;&lt;P&gt;Besides, user can reduce the file if needed without any reload and without variables.&amp;nbsp; Just make selections, and click File -&amp;gt; Reduce Data -&amp;gt; Keep possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 19:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452559#M700797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T19:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452560#M700798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me to understand how loading all 6mil records is faster than only loading say 500,000?&amp;nbsp; I have to think that the less data pulled at run-time, the faster the report loads.&amp;nbsp; Our users interact with reports that are hosted on our server but they do not change them as a developer might, re-load, file, etc are all locked out and they are only end users in the strictest sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452560#M700798</guid>
      <dc:creator />
      <dc:date>2012-11-20T20:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452561#M700799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this keep the initial data set from loading until a variable is filled out? Or would you put in a default value that returns a null until a var is put in?&amp;nbsp; Our users can't reload at will; is there a statement that can be run as a pre-load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452561#M700799</guid>
      <dc:creator />
      <dc:date>2012-11-20T20:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452562#M700800</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;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452562#M700800</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-20T20:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452563#M700801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's faster in the sense that you don't have to reload each time you need a different set of records. You load all 6 million once. Let's say that takes 15 minutes. It's batch, it runs overnight and no user is waiting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now each user uses the same 6mil row dashboard. User A wants products A,B,C. Click. In a few seconds they have a completed report. User B wants products X,Y,Z. Click. In a few seconds they have a report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand your original question, you are asking about rerunning the script each time the user wants a different set of data. That woud take minutes and a user would be waiting for the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I meant by faster. Am I understanding your requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452563#M700801</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-11-20T20:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452564#M700802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Users cannot reload by will" - are you saying that the application is on QV server?&amp;nbsp; In this case Rob is 100% correct.&amp;nbsp; Reloading application with 6 mln records once is faster than reloading many applications with 500K records, which can be done using Publisher.&amp;nbsp; And, one application accessed by many users takes fewer resourses than multiple applications with one user each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 20:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452564#M700802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T20:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452565#M700803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for the quick responses, as you can tell I am new to the whole QlikView thing and while I've done tons of reading in both the QV Dev I and II books, I have a long way to go yet.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob, you are right, in that we are using QV server and then using Publisher so that it is one pull to many uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my manager would like to get away from pulling large sets of data for reports, since our DB is already overworked and tends to fail on large data requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the users want a more "live" view so that they can have data that is not overnight; but within minutes of updating the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mayil, thank you for the example; it is the closest to being a parameterized load; however, it still requires a re-load to trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 21:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452565#M700803</guid>
      <dc:creator />
      <dc:date>2012-11-20T21:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Load Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452566#M700804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An approach to the database resource issue is to implement incremental (delta) loads where you select only the new &amp;amp; updated rows and merge with a qvd file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Load-Statements/m-p/452566#M700804</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-11-21T16:58:18Z</dc:date>
    </item>
  </channel>
</rss>

