<?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: Master Calendar (Year issue) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107382#M16859</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've modified the script as mentioned and started working on the application, unfortunately, after scripting the master calendar script, instead of 30 or 31 days per month, i'm getting 100 or 99 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the application with the details. This is a test case scenario and not the actual application.&lt;/P&gt;&lt;P&gt;Any ideas in resolving the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script used for master calendar is taken from Michael Tarallo's post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jobson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 05:26:36 GMT</pubDate>
    <dc:creator>jobsonkjoseph</dc:creator>
    <dc:date>2018-10-18T05:26:36Z</dc:date>
    <item>
      <title>Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107377#M16854</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 received data in excel format, the Date field ([Bill Date]) is in the format (20170101).&lt;/P&gt;&lt;P&gt;I'm creating a master calendar for getting the missing dates. When i use the particular expression in script editor,&lt;/P&gt;&lt;P&gt;Year([Bill Date]) as Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my output is&lt;IMG alt="year.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215978_year.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm not able to see any option to convert them into actual years like 2007 or 2017.&lt;/P&gt;&lt;P&gt;Any ideas would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jobson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 06:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107377#M16854</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-10-16T06:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107378#M16855</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;the issue doesn't lie with Year() returning a wrong value that has to be corrected but instead with your initial load of&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;20170101 as &lt;/SPAN&gt;[Bill Date].&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;Instead of creating a correct date value, i.e. a numerical value of 42736 with a text representation of e.g. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;20170101, you just loaded the integer &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;20170101. &lt;/SPAN&gt;&lt;/SPAN&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;Year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;20170101&lt;/SPAN&gt;) then returns the Year of the date &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;11/10/57123 &lt;/SPAN&gt;having a numerical value of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;20170101.&lt;/SPAN&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;One solution to load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as a proper date should be:&lt;/SPAN&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;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15397195656342242" jivemacro_uid="_15397195656342242"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Bill Date],'YYYYMMDD') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;/SPAN&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;FROM YourExcel&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&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;Hope this makes any sense&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;regards&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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 19:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107378#M16855</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-10-16T19:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107379#M16856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;As mentioned by you, i've modified the script, still to i'm getting the same output.&lt;/P&gt;&lt;P&gt;I'm attaching the screenshot for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls do correct me of any mistakes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 06:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107379#M16856</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-10-17T06:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107380#M16857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little correction to your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Year(Date#([Bill Date], 'YYYYMMDD')) as Year&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Month(Date#([Bill Date], 'YYYYMMDD')) as Month&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 06:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107380#M16857</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2018-10-17T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107381#M16858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mindaugus, it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 06:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107381#M16858</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-10-17T06:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107382#M16859</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've modified the script as mentioned and started working on the application, unfortunately, after scripting the master calendar script, instead of 30 or 31 days per month, i'm getting 100 or 99 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the application with the details. This is a test case scenario and not the actual application.&lt;/P&gt;&lt;P&gt;Any ideas in resolving the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script used for master calendar is taken from Michael Tarallo's post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jobson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 05:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107382#M16859</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-10-18T05:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107383#M16860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May want to start a new discussion because you marked this one as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have more than 30 days because the day number is messed up. If your source is 20010166, what date does that actually represent? Presumably &lt;EM&gt;not&lt;/EM&gt; day 66 of month 1 of 2001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 05:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107383#M16860</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-10-18T05:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar (Year issue)</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107384#M16861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started a new discussion below is the link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1560304#1560304" title="https://community.qlik.com/message/1560304#1560304"&gt;https://community.qlik.com/message/1560304#1560304&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 06:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-Year-issue/m-p/107384#M16861</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-10-18T06:01:41Z</dc:date>
    </item>
  </channel>
</rss>

