<?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: Help needed: calculate Output (real and planned) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373349#M419479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A canonical date may solve your requirement:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 20:42:12 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-08-23T20:42:12Z</dc:date>
    <item>
      <title>Help needed: calculate Output (real and planned)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373345#M419475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the planned and the real Output of Product in a certain Time Period. My Data Set is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;RealDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;PlannedDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ProductID&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;03.11.2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08.10.2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;125-635&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;02.01.2016&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;08.02.2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;126-236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;20.10.2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;128-236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05.06.2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;158-360&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I need to count both dates for the same time period which I want to determine by a Listbox. This Period could contain several months in several years...I solved it for the situation that I choose only one month in one year, but i want need to choose flexibel time periods for my reports...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the whole day to solve this, but didn´t find a solution. Please help me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373345#M419475</guid>
      <dc:creator />
      <dc:date>2017-08-23T16:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: calculate Output (real and planned)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373346#M419476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the result set you are expecting from providing data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373346#M419476</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-23T16:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: calculate Output (real and planned)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373347#M419477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer! I expect for any selection of a time period the Number of PlannedDates and the number of RealDates, which are included in the selected period.&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;=count( if(PlannedDate&amp;gt;weekstart(Min(Date)) AND DatumPlanEnde&amp;lt;weekend(Max(Date)), ProductID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 19:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373347#M419477</guid>
      <dc:creator />
      <dc:date>2017-08-23T19:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: calculate Output (real and planned)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373348#M419478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sry there was some of the German Code left:&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;OutputPlanned=count( if(PlannedDate&amp;gt;weekstart(Min(Date)) AND PlannedDate&amp;lt;weekend(Max(Date)), ProductID)&lt;/P&gt;&lt;P&gt;with Date beeing the selected Time Period&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 19:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373348#M419478</guid>
      <dc:creator />
      <dc:date>2017-08-23T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: calculate Output (real and planned)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373349#M419479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A canonical date may solve your requirement:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 20:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-calculate-Output-real-and-planned/m-p/1373349#M419479</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-23T20:42:12Z</dc:date>
    </item>
  </channel>
</rss>

