<?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: Derived Calendar with Fiscal Year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218733#M23618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I did get another proof of concept to work for fiscal year.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Derived FY.png" class="jive-image image-1" src="/legacyfs/online/157287_Qlik Derived FY.png" style="height: 159px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I expect that this could be extended to include quarters, months etc and that the the fixed start month could be changed to a DECLARE parameter but I have not gotten to that yet. Loading from Data Load Manager worked but I didn't immediately notice that it had since I expected Fiscal Year to show up in the table view there which it does not. But in the sheet editor, if you open the fields section on the left assets panel, it appears as a subfield of Action Taken Date.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Assets Panel.png" class="jive-image image-2" src="/legacyfs/online/157288_Qlik Assets Panel.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2017 14:55:28 GMT</pubDate>
    <dc:creator>kenneth_morris</dc:creator>
    <dc:date>2017-03-23T14:55:28Z</dc:date>
    <item>
      <title>Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218729#M23614</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;in case of a date field is loaded into the data model Qlik Sense automatically creates a script to derive some calendar date fields, which can also be used for the contious timeline in the line chart.&lt;/P&gt;&lt;P&gt;This is the generated code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14851953568497365 jive_text_macro" jivemacro_uid="_14851953568497365" modifiedtitle="true"&gt;
&lt;P&gt;[autoCalendar]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DECLARE FIELD DEFINITION Tagged ('$date')&lt;/P&gt;
&lt;P&gt;FIELDS&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual(Year($1), YearStart($1)) AS [Year] Tagged ('$axis', '$year'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),Num(Ceil(NUM(Month($1))/3),00)) AS [Quarter] Tagged ('$quarter', '$cyclic'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual(Year($1)&amp;amp;'-Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [YearQuarter] Tagged ('$yearquarter', '$qualified'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [_YearQuarter] Tagged ('$yearquarter', '$hidden', '$simplified'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Month($1) AS [Month] Tagged ('$month', '$cyclic'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual(Year($1)&amp;amp;'-'&amp;amp;Month($1), monthstart($1)) AS [YearMonth] Tagged ('$axis', '$yearmonth', '$qualified'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual(Month($1), monthstart($1)) AS [_YearMonth] Tagged ('$axis', '$yearmonth', '$simplified', '$hidden'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dual('W'&amp;amp;Num(Week($1),00), Num(Week($1),00)) AS [Week] Tagged ('$weeknumber', '$cyclic'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(Floor($1)) AS [Date] Tagged ('$axis', '$date', '$qualified'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(Floor($1), 'D') AS [_Date] Tagged ('$axis', '$date', '$hidden', '$simplified');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DERIVE FIELDS FROM FIELDS [Sales Order Date], [Sales Ship Date], [Sales Close Date] USING [autoCalendar] ;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I´ve also to provide the following fiscal year fields &lt;SPAN style="font-size: 13.3333px;"&gt;additionally &lt;/SPAN&gt;(FY = Fiscal Year):&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- FY Year&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- FY Quarter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- FY YearQuarter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- FY Month (sorted beginning with first month of the fiscal year)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- FY YearMonth&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;How must the script look like to derive the fields including support of the the line chart with the continous timeline to zoom in and out.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for your help!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218729#M23614</guid>
      <dc:creator>thkarner</dc:creator>
      <dc:date>2017-01-23T18:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218730#M23615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody who can help with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218730#M23615</guid>
      <dc:creator>thkarner</dc:creator>
      <dc:date>2017-01-27T10:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218731#M23616</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;Did you ever make any headway finding a good solution to this? I've been trying to to do something very similar using declare/derive. While I've gotten parts to work, the date functions don't return the expected values for every row and I've been trying to determine if I have done something wrong, there is a bug or what. I've posted also without much useful response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken Morris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 15:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218731#M23616</guid>
      <dc:creator>kenneth_morris</dc:creator>
      <dc:date>2017-02-27T15:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218732#M23617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone figures this out it would be great! I would much rather be able to use the derived fields rather than copying and pasting a master calendar for each date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 13:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218732#M23617</guid>
      <dc:creator>kusterere</dc:creator>
      <dc:date>2017-03-23T13:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218733#M23618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I did get another proof of concept to work for fiscal year.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Derived FY.png" class="jive-image image-1" src="/legacyfs/online/157287_Qlik Derived FY.png" style="height: 159px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I expect that this could be extended to include quarters, months etc and that the the fixed start month could be changed to a DECLARE parameter but I have not gotten to that yet. Loading from Data Load Manager worked but I didn't immediately notice that it had since I expected Fiscal Year to show up in the table view there which it does not. But in the sheet editor, if you open the fields section on the left assets panel, it appears as a subfield of Action Taken Date.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Assets Panel.png" class="jive-image image-2" src="/legacyfs/online/157288_Qlik Assets Panel.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218733#M23618</guid>
      <dc:creator>kenneth_morris</dc:creator>
      <dc:date>2017-03-23T14:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Derived Calendar with Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218734#M23619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I did some intensive research on this topic connected also with the time-aware charts.&lt;/P&gt;&lt;P&gt;My findings could be found at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-18299"&gt;Derived Calendar Fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Derived-Calendar-with-Fiscal-Year/m-p/1218734#M23619</guid>
      <dc:creator>thkarner</dc:creator>
      <dc:date>2017-03-31T15:47:37Z</dc:date>
    </item>
  </channel>
</rss>

