<?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: Date field formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456966#M701321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/sivarajs" id="jive-649202471616380878128"&gt;Sivaraj Seeman&lt;/A&gt; I just tried that and that didn't work also&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;@&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/whiteline" id="jive-423012471616385617611"&gt;whiteline&lt;/A&gt; I simply want to use the numbers as date however i have already tried these date functions @&lt;SPAN class="jive-author-avatar-container"&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mby" id="jive-176332471616390267658"&gt;Miguel Angel Baeyens&lt;/A&gt; suggested and yet no luck&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;Could it be the way the data was captured, and is there any other date function(s) i can try? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2012 12:08:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-01T12:08:42Z</dc:date>
    <item>
      <title>Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456962#M701317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG height="352" src="https://community.qlik.com/message/264722/" width="108" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to align all the records in this date field to the left.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 11:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456962#M701317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-01T11:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456963#M701318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto chart properties--&amp;gt; Presentation tab --&amp;gt; Change Alignment Numbers to left&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 11:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456963#M701318</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-10-01T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456964#M701319</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 seems that your&amp;nbsp; [Expiry date] field contains number and string values.&lt;/P&gt;&lt;P&gt;By default strings are aligned to the left while numbers to the right.&lt;/P&gt;&lt;P&gt;I suggest to deside witch type of values you&amp;nbsp; need and convert them correspondingly, instead of just changing the view alignment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 11:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456964#M701319</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-01T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456965#M701320</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;One solution is as Sivaraj suggests above. However, if QlikView detects a number as a date, it aligns to the right (according to its numeric value). If it understands the value as a string instead, then it will be aligned to the left, by default. If you operate those dates, it's likely you will not get correct results, as you have both numeric and literal values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to do it is to change the LOAD statement in your script and set all date fields to have the same format, using the Date() and Date#() functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 11:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456965#M701320</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-01T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456966#M701321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/sivarajs" id="jive-649202471616380878128"&gt;Sivaraj Seeman&lt;/A&gt; I just tried that and that didn't work also&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;@&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/whiteline" id="jive-423012471616385617611"&gt;whiteline&lt;/A&gt; I simply want to use the numbers as date however i have already tried these date functions @&lt;SPAN class="jive-author-avatar-container"&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mby" id="jive-176332471616390267658"&gt;Miguel Angel Baeyens&lt;/A&gt; suggested and yet no luck&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;&lt;/P&gt;&lt;P class="jive-username-link-wrapper"&gt;Could it be the way the data was captured, and is there any other date function(s) i can try? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456966#M701321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-01T12:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456967#M701322</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;Sure there is a way to pull data in the correct way, but not knowing how the values are in the source, it's difficult to set an example. Using either Date() or Date#() will do, as it does in most cases. Anyway, post a couple of sample lines here so we can help further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456967#M701322</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-01T12:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456968#M701323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://community.qlik.com/people/mby" id="jive-176332473208290639090"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt change the field name in the chart all along, it's now aligned to the right as date format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456968#M701323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-01T12:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456969#M701324</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 strange that you have both numbers and strings. It seems that you LOAD&amp;nbsp; this field into more than one table. So in one case you've converted them properly unlike the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the other hand the source contains dates in different formats and you didn't use alt() function to handle all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could post all LOAD statements where [Expiry date] is contained.&lt;/P&gt;&lt;P&gt;And an example of your source data would also be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 05:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-formatting/m-p/456969#M701324</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-02T05:06:35Z</dc:date>
    </item>
  </channel>
</rss>

