<?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 automatically filter previous month and year in edit expression in qlik sense? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659278#M448603</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70781"&gt;@DavidM&lt;/a&gt;&amp;nbsp;I would rather recommend this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {"$(=AddMonths(&lt;STRONG&gt;Max(MONTHEND)&lt;/STRONG&gt;,-1))"}&amp;gt;} BALANCES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or, even simplest way&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {"$(=&lt;STRONG&gt;Max(MONTHEND-1)&lt;/STRONG&gt;))"}&amp;gt;} BALANCES)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2019 08:32:43 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-12-19T08:32:43Z</dc:date>
    <item>
      <title>how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659267#M448600</link>
      <description>&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;I need to filter previous month in edit expression (automatically change every month), so that data will be display for November 2019 only if I run the app this month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my sample measures in edit expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {'NOV-2019'}&amp;gt;} BALANCES)&lt;/P&gt;&lt;P&gt;Tank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659267#M448600</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2024-11-16T19:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659277#M448602</link>
      <description>&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {"$(=AddMonths(Today(),-1))"}&amp;gt;} BALANCES)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 08:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659277#M448602</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-12-19T08:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659278#M448603</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70781"&gt;@DavidM&lt;/a&gt;&amp;nbsp;I would rather recommend this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {"$(=AddMonths(&lt;STRONG&gt;Max(MONTHEND)&lt;/STRONG&gt;,-1))"}&amp;gt;} BALANCES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or, even simplest way&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, MONTHEND = {"$(=&lt;STRONG&gt;Max(MONTHEND-1)&lt;/STRONG&gt;))"}&amp;gt;} BALANCES)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 08:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659278#M448603</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T08:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659297#M448608</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;yes, I was thinking the same, however we don't know if there are no future dates in data model and in that case it wouldn't work&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 09:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659297#M448608</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-12-19T09:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659302#M448609</link>
      <description>&lt;P&gt;I would suggest a rather different approach.&lt;/P&gt;&lt;P&gt;I would create a flag in Master calendar for Previous month and that easily apply to formulas like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;STATUS = {'A'},NPA_STATUS = {'REGULAR'}, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;f_PM= {1}&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt;} BALANCES)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 10:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1659302#M448609</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-12-19T10:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660759#M448747</link>
      <description>&lt;P&gt;Kristel, just wanted to check to be sure you circled back to your post, as you have received multiple replies but nothing has been marked using the Accept as Solution button, please be sure to do that if any of the posts gave you the information you needed to get your use case working.&amp;nbsp; This gives credit to the poster and lets other Community Members know what solution worked for you, so again, be sure to return to the thread and use the Accept as Solution button on the post(s) that helped you solve your use case problem.&amp;nbsp; If you are still working upon things, please leave an update post letting folks know what you still need.&lt;/P&gt;
&lt;P&gt;Here is a link to the Design Blog area as well, that may prove useful going forward, there are hundreds of how-to posts in this area, quite a few regarding set analysis related topics:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 13:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660759#M448747</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-26T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660909#M448761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Apology for late response as I was on leave due to holidays season.&lt;/P&gt;&lt;P&gt;I will mark solve once mentioned formula works.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 02:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660909#M448761</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2019-12-27T02:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660910#M448762</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggested does not work.&lt;/P&gt;&lt;P&gt;I user below query to get MONTHEND column.&lt;/P&gt;&lt;P&gt;UPPER(DATE(Addmonths(Today(),-1),'MMM-YYYY') AS MONTHEND&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we get the Max value for above mentioned query?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 02:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660910#M448762</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2019-12-27T02:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660963#M448768</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70781"&gt;@DavidM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggested does not work.&lt;/P&gt;&lt;P&gt;I used below query to get MONTHEND column.&lt;/P&gt;&lt;P&gt;UPPER(DATE(Addmonths(Today(),-1),'MMM-YYYY') AS MONTHEND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we get the Maximun value for above mentioned query?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 10:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1660963#M448768</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2019-12-27T10:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1661911#M448878</link>
      <description>&lt;P&gt;Happy New Year!&lt;/P&gt;&lt;P&gt;Anyone can help my concern,&lt;/P&gt;&lt;P&gt;I have MONTHEND column contains below details&lt;/P&gt;&lt;P&gt;SEP-2019, OCT-2019, NOV-2019, DEC-2019&lt;/P&gt;&lt;P&gt;How can I get/filter date on a condition in edit expression(measures)&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT&lt;/TD&gt;&lt;TD&gt;STATUS&lt;/TD&gt;&lt;TD&gt;STAGE&lt;/TD&gt;&lt;TD&gt;MONTHEND&lt;/TD&gt;&lt;TD&gt;OUTSTANDING_BALANCE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;REGULAR&lt;/TD&gt;&lt;TD&gt;NOV-2019&lt;/TD&gt;&lt;TD&gt;32,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT2&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;REPO&lt;/TD&gt;&lt;TD&gt;DEC-2019&lt;/TD&gt;&lt;TD&gt;10,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT3&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;REGULAR&lt;/TD&gt;&lt;TD&gt;NOV-2019&lt;/TD&gt;&lt;TD&gt;20,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ACCOUNT4&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;REGULAR&lt;/TD&gt;&lt;TD&gt;NOV-2019&lt;/TD&gt;&lt;TD&gt;5,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:sample query:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[STATUS] = 'A', [STAGE] = &amp;nbsp; 'REGULAR', [MONTHEND] = 'NOV-2019'&amp;gt;}OUTSTANDING_BALANCE)&lt;/P&gt;&lt;P&gt;Above query will only get the sum of Outstanding_Balance with all A status, Regular Stage and NOV-2019 monthend only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output will be : 52,000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 05:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1661911#M448878</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2020-01-02T05:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1662052#M448888</link>
      <description>&lt;P&gt;The issue you are having here is that your MONTHEND field is not a date field, it's just string&lt;/P&gt;&lt;P&gt;The first thing to do is to convert it to a date; see below, I've created a new new field MONTHEND2 which properly represents the month end:&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;load *,&lt;BR /&gt;monthend(date#(SubField(MONTHEND, '-', 1)&amp;amp;SubField(MONTHEND, '-', 2), 'MMMYY')) as MONTHEND2;&lt;BR /&gt;load * Inline [&lt;BR /&gt;ACCOUNT, STATUS, STAGE, MONTHEND, OUTSTANDING_BALANCE&lt;BR /&gt;ACCOUNT1, A, REGULAR, Nov-19, 32000&lt;BR /&gt;ACCOUNT2, A, REPO, Dec-19, 10000&lt;BR /&gt;ACCOUNT3, A, REGULAR, Nov-19, 20000&lt;BR /&gt;ACCOUNT4, C, REGULAR, Nov-19, 5000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have that, your expression will work as expected (please note I'm looking at two months earlier in the below expression as now we are in Jan and your data is from December):&lt;/P&gt;&lt;P&gt;=SUM( {&amp;lt;STATUS = {"A"}, STAGE = {"REGULAR"}, MONTHEND2 = {"$(=MonthEnd(AddMonths(Today(),-2)))"}&amp;gt;} OUTSTANDING_BALANCE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also attached application&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 11:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1662052#M448888</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-01-02T11:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1663855#M449015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18132"&gt;@lorenzoconforti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Unable to import given app due to encountered error, please see attached screenshots.&lt;/P&gt;&lt;P&gt;Please be informed that I am using Qlik Sense Version 12.44.1&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 02:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1663855#M449015</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2020-01-09T02:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1663975#M449023</link>
      <description>&lt;P&gt;Please see Qlik Sense application attached. Just place it in your "Documents\Qlik\Sense\Apps" folder and it will then show up in your Qlik Sense Desktop hub&lt;/P&gt;&lt;P&gt;Lorenzo&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 09:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1663975#M449023</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-01-09T09:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to automatically filter previous month and year in edit expression in qlik sense?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1664317#M449046</link>
      <description>&lt;P&gt;How? Can you share sample screenshot, as per placing to you given path location, app is not available, please be informed that I am using Qlik Sense thru network (version 12.44.1) and not Qlik Sense Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 06:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-automatically-filter-previous-month-and-year-in-edit/m-p/1664317#M449046</guid>
      <dc:creator>kristeljoymalapitan</dc:creator>
      <dc:date>2020-01-10T06:36:50Z</dc:date>
    </item>
  </channel>
</rss>

