<?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 Date problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279089#M1181598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand your question completely, but I think that a part of the problem lies in the fact that you have entries in your Details table for which there are no corresponding entry in the Facturas table. &lt;/P&gt;&lt;P&gt;Then you create your master calendar based on the dates in the Facturas table. As a consequence you have dollars in the Details tablethat are associated with dates that do not exist in the other two tables, e.g. for the date '16/01/2012'.&lt;/P&gt;&lt;P&gt;But if this is the entire problem, I do not know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2012 14:09:09 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2012-01-16T14:09:09Z</dc:date>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279088#M1181597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the range of dates, I hope someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables, notes and invoices, the key field is a MAKEDATE (year, month, day). Two weeks ago not invoiced sales are not updated, return values ??are changed only when invoiced sales and not invoiced as null. In 2011 it works !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know what could happen? attachment qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 13:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279088#M1181597</guid>
      <dc:creator />
      <dc:date>2012-01-16T13:02:45Z</dc:date>
    </item>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279089#M1181598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand your question completely, but I think that a part of the problem lies in the fact that you have entries in your Details table for which there are no corresponding entry in the Facturas table. &lt;/P&gt;&lt;P&gt;Then you create your master calendar based on the dates in the Facturas table. As a consequence you have dollars in the Details tablethat are associated with dates that do not exist in the other two tables, e.g. for the date '16/01/2012'.&lt;/P&gt;&lt;P&gt;But if this is the entire problem, I do not know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 14:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279089#M1181598</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-01-16T14:09:09Z</dc:date>
    </item>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279090#M1181599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Henrik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand what you mean, is logical, but this document has been working for 6 months without problems, began to fail in 2012. What is the explanation for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 14:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279090#M1181599</guid>
      <dc:creator />
      <dc:date>2012-01-16T14:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279091#M1181600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try wraping all MakeDate() functions by Date() functions and see how that works. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;DATE(MAKEDATE(FVCOEJ,FVGEME,FVGEDI)) AS FECHA&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 14:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279091#M1181600</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-16T14:45:58Z</dc:date>
    </item>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279092#M1181601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;The problem is probably in the SQL database. You use &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;MAKEDATE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;B2GEAN&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;B2GEME&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;B2GEDI&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;in the Details table and &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;MAKEDATE&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVCOEJ&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVGEME&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVGEDI&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;in &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;the Invoice table. That should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;So I suspect that the invoice table (&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;S65FCEEB.APLREMGEFI.FV&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;) isn’t updated correctly. Check if the fields &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVCOEJ&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVGEME&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;FVGEDI &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;in it have correct values or if there are records missing in it (records that have corresponding values in the Details table). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 15:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279092#M1181601</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-01-16T15:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279093#M1181602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might be missing some dates. Try concatenating the dates from both tables before finding max and min values!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And try to use the PEEK() function in this case. FieldValue() is used in chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;CALENDARIO_TEMP:&lt;/P&gt;&lt;P&gt;LOAD distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FECHA&lt;/P&gt;&lt;P&gt;RESIDENT FACTURAS;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FECHA&lt;/P&gt;&lt;P&gt;RESIDENT ALBARAN_DETALLE_VENTA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALENDARIO_TEMP_II:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Max(FECHA) AS DateMax,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Min(FECHA) AS DateMin&lt;/P&gt;&lt;P&gt;RESIDENT CALENDARIO_TEMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = FieldValue('DateMax', 1);&lt;/P&gt;&lt;P&gt;LET vMinDate = FieldValue('DateMin', 1) -1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLES CALENDARIO_TEMP,CALENDARIO_TEMP_II;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 20:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279093#M1181602</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2012-01-16T20:10:43Z</dc:date>
    </item>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279094#M1181603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone and thanks for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel, the proposed solution returns the same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Henric, I think the same as you but developers say the management application that everything is correct, the details corresponding fields are 0 except FVCOEJ is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Fernando, your solution seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to say that today, miraculously, without making any changes, the document seems to work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem/m-p/279094#M1181603</guid>
      <dc:creator />
      <dc:date>2012-01-17T09:03:03Z</dc:date>
    </item>
  </channel>
</rss>

