<?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 Macro &amp; Load Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Load-Data/m-p/145021#M23823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;an attempt to get user input and load the relevant data is the most common first experience for new developers coming into QlikView from other environments - this is what we're all used to do with report writers...&lt;/P&gt;&lt;P&gt;In QlikView, you never do it this way. Even with huge data sets, you end up loading all the data and you let the user select what they want AFTER the load.&lt;/P&gt;&lt;P&gt;Now, if your data set is GIANT - and I mean the size that your hardware certainly can't process in one piece, than you have to think of a compromise:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you can increase your level of aggregation and not offer the most detailed piece of information in every document.&lt;/LI&gt;&lt;LI&gt;you can decrease the timeframe of your analysis - for example, you can offer most detailed information for the last 3 months only and more aggregate information for the last 3 years (find the formula that makes sense for your business)&lt;/LI&gt;&lt;LI&gt;you can slice the data based on something that makes sense - like a Division, or a market segment or something else that you users might be interested in separately. Load separate documents for each slice and let the users select the document that they want&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Back to your original question - if your data is truly BIG, macro is certainly not an option (it's too slow). Any load (even the super-fast QVD load) would be too slow if your users are waiting in front of the screen to get the results. You have to find a way to pre-load the data and then let users play with it.&lt;/P&gt;&lt;P&gt;Having said all that - there is an example of loading the data based on user input. Download "QlikView Explorer" from "Share QlikViews", and you'll see a couple of different examples of conditional load.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 23:08:27 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-05-26T23:08:27Z</dc:date>
    <item>
      <title>Macro &amp; Load Data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Load-Data/m-p/145020#M23822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I wonder if someone already have down something in order to manage really big data.&lt;/P&gt;&lt;P&gt;I mean that i would like to do a qlikview app that allow users to select a dataset before loading.&lt;/P&gt;&lt;P&gt;The way i try to do this is the following:&lt;/P&gt;&lt;P&gt;1/ I have a load statement which just get the distinct value that can be use for some fields as those fields constitue the filter.&lt;/P&gt;&lt;P&gt;2/ I've made a sheet on qlikview where users can select the dataset, e.g. for exemple a date range ...&lt;/P&gt;&lt;P&gt;Now how don't know how to proceed. In fact, i am thinking about doing a macro which will do the load statement (as the same way as in the script) but i don't know if it was possible.&lt;/P&gt;&lt;P&gt;Is it possible? Has someone already done something in this way ? Are there others slutions?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 22:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Load-Data/m-p/145020#M23822</guid>
      <dc:creator />
      <dc:date>2009-05-26T22:54:01Z</dc:date>
    </item>
    <item>
      <title>Macro &amp; Load Data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Load-Data/m-p/145021#M23823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;an attempt to get user input and load the relevant data is the most common first experience for new developers coming into QlikView from other environments - this is what we're all used to do with report writers...&lt;/P&gt;&lt;P&gt;In QlikView, you never do it this way. Even with huge data sets, you end up loading all the data and you let the user select what they want AFTER the load.&lt;/P&gt;&lt;P&gt;Now, if your data set is GIANT - and I mean the size that your hardware certainly can't process in one piece, than you have to think of a compromise:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you can increase your level of aggregation and not offer the most detailed piece of information in every document.&lt;/LI&gt;&lt;LI&gt;you can decrease the timeframe of your analysis - for example, you can offer most detailed information for the last 3 months only and more aggregate information for the last 3 years (find the formula that makes sense for your business)&lt;/LI&gt;&lt;LI&gt;you can slice the data based on something that makes sense - like a Division, or a market segment or something else that you users might be interested in separately. Load separate documents for each slice and let the users select the document that they want&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Back to your original question - if your data is truly BIG, macro is certainly not an option (it's too slow). Any load (even the super-fast QVD load) would be too slow if your users are waiting in front of the screen to get the results. You have to find a way to pre-load the data and then let users play with it.&lt;/P&gt;&lt;P&gt;Having said all that - there is an example of loading the data based on user input. Download "QlikView Explorer" from "Share QlikViews", and you'll see a couple of different examples of conditional load.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 23:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Load-Data/m-p/145021#M23823</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-26T23:08:27Z</dc:date>
    </item>
  </channel>
</rss>

