<?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 format in number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273354#M461679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date(TempDate) As CalendarDate,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 12:06:14 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2016-12-16T12:06:14Z</dc:date>
    <item>
      <title>Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273351#M461676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&amp;nbsp; This is a easy question:&lt;/P&gt;&lt;P&gt;This is an extract of my MasterCalendar:&lt;/P&gt;&lt;P&gt;MasterCalendar: &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt; TempDate As CalendarDate,&lt;/P&gt;&lt;P&gt; MonthEnd(TempDate) As ReportingDate,&lt;/P&gt;&lt;P&gt; week(TempDate) As CalendarWeek, &lt;/P&gt;&lt;P&gt; WeekDay(TempDate) as CalendarWeekDay,&lt;/P&gt;&lt;P&gt; weekstart(TempDate) As CalendarWeekStart, &lt;/P&gt;&lt;P&gt; Year(TempDate) As CalendarYear, &lt;/P&gt;&lt;P&gt; Month(TempDate) As CalendarMonth, &lt;/P&gt;&lt;P&gt; MonthName(TempDate) As CalendarMonthYear,&lt;/P&gt;&lt;P&gt; Day(TempDate) As CalendarDay, &lt;/P&gt;&lt;P&gt; 'Q' &amp;amp; ceil(month(TempDate) / 3) As CalendarQuarter,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273351#M461676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T12:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273352#M461677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry&amp;nbsp; I've forgotten to&amp;nbsp; post the&amp;nbsp; question is : Why do I get the ReportingDate as a number and the Others as Dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273352#M461677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T12:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273353#M461678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and your question is????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273353#M461678</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-12-16T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273354#M461679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date(TempDate) As CalendarDate,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273354#M461679</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-12-16T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273355#M461680</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;While creating qvd qlik engine convert value into numeber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you want to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ReportingDate &lt;/SPAN&gt;in date format use date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ReportingDate&lt;/SPAN&gt;) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ReportingDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273355#M461680</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-12-16T12:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273356#M461681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't find ReportingDate field from your posting. Can you send full code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(ReportingDate,'&lt;STRONG&gt;YourDateFormatHere&lt;/STRONG&gt;'),'&lt;STRONG style="font-size: 13.3333px;"&gt;YourRequiredFormatHere&lt;/STRONG&gt;') as ReportingDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Num(ReportingDate),'&lt;STRONG style="font-size: 13.3333px;"&gt;YourRequiredFormatHere&lt;/STRONG&gt;') as &lt;SPAN style="font-size: 13.3333px;"&gt;ReportingDate&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273356#M461681</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-16T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273357#M461682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date(MonthEnd(TempDate)) As ReportingDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273357#M461682</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-12-16T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273358#M461683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but Why the other date fields were not converted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I indicate ReportingDate as a date(ReportingDate) the engine insists in indicate it as a "Number" date format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273358#M461683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T12:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273359#M461684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the hole code: &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt; TempDate As CalendarDate,&lt;/P&gt;&lt;P&gt; date(MonthEnd(TempDate)) As ReportingDate,&lt;/P&gt;&lt;P&gt; week(TempDate) As CalendarWeek, &lt;/P&gt;&lt;P&gt; WeekDay(TempDate) as CalendarWeekDay,&lt;/P&gt;&lt;P&gt; weekstart(TempDate) As CalendarWeekStart, &lt;/P&gt;&lt;P&gt; Year(TempDate) As CalendarYear, &lt;/P&gt;&lt;P&gt; Month(TempDate) As CalendarMonth, &lt;/P&gt;&lt;P&gt; MonthName(TempDate) As CalendarMonthYear,&lt;/P&gt;&lt;P&gt; Day(TempDate) As CalendarDay, &lt;/P&gt;&lt;P&gt; 'Q' &amp;amp; ceil(month(TempDate) / 3) As CalendarQuarter,&lt;/P&gt;&lt;P&gt; Num(Month(TempDate)) as CalendarPeriod,&lt;/P&gt;&lt;P&gt; IF(TempDate&amp;gt;=addmonths(Date(Today()-Day(Today())+1),-12),1,0) as Rolling12MonthsFlag,&lt;/P&gt;&lt;P&gt; if(InYearToDate (TempDate, weekstart(today())-1, 0),1,0) as [Calendar YTD TY],&amp;nbsp; // All Dates to Date this Year&lt;/P&gt;&lt;P&gt; if(InYearToDate (TempDate, weekstart(today())-1, -1),1,0) as [Calendar YTD PY],&amp;nbsp; // All Dates to Date Last Year&lt;/P&gt;&lt;P&gt; if(InWeekToDate (TempDate, weekstart(today())-1, 0),1,0) as [Calendar WTD TY], // All Dates to Date this Week this Year&lt;/P&gt;&lt;P&gt; if(InWeekToDate (TempDate, weekstart(today()-7)-1, 0),1,0) as [Calendar Last WTD TY], // All Dates to Date Last Week this Year&lt;/P&gt;&lt;P&gt; if(InMonthToDate(TempDate, (today())-1, 0),1,0) as [Calendar MTD TY], // All Dates to Date this Year&lt;/P&gt;&lt;P&gt; if(InYear (TempDate, weekstart(today())-1, -1),1,0) as [Calendar FY PY], // All Dates Last Year&lt;/P&gt;&lt;P&gt; if(InYear (TempDate, weekstart(today())-1, 0),1,0) as [Calendar FY TY] // All Dates This Year&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//=== Generate a temp table of dates === &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt; date(mindate + IterNo()) AS TempDate&lt;/P&gt;&lt;P&gt; ,maxdate // Used in InYearToDate() above, but not kept &lt;/P&gt;&lt;P&gt;WHILE mindate + IterNo() &amp;lt;= maxdate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//=== Get min/max dates from Field ===/&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; Num('$(vCalendar_Start_Date)') + IterNo() as mindate,&lt;/P&gt;&lt;P&gt; Num(MonthEnd(Today())) as maxdate&lt;/P&gt;&lt;P&gt;AutoGenerate 1 &lt;/P&gt;&lt;P&gt;While IterNo() &amp;lt;= $(vCalendar_Number_Days_Between_Dates);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the snapshot of the table as is loaded (just the Reporting Date is in numbers)&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146868_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273359#M461684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T12:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273360#M461685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this part, I've changed from num to simple date. Now you can check whether it willl or won't&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//=== Get min/max dates from Field ===/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;('$(vCalendar_Start_Date)') + IterNo() as mindate,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthEnd(Today())) as maxdate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AutoGenerate 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While IterNo() &amp;lt;= $(vCalendar_Number_Days_Between_Dates);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273360#M461685</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-16T12:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273361#M461686</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 guess you might have changed the document standard format of the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ReportingDate field.&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;BR /&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;Check in Settings/Document Properties/Number tab.&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;BR /&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;hope this helps&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;BR /&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;regards&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;BR /&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;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 23:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-in-number/m-p/1273361#M461686</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-12-16T23:22:12Z</dc:date>
    </item>
  </channel>
</rss>

