<?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 Pb with max in QVD local / server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328430#M710993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; Strange... Check the server System Date and Time Setting and compare it with your local one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿Let MAXCRTTIME =date(date#('MAXCRTTIME',0,'YYYYMM'),'YYYYMM');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this heps you out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of Luck..!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 07:17:13 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2011-05-26T07:17:13Z</dc:date>
    <item>
      <title>Pb with max in QVD local / server</title>
      <link>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328429#M710992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a QVD with data sales&amp;nbsp; by month .&lt;/P&gt;&lt;P&gt; I have used an attribute YearMonth to stock the month with format (YYYYMM , example 201105).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After, I want to read my QVD to make incremental loading . Therefox i search a max(month) with this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxtimes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(anneemois) as MAXCRTTIME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QVD\Data.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let MAXCRTTIME = date(Peek('MAXCRTTIME',0,'maxtimes'),'YYYYMM');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In local , MAXCRTTIME contains &lt;STRONG&gt;201105&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a Server, MAXCRTTIME contains a number&lt;STRONG&gt; 40672,803 !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you an idea to help me , please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnanks for advance,&lt;/P&gt;&lt;P&gt;Pierrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 06:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328429#M710992</guid>
      <dc:creator />
      <dc:date>2011-05-26T06:54:08Z</dc:date>
    </item>
    <item>
      <title>Pb with max in QVD local / server</title>
      <link>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328430#M710993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt; Strange... Check the server System Date and Time Setting and compare it with your local one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿Let MAXCRTTIME =date(date#('MAXCRTTIME',0,'YYYYMM'),'YYYYMM');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this heps you out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of Luck..!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328430#M710993</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-05-26T07:17:13Z</dc:date>
    </item>
    <item>
      <title>Pb with max in QVD local / server</title>
      <link>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328431#M710995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Pierrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly are you sure you are looking in the correct place or atthe right thing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have recovered a field from your qvd file and called this MAXCRTTIME. You then have created a variable with the same name MAXCRTTIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You now have one field and one variable. The same name but two different elements in your qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open a list box and display the field you will see 40672,803 which looks like a timestamp displayed as a number, if displayed as a timestamp this would show 2011/05/09 19:16:19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create a text box and put inside it =MAXCRTTIME (this is the variable) you will see 201105.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is your problem, in which case you don't have one. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought there may be an issue of different settings between the server and your workstation but can't see one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328431#M710995</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-05-26T07:55:37Z</dc:date>
    </item>
    <item>
      <title>Pb with max in QVD local / server</title>
      <link>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328432#M710996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked Configuration System Server ,Date and Time Setting . It was same configuration .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So , i Tried this rule in my script and &lt;STRONG&gt;It Works&lt;/STRONG&gt; !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let MAXCRTTIME = Date#(Date(Peek('MAXCRTTIME',0,'maxtimes'),'YYYYMM') ,'YYYYMM')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Deepak&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 08:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pb-with-max-in-QVD-local-server/m-p/328432#M710996</guid>
      <dc:creator />
      <dc:date>2011-05-26T08:14:01Z</dc:date>
    </item>
  </channel>
</rss>

