<?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: MS Access load datetime field as YYYYMM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976530#M643663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think single quotes seems to work, but have square bracket or single quotes (not both). Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(Date#(VisitDate, 'MM/DD/YYYY'), 'YYYYMM') as [Visit Year Month],&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 19.5px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 21:33:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-22T21:33:56Z</dc:date>
    <item>
      <title>MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976527#M643660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably a silly question, but what is the syntax to load an MS Access DateTime as YYYYMM?&amp;nbsp; I tried this, but it's not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(VisitDate, 'YYYYMMDD'), 'YYYYMM') as 'VisitYear Month',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976527#M643660</guid>
      <dc:creator />
      <dc:date>2015-12-22T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976528#M643661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format does VisitDate come in? If it does come in as YYYYMMDD, then what you are using looks right except for the single quote around the field name. I would either use double quotes or square brackets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(Date#(VisitDate, 'YYYYMMDD'), 'YYYYMM') as &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;[&lt;/SPAN&gt;VisitYear Month&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;]&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;I guess it doesn't matter, single quotes seems to work as well. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976528#M643661</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-22T21:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976529#M643662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply!&amp;nbsp; OK, I changed the line to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;Date(Date#(VisitDate, 'MM/DD/YYYY'), 'YYYYMM') as ['Visit Year Month]',&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The format in Access is MM/DD/YYYY.&amp;nbsp; I'm still not getting any results.&amp;nbsp; Is there something else that could be the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976529#M643662</guid>
      <dc:creator />
      <dc:date>2015-12-22T21:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976530#M643663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think single quotes seems to work, but have square bracket or single quotes (not both). Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(Date#(VisitDate, 'MM/DD/YYYY'), 'YYYYMM') as [Visit Year Month],&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 19.5px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976530#M643663</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-22T21:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976531#M643664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is already coming in as a data type "Date" you won't need the Date#. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(MonthStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VisitDate&lt;/SPAN&gt;), 'YYYYMM') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Visit Year Month],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976531#M643664</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-12-22T21:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access load datetime field as YYYYMM</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976532#M643665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked!&amp;nbsp; I think the fact that the field is already DateTime must somehow play into the syntax choice.&amp;nbsp; (I'm a total newbie, so take that for what it's worth!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both very very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-load-datetime-field-as-YYYYMM/m-p/976532#M643665</guid>
      <dc:creator />
      <dc:date>2015-12-22T21:46:10Z</dc:date>
    </item>
  </channel>
</rss>

