<?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: Hi everyone, problem with dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797329#M281663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the last row in your script add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Data_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also want to add a Noconcatenate, example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14274694852351478 jive_macro_code" jivemacro_uid="_14274694852351478" modifiedtitle="true"&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Data_temp]:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; RecNo() as Recordnr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sede,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cod.tipo,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Codice&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://cartel/file.xlsx]&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Foglio1)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;(example=)&lt;/EM&gt;&lt;/SPAN&gt;Sog='abcd';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Data]:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Noconcatenate LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;=Peek(Codice) and Sede=Peek(Sede),Date#(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Data&lt;/SPAN&gt;-Peek(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Data&lt;/SPAN&gt;),'D')) as Day_nr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD * RESIDENT Data_temp Order By &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;, Recordnr ASC;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;drop table Data_temp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 15:15:55 GMT</pubDate>
    <dc:creator>jopmoekotte</dc:creator>
    <dc:date>2015-03-27T15:15:55Z</dc:date>
    <item>
      <title>Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797320#M281654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a table like that:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Immagine.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/81973_Immagine.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I've to count the days that my article "0421j141995" stay in each "Sede".&lt;/P&gt;&lt;P&gt;DEL means Entry and DUL means Exit.&lt;/P&gt;&lt;P&gt;For example this article star from "Sede" 1 for going in "Sede" 6 for staying here for 7 days, then it left "Sede" 6 for going in "Sede" 8 and it stay here for 18 days, etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it in Qlikview or sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for everyone can answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Miriana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797320#M281654</guid>
      <dc:creator />
      <dc:date>2015-03-26T09:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797321#M281655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miriana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a small inline test table. Of course the data isn't the same, but this should be the solution to your problem.&lt;/P&gt;&lt;P&gt;You can solve your problem by doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Data_temp]:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; RecNo() as Recordnr&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sede, cod.tipo, data, codice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, DUL, 16/10/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, DEL, 16/10/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, DUL, 23/10/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, DEL, 23/10/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, DUL, 10/11/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, DEL, 10/11/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, DUL, 11/11/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, DEL, 11/11/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, DUL, 24/12/2014, xxxlllsss&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(codice=Peek(codice) and Sede=Peek(Sede),Date#(data-Peek(data),'D')) as Day_nr&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * RESIDENT Data_temp Order By codice, Recordnr ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82044_test.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 15:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797321#M281655</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-26T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797322#M281656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe it can help me if I've only this article, but how can I do it with 8000 articles?&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Miriana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797322#M281656</guid>
      <dc:creator />
      <dc:date>2015-03-27T11:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797323#M281657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miriana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script should pick it up for every article without problems, not just 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797323#M281657</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-27T11:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797324#M281658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to write this in the script?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Data_temp]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; RecNo() as Recordnr&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Sede,&lt;/P&gt;&lt;P&gt;Cod.tipo,&lt;/P&gt;&lt;P&gt;Data,&lt;/P&gt;&lt;P&gt;Codice&lt;/P&gt;&lt;P&gt;FROM [lib://cartel/file.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Foglio1)&lt;/P&gt;&lt;P&gt;WHERE &lt;EM&gt;(example=)&lt;/EM&gt;Sog='abcd';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(codice=Peek(codice) and Sede=Peek(Sede),Date#(data-Peek(data),'D')) as Day_nr&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * RESIDENT Data_temp Order By codice, Recordnr ASC;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It is right?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Kind Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Miriana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 12:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797324#M281658</guid>
      <dc:creator />
      <dc:date>2015-03-27T12:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797325#M281659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Data_temp]:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; RecNo() as Recordnr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sede,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cod.tipo,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Codice&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://cartel/file.xlsx]&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Foglio1)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE &lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;(example=)&lt;/EM&gt;&lt;/SPAN&gt;Sog='abcd';&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;=Peek(Codice) and Sede=Peek(Sede),Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Data&lt;/SPAN&gt;-Peek(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Data&lt;/SPAN&gt;),'D')) as Day_nr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD * RESIDENT Data_temp Order By &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;, Recordnr ASC;&lt;/STRONG&gt;&lt;/P&gt;





&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Miriana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parts I have marked in &lt;STRONG&gt;bold&lt;/STRONG&gt; are the additions to your own data. You shouldn't have to load the part that I created as a dummy file. So the original load statement you have in your file is the basis, the &lt;STRONG&gt;bold &lt;/STRONG&gt;parts should be added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the regular marked part is your original load statement, this should work!&lt;/P&gt;&lt;P&gt;(Be sure to check spelling and Capital letters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 12:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797325#M281659</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-27T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797326#M281660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;it gives me this error:&lt;/P&gt;&lt;P style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Si è verificato il seguente errore:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Table not found&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;L'errore si è verificato qui:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;LOAD * RESIDENT Data_temp Order By Codice, Recordnr ASC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 14:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797326#M281660</guid>
      <dc:creator />
      <dc:date>2015-03-27T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797327#M281661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;be sure to name your table, you can use another name, but in my example I named the table (at the top) &lt;STRONG&gt;Data_temp.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can Name a table by writing it above the load statement of that table, in my example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;[Data_temp]:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; RecNo() as Recordnr&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;etcetera.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 14:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797327#M281661</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-27T14:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797328#M281662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done it, but it load my table twice, so I've my results doubled..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 14:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797328#M281662</guid>
      <dc:creator />
      <dc:date>2015-03-27T14:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797329#M281663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the last row in your script add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Data_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also want to add a Noconcatenate, example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14274694852351478 jive_macro_code" jivemacro_uid="_14274694852351478" modifiedtitle="true"&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Data_temp]:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; RecNo() as Recordnr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sede,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cod.tipo,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Codice&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://cartel/file.xlsx]&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Foglio1)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;(example=)&lt;/EM&gt;&lt;/SPAN&gt;Sog='abcd';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Data]:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Noconcatenate LOAD *,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;=Peek(Codice) and Sede=Peek(Sede),Date#(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Data&lt;/SPAN&gt;-Peek(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Data&lt;/SPAN&gt;),'D')) as Day_nr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD * RESIDENT Data_temp Order By &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Codice&lt;/STRONG&gt;&lt;/SPAN&gt;, Recordnr ASC;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;drop table Data_temp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797329#M281663</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-27T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797330#M281664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it gives me this result..&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="82153" alt="Senzanome.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82153_Senzanome.jpg" style="height: 332px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797330#M281664</guid>
      <dc:creator />
      <dc:date>2015-03-27T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797331#M281665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try replacing&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14274912453573920" jivemacro_uid="_14274912453573920"&gt;
&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL class="dp-sql" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt; [Data]:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Noconcatenate &lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; *,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; If(Codice=Peek(Codice) &lt;SPAN class="op" style="font-weight: inherit; font-style: inherit; color: #808080; font-size: 9pt !important; background-color: inherit;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Sede=Peek(Sede),&lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;#(Data-Peek(Data),&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;'D'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;)) &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Day_nr&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; * RESIDENT Data_temp &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Codice, Recordnr &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;ASC&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;&lt;/PRE&gt;&lt;OL class="dp-sql" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: black; font-style: inherit; font-weight: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt;with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-style: inherit; font-weight: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14274912586069316" jivemacro_uid="_14274912586069316" modifiedtitle="true"&gt;&lt;OL class="dp-sql" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt; [Data]:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Noconcatenate &lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; *,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; If(Codice=Peek(Codice) &lt;SPAN class="op" style="font-weight: inherit; font-style: inherit; color: #808080; font-size: 9pt !important; background-color: inherit;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Sede=Peek(Sede),&lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;#(Data-Peek(Data),&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;'D'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;),0) &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Day_nr&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;RESIDENT Data_temp &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; Codice, Recordnr &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;ASC&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 21:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797331#M281665</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-27T21:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797332#M281666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but with Noconcatenate it gives me this error:&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Si è verificato il seguente errore:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;Field not found&lt;/P&gt;&lt;P class="headline edc_error" style="padding: 0 10px; font-weight: bolder; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;L'errore si è verificato qui:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;[Data]: Noconcatenate LOAD *, If(Telaio=Peek(Telaio) and Sede=Peek(Sede),Date#([Data documento]-Peek([Data documento]),'D'),0) as Day_nr RESIDENT Data_temp Order By Codice, Recordnr ASC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 07:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797332#M281666</guid>
      <dc:creator />
      <dc:date>2015-03-30T07:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797333#M281667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miriana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not the Noconcatenate that gives the issue, you're not loading Codice. If you rename that field you should also order by the new fieldname at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT Data_temp Order By &lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;Codice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;, Recordnr ASC&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RESIDENT Data_temp Order By &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: #ff0000; text-decoration: underline;"&gt;Telaio&lt;/STRONG&gt;&lt;/SPAN&gt;, Recordnr ASC&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-size: 15px; background-color: rgba(255, 38, 38, 0.2); font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Jop&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 07:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797333#M281667</guid>
      <dc:creator>jopmoekotte</dc:creator>
      <dc:date>2015-03-30T07:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, problem with dates</title>
      <link>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797334#M281668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I didn't see it.&lt;/P&gt;&lt;P&gt;I've replace Codice with Telaio now, but it gives me the same result of the table I've posted friday.&lt;/P&gt;&lt;P&gt;No matter, I'll do it in another way.&lt;/P&gt;&lt;P&gt;Thank you very much for the help.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Miriana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 07:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hi-everyone-problem-with-dates/m-p/797334#M281668</guid>
      <dc:creator />
      <dc:date>2015-03-30T07:38:30Z</dc:date>
    </item>
  </channel>
</rss>

