<?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: Aligning Date formats in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839495#M470642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;So I have in my load script..&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my fact table: Date(DateOfSale,YYYYMMDD) as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my Calendar: DateID as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;But for some reason its not populating the Calendar Table with my SaleDate Dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 08:35:20 GMT</pubDate>
    <dc:creator>chiso_chiso</dc:creator>
    <dc:date>2015-05-12T08:35:20Z</dc:date>
    <item>
      <title>Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839492#M470639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurus,&lt;/P&gt;&lt;P&gt;I have a date in my fact table and a date qvd which I want to use for my calendar in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date in my &lt;SPAN style="font-size: 13.3333330154419px;"&gt;fact table &lt;/SPAN&gt;is DateOfSale (Date format numeric i.e. 42087.327071759). The DateID field (YYYYMMDD) in the qvd is one I want to use but there is another field called DateStamp (DD/MM/YYYY hh:mm:ss).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help to align the two so that I can populate the qvd using the DateOfSale dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Harrison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839492#M470639</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839493#M470640</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;I think you can change the format of date required based on requirement. Better to keep the same data format inside your qvw. for example&amp;nbsp; while loading the data from .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839493#M470640</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-05-12T07:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839494#M470641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use date() function to change the format during the store in your qvd:&lt;/P&gt;&lt;P&gt;=date(42087.327071759, 'YYYYMMDD')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=date(42087.327071759, 'DD/MM/YYYY hh:mm:ss')&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839494#M470641</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-05-12T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839495#M470642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;So I have in my load script..&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my fact table: Date(DateOfSale,YYYYMMDD) as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my Calendar: DateID as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;But for some reason its not populating the Calendar Table with my SaleDate Dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839495#M470642</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839496#M470643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my fact table: Date(DateOfSale,'YYYYMMDD')as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;In my Calendar: Date(DateID,'YYYYMMDD') as SaleDate&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839496#M470643</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-05-12T08:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839497#M470644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date() simply changes the display format. The dates will align on the numeric portion which is unaffected by the formatting instruction, and if they are coming from different sources, the dates may miss aligning due to minor differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do both dates have a time portion? And are the time portions significant? If not, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;DateOfSale)) As SaleDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;DateID)) As SalesDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the time is meaningful, then try rounding both dates to the nearest hour (or minute or second):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Round(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;DateOfSale, 1/24)) As SaleDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Round(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;DateOfSale, 1/24/60)) As SaleDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Round(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;DateOfSale, 1/24/60/60)) As SaleDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;Here Date() is just returning the date formatted as a date rather than as a number&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839497#M470644</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-12T08:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839498#M470645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture45.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86263_Capture45.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This is what my three fields look like now. I now want to link DateID to the other 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839498#M470645</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T08:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839499#M470646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture46.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86267_Capture46.PNG" style="height: 241px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Now I have Sales_Date in both Calendar and Fact but Calendar is not populating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839499#M470646</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T08:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839500#M470647</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;In fact table: Date(Date#(Floor(DateOfSale)))as SaleDate&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;In Calendar: Date(Date#(DateID,'YYYYMMDD')) as SaleDate&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: Tahoma; color: #000000;"&gt;Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839500#M470647</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-12T09:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839501#M470648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture47.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86268_Capture47.PNG" style="height: 315px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;For some reason the DateOfSale and the SaleDate are not talking to each other. I am sure thats the missing portion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839501#M470648</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839502#M470649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason I have,&lt;/P&gt;&lt;P&gt;In Fact Load: Date(Floor(DateOfSale)) As SaleDate&lt;/P&gt;&lt;P&gt;In Calendar Load: Date(Date#(DateID,'YYYYMMDD')) as SaleDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it has worked.. &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aligning-Date-formats/m-p/839502#M470649</guid>
      <dc:creator>chiso_chiso</dc:creator>
      <dc:date>2015-05-12T09:37:22Z</dc:date>
    </item>
  </channel>
</rss>

