<?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: Financial Period calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027475#M635906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My issue is more subtracting 201511 from 201601 for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 13:02:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-13T13:02:10Z</dc:date>
    <item>
      <title>Financial Period calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027474#M635905</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 have a table which I am importing with data linked to Financial period&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Account&amp;nbsp;&amp;nbsp;&amp;nbsp; LastReconPeriod&amp;nbsp; ReconType&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201511&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Full&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201511&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Current Financial Period is say 201601&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Recon Type is Full the ReconPeriod remains the LastReconPeriod&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If Recon Type is Part the ReconPeriod is the LastReconPeriod -1 20 it is 201510&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I need to give them a column with colour Green in the LastReconPeriod is the Current Period - 1, Orange if it is CurrentPeriod - 2, red if its CurrentPeriod -3 or more so for Account 1 the column is Orange, but Account 2 it would be red as the actual value is 201510 as it is only Partly Reconned&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any suggestions&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027474#M635905</guid>
      <dc:creator />
      <dc:date>2016-04-13T13:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Period calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027475#M635906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My issue is more subtracting 201511 from 201601 for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027475#M635906</guid>
      <dc:creator />
      <dc:date>2016-04-13T13:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Period calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027476#M635907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you convert the periods into date values or a numeric month sequence number, then the calculations are much easier. So during the initial load, load them something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LastReconPeriod&lt;/SPAN&gt;,4)*12) + Num(Right(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LastReconPeriod&lt;/SPAN&gt;,2)) as LastPeriodSequence,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If the current period is defined in a similar way (lets call the value &lt;SPAN style="font-size: 13.3333px;"&gt;CurrentPeriodSequence)&lt;/SPAN&gt;, then the colour expression becomes simply:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(CurrentPeriodSequence - LastPeriodSequence - If(ReconType = 'Full', 0, 1) = 1, Green(),&lt;/P&gt;&lt;P&gt;If(CurrentPeriodSequence - LastPeriodSequence - If(ReconType = 'Full', 0, 1) = 2, Orange(), Red()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027476#M635907</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-04-13T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Period calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027477#M635908</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;Here you have a link &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt; to a blog above dealing with dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want customize some cell formats this &lt;A href="https://community.qlikview.com/thread/203759" title="https://community.qlikview.com/thread/203759"&gt;What is possible with calculated expressions in... | Qlik Community&lt;/A&gt; explains some tricks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 14:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-Period-calculations/m-p/1027477#M635908</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2016-04-13T14:26:01Z</dc:date>
    </item>
  </channel>
</rss>

