<?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: Previous Years and Next Year Calculation on multiple Year Types in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749669#M721306</link>
    <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Sorry I cant share the qvw as&amp;nbsp; it is Client's confidential data. But just for your info the Calendar that I am using is a already built in routine. I just use it like below. Not sure though whether it helps in any way for the analysis&lt;/P&gt;&lt;P&gt;Call CreateCalendar( '&amp;lt;source_table&amp;gt;', '&amp;lt;source_date&amp;gt;', '&amp;lt;calendar_name&amp;gt;').&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 15:12:58 GMT</pubDate>
    <dc:creator>Ankhi</dc:creator>
    <dc:date>2020-10-05T15:12:58Z</dc:date>
    <item>
      <title>Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749551#M721302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three types of Years in my Master Calendar. The Calendar Year, Fiscal Year and commercial Year.&lt;/P&gt;&lt;P&gt;I have to calculate , previous years actuals, current year actuals , and next year forecast using for Fiscal Year once and then Commercial Year.&lt;/P&gt;&lt;P&gt;I have done the calculations for Fiscal Year. Sample measures I am using for Fiscal Year are below.&lt;/P&gt;&lt;P&gt;Previous Year Calculations:&lt;/P&gt;&lt;P&gt;sum ({$&amp;lt;&lt;BR /&gt;[Cost Status] = {'ACT'},&lt;BR /&gt;Master.FYYear = ,&lt;BR /&gt;Master.Month = ,&lt;BR /&gt;Master.YearNum = {"&amp;lt;=$(=max(Master.YearNum)-1)"},&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;Amount)&lt;/P&gt;&lt;P&gt;Current Year Actual (till the month selected in the month filter)&lt;/P&gt;&lt;P&gt;sum ({$&amp;lt;&lt;BR /&gt;[Cost Status] = {'ACT'},&lt;BR /&gt;Master.Month = ,&lt;BR /&gt;Master.Date = {"&amp;lt;=$(=max(Master.Date))"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;Amount)&lt;/P&gt;&lt;P&gt;Next Year Forecast:&lt;/P&gt;&lt;P&gt;sum ({$&amp;lt;&lt;BR /&gt;[Cost Status] = {'TRC'},&lt;BR /&gt;Master.FYYear = ,&lt;BR /&gt;Master.Month = ,&lt;BR /&gt;Master.Quarter = ,&lt;BR /&gt;Master.YearNum = {"$(=max(Master.YearNum)+1)"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;Amount)&lt;/P&gt;&lt;P&gt;All these above measures are giving correct output for the financial year calculations but for the commercial year only the current year actual is giving&amp;nbsp; correct output and the rest not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have financial&amp;nbsp; year, commercial year and month as list boxes in my report. Was hoping the same measures would also work for commercial year but it is not working.&lt;/P&gt;&lt;P&gt;Can any one please help?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749551#M721302</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2024-11-16T18:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749597#M721303</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114262"&gt;@Ankhi&lt;/a&gt;&amp;nbsp;would you be able to share a sample where we can see this?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 13:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749597#M721303</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-05T13:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749614#M721304</link>
      <description>&lt;P&gt;Hi Sunny,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying. What kind of sample are you exactly looking for ? I have attached some screenshots of the Calendar fields . If I select Fiscal Year FY20 the yearnum gets selected to only 2019, where as if I select Com year FY20, it shows two yearnum&amp;nbsp; 2019/2018.&amp;nbsp; My Fiscal year starts from Jul-Jun and Com year starts from Apr-Mar.&amp;nbsp; &amp;nbsp;I have also attached a front end of my app screenshot showing the measures that I need to calculate.&lt;/P&gt;&lt;P&gt;For fiscal year , I am using Yearnum to calculate the next year and next year+2 and so on calculations.&lt;/P&gt;&lt;P&gt;I was hoping the same should work for Com year also. But it is not. Only the measures Current Fy Actuals and Current FY TRC are working for Comyear.&amp;nbsp; And I am using DATE for that calculation. Please see below.&lt;/P&gt;&lt;P&gt;But the YearNum calculation which I am using to calculate the previous years and next years are not working for Com Year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Current FY Calculation/Actuals/Forecast(TRC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ({$&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Cost Status] = {'ACT'},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Master.Month = ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Master.Date = {"&amp;lt;=$(=max(Master.Date))"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The report needs to show the measure values for two different years, based on what the users select.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 13:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749614#M721304</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-10-05T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749628#M721305</link>
      <description>&lt;P&gt;I was hoping for a qvw or qvf file where I can see your data and play around with it&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 13:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749628#M721305</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-05T13:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749669#M721306</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Sorry I cant share the qvw as&amp;nbsp; it is Client's confidential data. But just for your info the Calendar that I am using is a already built in routine. I just use it like below. Not sure though whether it helps in any way for the analysis&lt;/P&gt;&lt;P&gt;Call CreateCalendar( '&amp;lt;source_table&amp;gt;', '&amp;lt;source_date&amp;gt;', '&amp;lt;calendar_name&amp;gt;').&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 15:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749669#M721306</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-10-05T15:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749670#M721307</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Also any other way I can help you with the analysis?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 15:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749670#M721307</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-10-05T15:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749686#M721308</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114262"&gt;@Ankhi&lt;/a&gt;&amp;nbsp;can you anonymize the data and share it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 15:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1749686#M721308</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-05T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Years and Next Year Calculation on multiple Year Types</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1755040#M721309</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114262"&gt;@Ankhi&lt;/a&gt;&amp;nbsp;You can use the Settings\Document Properties\Scrambling tab to scramble any sensitive fields...&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 15:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Years-and-Next-Year-Calculation-on-multiple-Year-Types/m-p/1755040#M721309</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-22T15:02:27Z</dc:date>
    </item>
  </channel>
</rss>

