<?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: Loading date from excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38717#M511390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you set your variables? Can you share the script for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2018 11:58:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-01T11:58:19Z</dc:date>
    <item>
      <title>Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38713#M511386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I am loading data through below script . Not a sing record is fetching&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Desks]:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DeskID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Deskname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DeskGroupID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DeskUpdatedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Hedge/Spec]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet2)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DeskUpdatedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;'17-Apr-2018 08:10:00.000'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DeskUpdatedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= '01-May-2018 11:19:37.137'&lt;/SPAN&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;SPAN style="font-size: 8pt;"&gt;can any one please help , why not a sing record is loading&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 11:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38713#M511386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-01T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38714#M511387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Desks]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD DeskID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Deskname,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeskGroupID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeskUpdatedDate,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Hedge/Spec]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM &lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet2)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where DeskUpdatedDate &amp;gt; &lt;SPAN style="color: #ff0000;"&gt;MakeDate(2018, 4, 17) + MakeTime(8, 10)&lt;/SPAN&gt; and DeskUpdatedDate &amp;lt;= &lt;SPAN style="color: #ff0000;"&gt;MakeDate(2018, 5, 1) + MakeTime(11, 19, 37)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need the millisecond part also?&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 11:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38714#M511387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T11:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38715#M511388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 11:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38715#M511388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38716#M511389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny , Thanks for your prompt reply . But I don't want to make change in hardcoded date as this date is coming through variable . Can you look into excel data that I have attached and if any format change is required for &lt;STRONG&gt;DeskUpdatedDate &lt;/STRONG&gt;field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 11:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38716#M511389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-01T11:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38717#M511390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you set your variables? Can you share the script for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 11:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38717#M511390</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T11:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38718#M511391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually , in live environment , this variable is set through subroutine . and &lt;STRONG&gt;DeskUpdatedDate &lt;/STRONG&gt;is date time field in DB but here for my learning purpose , I just copied the data of query in excel and doing play around . But &lt;STRONG&gt;DeskUpdatedDate &lt;/STRONG&gt;is causing an issue for me as it is no more date time field .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am okay to do any change in my load script with &lt;STRONG&gt;DeskUpdatedDate column&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 12:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38718#M511391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-01T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38719#M511392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your date field doesn't seem to be the issue, but the date field you are checking against (your variable) is... your variable is read as a string rather than date which is why when you compare date to a string.... nothing comes through.... in order to fix this, you can either use Date#() function to help interpret QlikView your string as a date or you can play around with environmental variables to make sure they match exactly with the date format and then you probably won't need to use Date#() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 12:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38719#M511392</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loading date from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38720#M511393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Desks:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD DeskID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Deskname, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeskGroupID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(DeskUpdatedDate,'M/DD/YYYY h:mm:ss TT') AS DeskUpdatedDate,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Hedge/Spec]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Test123.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;where&amp;nbsp; Timestamp(DeskUpdatedDate,'DD-MMM-YYYY hh:mm:ss.fff') &amp;gt;'17-Apr-2018 08:10:00.000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Timestamp(DeskUpdatedDate,'DD-MMM-YYYY hh:mm:ss.fff') &amp;lt;= '01-May-2018 11:19:37.137';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note that the right hand side values must be a timestamps as well otherwise the comparison fails.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 18:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-date-from-excel/m-p/38720#M511393</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-05-01T18:16:54Z</dc:date>
    </item>
  </channel>
</rss>

