<?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: Calculate Fiscal YTD , QTD &amp;amp; max month data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-Fiscal-YTD-QTD-amp-max-month-data/m-p/2499875#M103044</link>
    <description>&lt;P&gt;It shouldn't be done within the UI else all period-information belong into (n) calendars and especially if not regular calendar-views are needed, like the fiscal ones - it's much easier to define the wanted logic once in a calendar as doing it n times in various versions within the UI.&lt;/P&gt;
&lt;P&gt;And this not only for the normal year/month/week information else all kinds of YTD/MTD which could be created there as flags - the general logic remains the same as within the normal calendar just considering the appropriate offset.&lt;/P&gt;
&lt;P&gt;Here an example how you may start with the matter:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Fiscal-Year/ba-p/1472103" target="_blank"&gt;Fiscal Year - Qlik Community - 1472103&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 12:26:06 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-01-03T12:26:06Z</dc:date>
    <item>
      <title>Calculate Fiscal YTD , QTD &amp; max month data</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-Fiscal-YTD-QTD-amp-max-month-data/m-p/2499871#M103041</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;
&lt;P&gt;I have below data set :-&lt;/P&gt;
&lt;TABLE width="157"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="157"&gt;Friday_Date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2024-03-29 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2024-03-22 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE width="157"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="157"&gt;2024-10-25 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2024-10-18 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2024-10-11 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2024-10-04 00:00:00.000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is just a sample data set where my dates are starting from march 2024 and ending at Oct 24. I am trying to calculate YTD , QTD for using above dates. For YTD , I tried below expression :-=Count({&amp;lt;Date={"&amp;gt;=$(=YearStart(max(Friday_Date),0,4))&amp;lt;$(= addyears(max(Friday_Date), 0))"},vehicle_assigned_ind={'Y'},FUEL_TYPE={'Electric'}&amp;gt;}REGISTRATION)&lt;/P&gt;
&lt;P&gt;But this expression is including the dates for March month as well but I want to calculate QTD , YTD for fiscal year. This&amp;nbsp;Friday_Date feild is linked with master calendar Field (Date) and when in my calendar the max date will go till till 2031 that is why I am taking this Friday_Date feild in the set expression in order to show the data as per my data set . Can anyone please help me ? How should I create the fiscal YTD , QTD , and max month KPI values ?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 11:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-Fiscal-YTD-QTD-amp-max-month-data/m-p/2499871#M103041</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2025-01-03T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Fiscal YTD , QTD &amp; max month data</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-Fiscal-YTD-QTD-amp-max-month-data/m-p/2499875#M103044</link>
      <description>&lt;P&gt;It shouldn't be done within the UI else all period-information belong into (n) calendars and especially if not regular calendar-views are needed, like the fiscal ones - it's much easier to define the wanted logic once in a calendar as doing it n times in various versions within the UI.&lt;/P&gt;
&lt;P&gt;And this not only for the normal year/month/week information else all kinds of YTD/MTD which could be created there as flags - the general logic remains the same as within the normal calendar just considering the appropriate offset.&lt;/P&gt;
&lt;P&gt;Here an example how you may start with the matter:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Fiscal-Year/ba-p/1472103" target="_blank"&gt;Fiscal Year - Qlik Community - 1472103&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 12:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-Fiscal-YTD-QTD-amp-max-month-data/m-p/2499875#M103044</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-01-03T12:26:06Z</dc:date>
    </item>
  </channel>
</rss>

