<?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: Show data based on selected date (link date and datetime) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-data-based-on-selected-date-link-date-and-datetime/m-p/1409264#M426381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pamela,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From what your saying I believe what's happening is that the date on the right table is formated with a timestamp date, MM/DD/YYYY hh:mm:ss and you have on the left side only MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might cause the date to not connect due to the following:&lt;/P&gt;&lt;P&gt;The date format is a numeric value like 42000, and when you have a timestamp, it goes something like 42000.10 (gets a decimal value to determine hour minutes and seconds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your date has only the integer part, it will not connect to the table on&amp;nbsp; the right.&lt;/P&gt;&lt;P&gt;You need to create a date on both side with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *, // Whatever fields you have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(floor(Date),'&lt;SPAN style="font-size: 13.3333px;"&gt;MM/DD/YYYY' as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From [whatever];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;This quick example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;42000.10&lt;/P&gt;&lt;P&gt;42001.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,A&lt;/P&gt;&lt;P&gt;42000,1&lt;/P&gt;&lt;P&gt;42001,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gives the following table (not associated data);&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180550" alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180550_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after using floor &lt;SPAN style="font-size: 13.3333px;"&gt;function &lt;/SPAN&gt;like the code bellow it gives:&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;42000.10&lt;/P&gt;&lt;P&gt;42001.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,A&lt;/P&gt;&lt;P&gt;42000,1&lt;/P&gt;&lt;P&gt;42001,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;floor(Date)&lt;/P&gt;&lt;P&gt;Resident x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table x;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180554" alt="Sample.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/180554_Sample.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Oct 2017 11:44:38 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-10-23T11:44:38Z</dc:date>
    <item>
      <title>Show data based on selected date (link date and datetime)</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-based-on-selected-date-link-date-and-datetime/m-p/1409263#M426380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px;"&gt;I have a list box of dates and a table which has datetime as dimension. The dates from list box is a separate table from that with complete date. I tried connecting them by cutting the datetime into just date (another field) in my select script but did not work. So I thought this should be done on the conditional of datetime dimension but I'm not sure how to do this. How should I be able to show data based on selected dates in Filters?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px;"&gt;&lt;IMG alt="date.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180512_date.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 01:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-based-on-selected-date-link-date-and-datetime/m-p/1409263#M426380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-23T01:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show data based on selected date (link date and datetime)</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-based-on-selected-date-link-date-and-datetime/m-p/1409264#M426381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pamela,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From what your saying I believe what's happening is that the date on the right table is formated with a timestamp date, MM/DD/YYYY hh:mm:ss and you have on the left side only MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might cause the date to not connect due to the following:&lt;/P&gt;&lt;P&gt;The date format is a numeric value like 42000, and when you have a timestamp, it goes something like 42000.10 (gets a decimal value to determine hour minutes and seconds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your date has only the integer part, it will not connect to the table on&amp;nbsp; the right.&lt;/P&gt;&lt;P&gt;You need to create a date on both side with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *, // Whatever fields you have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(floor(Date),'&lt;SPAN style="font-size: 13.3333px;"&gt;MM/DD/YYYY' as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From [whatever];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;This quick example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;42000.10&lt;/P&gt;&lt;P&gt;42001.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,A&lt;/P&gt;&lt;P&gt;42000,1&lt;/P&gt;&lt;P&gt;42001,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gives the following table (not associated data);&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180550" alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180550_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after using floor &lt;SPAN style="font-size: 13.3333px;"&gt;function &lt;/SPAN&gt;like the code bellow it gives:&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;42000.10&lt;/P&gt;&lt;P&gt;42001.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,A&lt;/P&gt;&lt;P&gt;42000,1&lt;/P&gt;&lt;P&gt;42001,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;floor(Date)&lt;/P&gt;&lt;P&gt;Resident x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table x;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180554" alt="Sample.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/180554_Sample.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-based-on-selected-date-link-date-and-datetime/m-p/1409264#M426381</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-10-23T11:44:38Z</dc:date>
    </item>
  </channel>
</rss>

