<?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 Cannot filter on Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254208#M1194162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the time this means that your 2 date fields are not the same format.&lt;/P&gt;&lt;P&gt;Try to find it in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share your QV-document I will take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 13:12:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-31T13:12:55Z</dc:date>
    <item>
      <title>Cannot filter on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254207#M1194161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's been a while since I used QV, and I am quite rusty!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel file that ( for this example) contains 2 fields, the date and a site derscription&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I load 'Date' and 'Site', as a 'tempMain', , reload as 'Main' to allow the ORDER BY and then use a date script I found on the web to generate dates from the earliest date in the 'tempMain' table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;load&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;TempDate&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;...etc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I create two tables, linked by the key field 'Date'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select "Year" , ALl my "sites are deselected, but in theory, if I select 2011 in Year, the key should link back to all the dates in the Main that are in 2011 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... shoudl it not..?..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assistance please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254207#M1194161</guid>
      <dc:creator />
      <dc:date>2011-05-31T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Cannot filter on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254208#M1194162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the time this means that your 2 date fields are not the same format.&lt;/P&gt;&lt;P&gt;Try to find it in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share your QV-document I will take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254208#M1194162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Cannot filter on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254209#M1194163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can press Ctrl+T to check the links between tables.&lt;/P&gt;&lt;P&gt;On your main table you have TempDate or Date as a date field? &lt;/P&gt;&lt;P&gt;I guess it's not properly linked. &lt;/P&gt;&lt;P&gt;Maybe, you could use just : &lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load TempDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;week(TempDate) as Week,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(TempDate) as Year,&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254209#M1194163</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-31T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Cannot filter on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254210#M1194164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; if your date column in the excel sheet contains values with time then if you use the num function to get the numeric representation of your date then it will give you a decimal value&lt;/P&gt;&lt;P&gt; whereas if you use the num with the TempDate of the master calendar it will give you an integer&lt;/P&gt;&lt;P&gt; to solve this problem use the following on the column of the excel sheet &lt;SPAN style="background: yellow; color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;columnName&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow; color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow; color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-highlight: yellow; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; the floor function takes the integer part of the date and the date() function gives you the date format that can be linked with the TempDate of the master calendar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254210#M1194164</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2011-05-31T13:47:35Z</dc:date>
    </item>
    <item>
      <title>Cannot filter on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254211#M1194165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks All. Every response was useful, in that it told me what to looko for and gave me the solution&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-filter-on-Date/m-p/254211#M1194165</guid>
      <dc:creator />
      <dc:date>2011-05-31T13:57:14Z</dc:date>
    </item>
  </channel>
</rss>

