<?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: Filtering previous month from data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240319#M857803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to restrict the data in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 13:06:39 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-26T13:06:39Z</dc:date>
    <item>
      <title>Filtering previous month from data</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240318#M857802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Is there any way to get only previous month data from data I get from attached qvw? Now I get all data but I want to filtering only previous month data. I need to get those previous month values to Nprint report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240318#M857802</guid>
      <dc:creator>tka_ovako</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering previous month from data</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240319#M857803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to restrict the data in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240319#M857803</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T13:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering previous month from data</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240320#M857804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Should I change something in here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Folder for output QVDs use &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vL.QVDPath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'C:\Users\tka\Desktop\QVD_Generator';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Starttime parameter for data loads, current day -4 months&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;v.nrp_starttime&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), -4), 'MM.DD.YYYY hh:mm:ss');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Endtime parameter for data loads, timestamp of current moment&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;v.nrp_endtime&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;now&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), 'MM.DD.YYYY hh:mm:ss');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Interval parameter&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;v.nrp_interval&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 2001; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240320#M857804</guid>
      <dc:creator>tka_ovako</dc:creator>
      <dc:date>2017-01-26T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering previous month from data</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240321#M857805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, create a datamodel without sync keys.&lt;/P&gt;&lt;P&gt;should this be dynamic so it will always show previous month? if so create&amp;nbsp; variables which hold this info then use the variable in a where statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a Object from Your qvw to be present in Nprinting, then build separate Objects inside GUI With set analysis and previous month in your Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vPreviousMonthStart = &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-1)) &lt;/SPAN&gt;; will hold 2016-12-01 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Let vPreviousMonthEnd =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthend&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-1)) ; will hold 2016-12-31&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240321#M857805</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-01-26T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering previous month from data</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240322#M857806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be change this to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET v.nrp_starttime = TimeStamp(MonthStart(Today(), -1), 'MM.DD.YYYY hh:mm:ss');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET v.nrp_endtime = &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;TimeStamp&lt;/STRONG&gt;&lt;/SPAN&gt;(MonthStart(Today()), 'MM.DD.YYYY hh:mm:ss');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will pull you just the month of Dec 2016 when we are in Jan 2017. When Feb begins, the above should bring you Jan 2017. Is this what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-previous-month-from-data/m-p/1240322#M857806</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T13:22:48Z</dc:date>
    </item>
  </channel>
</rss>

