<?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: How to get VALUE from last MONTH in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-VALUE-from-last-MONTH/m-p/1560530#M441264</link>
    <description>&lt;PRE&gt;if(Uraian = 'FFB Nucleus',sum({&amp;lt; YEAR={$(=max(YEAR))}, LEVEL4 = {"Inti"}, LEVEL3 = {"FFB Purchase"}, WRTTP = {"4"}, MONTH={"=$(=max({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;} MONTH)-1)"}&amp;gt;}QTY1)&lt;/PRE&gt;&lt;P&gt;You may want to check the max(year) part . for situation like this i try to number the month in ascending order . for example lest's say i hav date from dec 2017 till today , so i will assign 1 to dec 207,&amp;nbsp; to jan 2018 and so on . It will help when calculating previous month as well.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2019 06:50:27 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2019-03-25T06:50:27Z</dc:date>
    <item>
      <title>How to get VALUE from last MONTH</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-VALUE-from-last-MONTH/m-p/1560492#M441263</link>
      <description>&lt;P&gt;&lt;STRONG&gt;how to get VALUE from last MONTH ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is my script for current MONTH :&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;if(Uraian = 'FFB Nucleus',sum({&amp;lt; YEAR={$(=max(YEAR))}, LEVEL4 = {"Inti"}, LEVEL3 = {"FFB Purchase"}, WRTTP = {"4"}, MONTH={"=$(=max({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;} MONTH))"}&amp;gt;}QTY1)&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-VALUE-from-last-MONTH/m-p/1560492#M441263</guid>
      <dc:creator>rizkyramansyah</dc:creator>
      <dc:date>2024-11-16T04:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get VALUE from last MONTH</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-VALUE-from-last-MONTH/m-p/1560530#M441264</link>
      <description>&lt;PRE&gt;if(Uraian = 'FFB Nucleus',sum({&amp;lt; YEAR={$(=max(YEAR))}, LEVEL4 = {"Inti"}, LEVEL3 = {"FFB Purchase"}, WRTTP = {"4"}, MONTH={"=$(=max({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;} MONTH)-1)"}&amp;gt;}QTY1)&lt;/PRE&gt;&lt;P&gt;You may want to check the max(year) part . for situation like this i try to number the month in ascending order . for example lest's say i hav date from dec 2017 till today , so i will assign 1 to dec 207,&amp;nbsp; to jan 2018 and so on . It will help when calculating previous month as well.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 06:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-VALUE-from-last-MONTH/m-p/1560530#M441264</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-03-25T06:50:27Z</dc:date>
    </item>
  </channel>
</rss>

