<?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: Problem with dates in charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482294#M180241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your date field is really a timestamp. That's why you get the 'extra' records. In each of those records the date also has a time part. Your calendar creates the dates without the time parts and your other table has the dates with time parts. Because they use the same field name (fecha_click) it looks like the calendar has extra records, but those are simply the timestamps from your other table. You can use the floor function first on fecha_click to remove the time part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD año_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dia_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dia_semana_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;floor(fecha_click) as fecha_click&lt;/STRONG&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from_mobile, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hora_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_click, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_ofertas, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_usuarios, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mes_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tipo_clic&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Table.xlsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 06:15:19 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-08-14T06:15:19Z</dc:date>
    <item>
      <title>Problem with dates in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482291#M180238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a general problem with my calendars, I have different facts tables and for each one I created a calendar. The facts tables are connected to a calendar using the field date. But when I try to make a line chart using: days, months, year as a dimension and count the ids of the table as an expression I get a null date plotted. The expression value is correct in the chart but it seems it cant find a day, month or year. So, I tried deleting the key field date and I linked the tables using multiple fields: day, month, and year. This created a synthetic key, but finally plotted the info as I wanted. So I dont really know what the problem is. I want to get rid of the synthetic tables. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2013 06:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482291#M180238</guid>
      <dc:creator />
      <dc:date>2013-08-10T06:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482292#M180239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would stick to the date as key. It seems to me that not all your records in the fact table have a valid key set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first step would be to look into how your key fields is derived from other fact table fields (you said, it works using day, month, year, so I assume these are the original calendar fields in your fact table, not date?), and to double check that each fact table record has a valid key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would probably need to post more details if you want someone to help you with your issue, best by creating a small sample QVW file that demonstrate your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2013 12:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482292#M180239</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-10T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482293#M180240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I found the problem, but I dont know how to fix it. The Calendar table has adittional lines with null values for the&amp;nbsp; fields year, day, month, weekday an quarter. I know for sure that the calendar is calculating the dates right and it should only have 6 lines (green selection). I dont know why the extra lines (red) are appearing in my calendar table. So when I try to make a line chart, the dimension displays the null values from these extra lines. I attached the data from the 2 tables in an excel file. I am using the date as a key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 22:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482293#M180240</guid>
      <dc:creator />
      <dc:date>2013-08-13T22:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates in charts</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482294#M180241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your date field is really a timestamp. That's why you get the 'extra' records. In each of those records the date also has a time part. Your calendar creates the dates without the time parts and your other table has the dates with time parts. Because they use the same field name (fecha_click) it looks like the calendar has extra records, but those are simply the timestamps from your other table. You can use the floor function first on fecha_click to remove the time part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD año_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dia_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dia_semana_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;floor(fecha_click) as fecha_click&lt;/STRONG&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from_mobile, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hora_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_click, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_ofertas, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_usuarios, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mes_clic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tipo_clic&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Table.xlsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 06:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-dates-in-charts/m-p/482294#M180241</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-14T06:15:19Z</dc:date>
    </item>
  </channel>
</rss>

