<?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 Dynamic Month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Month/m-p/1945989#M77954</link>
    <description>&lt;P&gt;In my application there is a field name called MAX_MONTH_YEAR.It is in format MAY-2022.The data is given up to May month.&lt;/P&gt;
&lt;P&gt;When user opens application it must automatically show the previous month&lt;/P&gt;
&lt;P&gt;In backend I wrote script for that field as&amp;nbsp; &lt;STRONG&gt;Date(Floor([MOVE_DATE]), 'MMM-YYYY') as MAX_MONTH_YEAR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I tried using expression&amp;nbsp;&amp;nbsp;in KPI as&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Max(Month(MONTH_YEAR))-1&lt;/STRONG&gt;.&amp;nbsp; But it's not working&lt;/P&gt;
&lt;P&gt;Please help me out&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 04:47:02 GMT</pubDate>
    <dc:creator>Bharathi09</dc:creator>
    <dc:date>2022-06-21T04:47:02Z</dc:date>
    <item>
      <title>Dynamic Month</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Month/m-p/1945989#M77954</link>
      <description>&lt;P&gt;In my application there is a field name called MAX_MONTH_YEAR.It is in format MAY-2022.The data is given up to May month.&lt;/P&gt;
&lt;P&gt;When user opens application it must automatically show the previous month&lt;/P&gt;
&lt;P&gt;In backend I wrote script for that field as&amp;nbsp; &lt;STRONG&gt;Date(Floor([MOVE_DATE]), 'MMM-YYYY') as MAX_MONTH_YEAR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I tried using expression&amp;nbsp;&amp;nbsp;in KPI as&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Max(Month(MONTH_YEAR))-1&lt;/STRONG&gt;.&amp;nbsp; But it's not working&lt;/P&gt;
&lt;P&gt;Please help me out&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 04:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Month/m-p/1945989#M77954</guid>
      <dc:creator>Bharathi09</dc:creator>
      <dc:date>2022-06-21T04:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Month/m-p/1946045#M77957</link>
      <description>&lt;P&gt;If your &lt;STRONG&gt;[MOVE_DATE]&lt;/STRONG&gt; is in this format DD/MM/YYYY then use the below expression in back end for month year calculation&lt;/P&gt;
&lt;P&gt;Date(Date#(Date,'DD/MM/YYYY'),'MMM-YYYY') as MonthYear&lt;/P&gt;
&lt;P&gt;Then write this in KPI to get the previous month according to your requirement-&lt;/P&gt;
&lt;P&gt;Date(Addmonths(Date#(Max(MonthYear),'MMM-YYYY'),-1),'MMM')&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date(Addmonths(Date#(Max(MonthYear),'MMM-YYYY'),-1),'MMM-YYYY')&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 07:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Month/m-p/1946045#M77957</guid>
      <dc:creator>salonicdk28</dc:creator>
      <dc:date>2022-06-21T07:02:22Z</dc:date>
    </item>
  </channel>
</rss>

