<?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: KPI with MTD  and PMTD. in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570011#M13293</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;So for this problem, you need a variable with the max date and ignore the date fields that can be selected.&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See exemples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MTD - (04-01 / 04-15)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MTD.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10315iE906EA70D4217C3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="MTD.PNG" alt="MTD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PMTD - (03-01 / 03-15)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PMTD.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10316iAC6F7CE42A8D44EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="PMTD.PNG" alt="PMTD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 13:37:04 GMT</pubDate>
    <dc:creator>OtavioCLP</dc:creator>
    <dc:date>2019-04-16T13:37:04Z</dc:date>
    <item>
      <title>KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569680#M13273</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done MTD and PMTD in a KPI. The issue here is for an example i have data from 03-01-2019 to 04-15-2019.&amp;nbsp; I would like to see under MTD the data should be visible with the dates of 04-01-2019 to 04-15-2019.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In PMTD i would like to see 03-01-2019 to 03-15-2019 data. which means if MTD has data of 15 days the same 15 days data of previous month needs to be visible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do help me out with the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 23:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569680#M13273</guid>
      <dc:creator>aamaninanneboin</dc:creator>
      <dc:date>2019-04-15T23:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569708#M13274</link>
      <description>&lt;P&gt;May be this way -&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Date-Level-Analysis-WTD-MTD-QTD-YTD-Current-Year-Previous-Year/ta-p/1495515" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Date-Level-Analysis-WTD-MTD-QTD-YTD-Current-Year-Previous-Year/ta-p/1495515&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 01:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569708#M13274</guid>
      <dc:creator>saminea_ANZ</dc:creator>
      <dc:date>2019-04-16T01:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569729#M13275</link>
      <description>&lt;P&gt;Use these expressions :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MTD =MonthStart(Today()) // 1 Apr 19&lt;BR /&gt;PMTD = AddMonths(MonthStart(Today()),-1) // 1 Mar 19  , =AddMonths(Today(),-1) // 15 Mar 19
Today = today() // 15 Apr 19&lt;/PRE&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 04:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569729#M13275</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-04-16T04:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569979#M13291</link>
      <description>&lt;P&gt;Thank You Shubham for your reply!&lt;/P&gt;&lt;P&gt;My need is not exactly April 1 and 15.&amp;nbsp; In MTD it needs to calculate data from April 1st to today's&amp;nbsp; data and in the same in PMTD also that needs to be done like March 1st to March 16th.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If MTD is giving 20 days of data then, PMTD also needs to give me last month 20 days of data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written an expression but that is just giving me MTD data till the data and PMTD full month data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;MTD-&amp;nbsp;sum({&amp;lt;MONTH={$(=(MAX(MONTH)))}&amp;gt;}[Unique Visitors])&lt;/P&gt;&lt;P&gt;PMTD:&amp;nbsp;SUM({&amp;lt;MONTH={$(=Month(AddMonths(Max(MONTH),-1)))}&amp;gt;}[Unique Visitors])&lt;/P&gt;&lt;P&gt;I am getting output in April month dates from 04-01 to 04-015 and in PMTD 03-01 to 03-31.&amp;nbsp; But i need is if in April month if i have data of 15 days then in March also the same 15 days data needs to be visible. if MTD has 7 days of data then PMTD also needs to be visible only 7 days of data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out, how to write an expression for that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aamani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 12:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1569979#M13291</guid>
      <dc:creator>aamaninanneboin</dc:creator>
      <dc:date>2019-04-16T12:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570011#M13293</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;So for this problem, you need a variable with the max date and ignore the date fields that can be selected.&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See exemples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MTD - (04-01 / 04-15)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MTD.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10315iE906EA70D4217C3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="MTD.PNG" alt="MTD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PMTD - (03-01 / 03-15)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PMTD.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10316iAC6F7CE42A8D44EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="PMTD.PNG" alt="PMTD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 13:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570011#M13293</guid>
      <dc:creator>OtavioCLP</dc:creator>
      <dc:date>2019-04-16T13:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570101#M13296</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;I have tried your expression, it is giving me the date if i create a variable but not in set analysis expression and not sure where i am missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;VDATE&amp;nbsp; =Monthstart((VMONTH),-1)&amp;nbsp; (OUTPUT = 03/01/2019)&lt;/P&gt;&lt;P&gt;VDATE1&amp;nbsp; =Date(ADDMONTHS((VMONTH),-1)) (OUTPUT = 03/15/2019)&lt;/P&gt;&lt;P&gt;and my VMONTH expression is Max(MONTH)&lt;/P&gt;&lt;P&gt;my set analysis expression is&amp;nbsp;(sum({&amp;lt;$ [Month-Qlik Dates] ={&amp;gt;=$(=VDATE)&amp;lt;=$(=VDATE1)}&amp;gt;}[Unique Visitors])).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not getting the output. Please do help me out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570101#M13296</guid>
      <dc:creator>aamaninanneboin</dc:creator>
      <dc:date>2019-04-16T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPI with MTD  and PMTD.</title>
      <link>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570150#M13300</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• VMONTH = Max(MONTH)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date=,Month=,Year=,Date={"&amp;gt;=$(=&lt;SPAN&gt;Monthstart($(VMONTH),-1)&lt;/SPAN&gt;)&amp;lt;=$(=&lt;SPAN&gt;D&lt;/SPAN&gt;ate(ADDMONTHS($(VMONTH),-1))&lt;SPAN&gt;)"}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN&gt;[Unique Visitors] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 20:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/KPI-with-MTD-and-PMTD/m-p/1570150#M13300</guid>
      <dc:creator>OtavioCLP</dc:creator>
      <dc:date>2019-04-16T20:10:35Z</dc:date>
    </item>
  </channel>
</rss>

