<?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: MTD Analysis KPI in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742884#M721212</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2540"&gt;@qlikapple&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried to solve your query in my system. I dint reach to the complete solution. But I created the expressions which will give you the current month when the dashboard is opened and after the selection, it will give you the last month and Last Last Month.&amp;nbsp;I stored these expressions under variables .&lt;/P&gt;&lt;P&gt;Try to work around these expressions. I am trying it too.&lt;/P&gt;&lt;P&gt;vMonth::&amp;nbsp;=if(isnull(GetFieldSelections(Calender_Month_Name)), Month(Now()), GetFieldSelections(Calender_Month_Name))&lt;/P&gt;&lt;P&gt;vLast_Month::&amp;nbsp;=month(AddMonths(makedate(2020,(Num(Month(Date#(vMonth, 'MMMM'))))), -1))&lt;/P&gt;&lt;P&gt;vLast_Last_Month::&amp;nbsp;&amp;nbsp;=month(AddMonths(makedate(2020,(Num(Month(Date#(vMonth, 'MMMM'))))), -2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first variable expression will give you the current month or the month selected from the filter.&lt;/P&gt;&lt;P&gt;Try it out. I will post again if I reach the final solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rushi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 14:42:35 GMT</pubDate>
    <dc:creator>rushikale0106</dc:creator>
    <dc:date>2020-09-10T14:42:35Z</dc:date>
    <item>
      <title>MTD Analysis KPI</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742490#M721211</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have One requirement,Please find the attached qvw&lt;/P&gt;&lt;P&gt;Requirement is&lt;/P&gt;&lt;P&gt;The data is up to August 2020.&amp;nbsp; So if the user opens the dashboard&amp;nbsp;&amp;nbsp; by default in the KPI-Vol () the calculation will be&amp;nbsp; Last month-last lastmonth/lastlastmonth&lt;/P&gt;&lt;P&gt;&lt;U&gt;example:&lt;/U&gt;if the data is august , while opening the dashboard ,it has to show (july data- june data)/ June data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;and now comes tricky part. if the user selects&amp;nbsp; may 2020 month, the KPI-Vol ()&amp;nbsp; has to show as&lt;/P&gt;&lt;P&gt;(May data-April data)/(April data)..&lt;/P&gt;&lt;P&gt;Can anyone please help as it is very urgent . Please find the attached doc&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:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742490#M721211</guid>
      <dc:creator>qlikapple</dc:creator>
      <dc:date>2024-11-16T18:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Analysis KPI</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742884#M721212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2540"&gt;@qlikapple&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried to solve your query in my system. I dint reach to the complete solution. But I created the expressions which will give you the current month when the dashboard is opened and after the selection, it will give you the last month and Last Last Month.&amp;nbsp;I stored these expressions under variables .&lt;/P&gt;&lt;P&gt;Try to work around these expressions. I am trying it too.&lt;/P&gt;&lt;P&gt;vMonth::&amp;nbsp;=if(isnull(GetFieldSelections(Calender_Month_Name)), Month(Now()), GetFieldSelections(Calender_Month_Name))&lt;/P&gt;&lt;P&gt;vLast_Month::&amp;nbsp;=month(AddMonths(makedate(2020,(Num(Month(Date#(vMonth, 'MMMM'))))), -1))&lt;/P&gt;&lt;P&gt;vLast_Last_Month::&amp;nbsp;&amp;nbsp;=month(AddMonths(makedate(2020,(Num(Month(Date#(vMonth, 'MMMM'))))), -2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first variable expression will give you the current month or the month selected from the filter.&lt;/P&gt;&lt;P&gt;Try it out. I will post again if I reach the final solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rushi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742884#M721212</guid>
      <dc:creator>rushikale0106</dc:creator>
      <dc:date>2020-09-10T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Analysis KPI</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742909#M721213</link>
      <description>&lt;P&gt;What happen when the user clears the selection? Does it go back to &lt;SPAN&gt;(july data- june data)/ June or does it stay on&amp;nbsp;(May data-April data)/(April data)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 15:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742909#M721213</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-10T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Analysis KPI</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742944#M721214</link>
      <description>&lt;P&gt;One way to accomplish this is build a bridge between a calendar table and your fact.&amp;nbsp; allow the user to select from calendar table.&amp;nbsp; the bridge will associate the date in the calendar table to three months of data in the Fact table: the current month, prior month, and two months back.&amp;nbsp; you can then control your expression by adding criteria in set analysis CurrentMonth={1}, or PriorMonth={1}, or TwoMonthsBack={1}.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;you can further refine this is all you need is link to the whole month (in fact table add a monthstart and link that to the bridge).&amp;nbsp; good luck.&lt;/P&gt;&lt;P&gt;Calendar:&lt;BR /&gt;LOAD distinct&lt;BR /&gt;DECISION_DATE as Calendar_Date,&lt;BR /&gt;DEC_DATE,&lt;BR /&gt;DECI_DATE,&lt;BR /&gt;Date,&lt;BR /&gt;Year,&lt;BR /&gt;Month,&lt;BR /&gt;MonthYear,&lt;BR /&gt;MonthYears,&lt;BR /&gt;MonthYear123,&lt;BR /&gt;weeks,&lt;BR /&gt;Weekdays&lt;BR /&gt;Resident&lt;BR /&gt;TABLE_mod&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;drop fields DEC_DATE, DECI_DATE, Date, Year, Month, MonthYear, MonthYears, MonthYear123, weeks, Weekdays from TABLE_mod;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;tmpBridge:&lt;BR /&gt;load&lt;BR /&gt;distinct Calendar_Date&lt;BR /&gt;Resident&lt;BR /&gt;Calendar&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;left join (tmpBridge)&lt;BR /&gt;load&lt;BR /&gt;Calendar_Date as DECISION_DATE&lt;BR /&gt;Resident&lt;BR /&gt;Calendar&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Bridge:&lt;BR /&gt;load&lt;BR /&gt;DECISION_DATE,&lt;BR /&gt;Calendar_Date,&lt;BR /&gt;if(monthstart(DECISION_DATE) = monthstart(Calendar_Date),1) as CurrentMonth,&lt;BR /&gt;if(monthstart(DECISION_DATE) = addmonths(monthstart(Calendar_Date),-1),1) as PriorMonth,&lt;BR /&gt;if(monthstart(DECISION_DATE) = addmonths(monthstart(Calendar_Date),-2),1) as TwoMonthsBack&lt;BR /&gt;resident&lt;BR /&gt;tmpBridge&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;drop table tmpBridge;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;NewBridge:&lt;BR /&gt;load&lt;BR /&gt;*&lt;BR /&gt;Resident&lt;BR /&gt;Bridge&lt;BR /&gt;where CurrentMonth = 1 or PriorMonth=1 or TwoMonthsBack=1;&lt;/P&gt;&lt;P&gt;drop table Bridge;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 19:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1742944#M721214</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-09-10T19:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Analysis KPI</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1746354#M721215</link>
      <description>&lt;P&gt;See related post:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/MTD-Cal/m-p/1742496#M392761" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/MTD-Cal/m-p/1742496#M392761&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 11:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Analysis-KPI/m-p/1746354#M721215</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-09-23T11:09:31Z</dc:date>
    </item>
  </channel>
</rss>

