<?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 Is it usefull to format data in a Load script for a QVD? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121080#M632356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it useful to format data in a Load script for a QVD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date(mydate) as mydate&lt;/P&gt;&lt;P&gt;money(mysale) as mysale;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select mydate, mysale from shop;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Sales into Sale.qvd (qvd);&lt;/P&gt;&lt;P&gt;drop table Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will the Report which loads the QVD benefit from the formating?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2016 13:00:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-03T13:00:37Z</dc:date>
    <item>
      <title>Is it usefull to format data in a Load script for a QVD?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121080#M632356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it useful to format data in a Load script for a QVD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;date(mydate) as mydate&lt;/P&gt;&lt;P&gt;money(mysale) as mysale;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select mydate, mysale from shop;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Sales into Sale.qvd (qvd);&lt;/P&gt;&lt;P&gt;drop table Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will the Report which loads the QVD benefit from the formating?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 13:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121080#M632356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-03T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it usefull to format data in a Load script for a QVD?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121081#M632357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Markus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load from &lt;SPAN style="font-size: 13.3333px;"&gt;QVD file&lt;/SPAN&gt; will always be faster that from DB. It is also good to format data before storing it into &lt;SPAN style="font-size: 13.3333px;"&gt;QVD. &lt;/SPAN&gt;Why? Because then in other apps you can utilise the benefits of optimised QVD load (which is up to 100 times faster than non optimised one)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more about that here: &lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" title="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 16:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121081#M632357</guid>
      <dc:creator />
      <dc:date>2016-08-03T16:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it usefull to format data in a Load script for a QVD?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121082#M632358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i know it's loads faster from QVD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But from my test so far, it ignores the format money() and date() completely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 06:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121082#M632358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-04T06:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it usefull to format data in a Load script for a QVD?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121083#M632359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a very good question which point is the best place to format the data? Then to format data, especially date- and time-fields, meant to create dual-values which need more bytes to be stored then pure numeric values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The differences between them could be watched within the attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is too much simplified to generate from them a general rule. Then in my example there are (intentionally) only distinct values which are not representative for a normal transactional fact-table and applied within a dimension-table (with a significantly higher degree on distinct values - the date will probably be but a year won't) it musn't be very important compared with the size of the fact-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further considerations could be the layer on which a formatting will be performed - then each formatting will break an optimized load. If you need to apply anyway transformings by loading from a qvd the formattings won't be make much difference but if not it will make a great difference.&lt;/P&gt;&lt;P&gt;Therefore it will be always depend on the concrete scenario which layer will be more suitable. In your case I would tend to try all performings on one point - either within the preceeding load (to load afterwards optimized) or within a following transforming-step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A further possibility is to perform the formatting in the last possible layer - within the gui (in document properties tab numbers). I have this applied within my attachment and you could see that the file-size of the qvw's are the same - this meant you saved some bytes by the file-size but you will have some more processor overhead to perform the formatting on the fly whereby I think the needed RAM for it will be the same because very probably will qlik cache these action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But nevertheless it would be very interesting to see if gui-formatting within a bigger real-case have any advantages - maybe someone had tested it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 09:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-usefull-to-format-data-in-a-Load-script-for-a-QVD/m-p/1121083#M632359</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-04T09:53:32Z</dc:date>
    </item>
  </channel>
</rss>

