<?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: fiscal year current month calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/fiscal-year-current-month-calculation/m-p/115593#M1292562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your query is little confusing, as per my understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD means month to date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;example suppose if the user select today date 11/Sep/2018 means&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;it will aggregate the data from 1/Sep/2018 to 11/sep/2018.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;this is called MTD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your query first para says &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So 1/1/2018 is actually 1/July 2017 how jan data become July&amp;nbsp; month last year data?&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;pls answer&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;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;do you want to calcualte MTD means &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you can use below expression and refer the link to have clear understanding of MTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Year=, Month=, Quarter=, Week=, DateField=, DateNum={"&amp;gt;=$(=Num(MonthStart(Max(DateNum))))&amp;lt;=$(=Max(DateNum))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As per last para of your query&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;suppose if the user select future date means your MTD shd show 0?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pls answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2018 12:10:05 GMT</pubDate>
    <dc:creator>manoranjan_d</dc:creator>
    <dc:date>2018-09-11T12:10:05Z</dc:date>
    <item>
      <title>fiscal year current month calculation</title>
      <link>https://community.qlik.com/t5/QlikView/fiscal-year-current-month-calculation/m-p/115592#M1292560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help with set analysis.&lt;/P&gt;&lt;P&gt;I have the sample data below and the date are actually in fiscal year format already which is how the data comes in every month. So 1/1/2018 is actually 1/July 2017&amp;nbsp; because the fiscal year start july to june. We have the budget data as you can see which go beyond current month (september). I have attached the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how to can calculate MTD Amount in set analysis based on this data considering we are in setember but the budget goes beyond current month.&lt;/P&gt;&lt;P&gt;how to get the MTD for last year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to be dynamic so that if the user selects a data like 1/11/2018 then the MTD Amount is 0 and the MTD Last Year is 13333 . When no selectin is on then the MTD Amount is 25500 and MTD ast year is&amp;nbsp; 13200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my requirement is clear otherwise please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fiscal-year-current-month-calculation/m-p/115592#M1292560</guid>
      <dc:creator>ericdelaqua</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: fiscal year current month calculation</title>
      <link>https://community.qlik.com/t5/QlikView/fiscal-year-current-month-calculation/m-p/115593#M1292562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your query is little confusing, as per my understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD means month to date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;example suppose if the user select today date 11/Sep/2018 means&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;it will aggregate the data from 1/Sep/2018 to 11/sep/2018.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;this is called MTD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your query first para says &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So 1/1/2018 is actually 1/July 2017 how jan data become July&amp;nbsp; month last year data?&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;pls answer&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;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;do you want to calcualte MTD means &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you can use below expression and refer the link to have clear understanding of MTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Year=, Month=, Quarter=, Week=, DateField=, DateNum={"&amp;gt;=$(=Num(MonthStart(Max(DateNum))))&amp;lt;=$(=Max(DateNum))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As per last para of your query&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;suppose if the user select future date means your MTD shd show 0?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pls answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 12:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/fiscal-year-current-month-calculation/m-p/115593#M1292562</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2018-09-11T12:10:05Z</dc:date>
    </item>
  </channel>
</rss>

