<?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 Slicer problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Slicer-problem/m-p/457130#M170662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am preparing a Accounts payable forecast report. It is using existing purchase order and purchase requsitions from SAP. I am also taking agreed payment terms from vendor master. Quite often payments are not paid exactly on the agreed time; they can be paid few days early or late. My report should show how much we have open payments in becomming months (if invoice date is within the month or earlier and payment date is not within the month, report should show this value for this month).This I try to simulate with slicer function in my Qlikview report. However, something is not working properly. I have following script in my pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang="FI"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;Month={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Month))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},#PVM=&amp;gt;}&amp;nbsp; If((#PVM+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Due date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+ vDueDateChange)&amp;gt;=MonthEndPVM And &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Period in Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=Month, PO_value)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;in where &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;"Month" is the forecast month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;#PVM is the invoice date&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;"Due date" is the agreed payment term&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;vDueDateChange is the variable in slicer, days paid early/late&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;MonthEndPVM is the last day of the month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;Period in Month is the month when payment is due&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;PO Value is the purchase order value&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It looks like that if I said with slicer that I pay few days earlier it seems to change values, but If I would say that I paid late it gives the original value. Would someone know what is the problem in my script??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Janne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2013 07:29:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-16T07:29:36Z</dc:date>
    <item>
      <title>Slicer problem</title>
      <link>https://community.qlik.com/t5/QlikView/Slicer-problem/m-p/457130#M170662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am preparing a Accounts payable forecast report. It is using existing purchase order and purchase requsitions from SAP. I am also taking agreed payment terms from vendor master. Quite often payments are not paid exactly on the agreed time; they can be paid few days early or late. My report should show how much we have open payments in becomming months (if invoice date is within the month or earlier and payment date is not within the month, report should show this value for this month).This I try to simulate with slicer function in my Qlikview report. However, something is not working properly. I have following script in my pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang="FI"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;Month={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Month))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},#PVM=&amp;gt;}&amp;nbsp; If((#PVM+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Due date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+ vDueDateChange)&amp;gt;=MonthEndPVM And &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Period in Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=Month, PO_value)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;in where &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;"Month" is the forecast month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;#PVM is the invoice date&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;"Due date" is the agreed payment term&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;vDueDateChange is the variable in slicer, days paid early/late&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;MonthEndPVM is the last day of the month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;Period in Month is the month when payment is due&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8pt;"&gt;PO Value is the purchase order value&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It looks like that if I said with slicer that I pay few days earlier it seems to change values, but If I would say that I paid late it gives the original value. Would someone know what is the problem in my script??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Janne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 07:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slicer-problem/m-p/457130#M170662</guid>
      <dc:creator />
      <dc:date>2013-04-16T07:29:36Z</dc:date>
    </item>
  </channel>
</rss>

