<?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 Calculation integer divided by time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191279#M882263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another small problem with a calculation. (I'm working with Qlikview version 12)&lt;/P&gt;&lt;P&gt;From the source I receive a value in seconds for the field PA_SecondsWorked (I format this to hours in the script and treat it as an interval type)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second field PL_Nr_Of_Cases contains integer values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the productivity but it's giving 0 back as result:&lt;/P&gt;&lt;P&gt;[PL_Nr_Of_Cases] / [PA_SecondsWorked] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somewhere I'm doing something wrong but I don't see it, can any of you help please?&lt;/P&gt;&lt;P&gt;I'm attaching the qvw to see what I've been doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>amber2000</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calculation integer divided by time</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191279#M882263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another small problem with a calculation. (I'm working with Qlikview version 12)&lt;/P&gt;&lt;P&gt;From the source I receive a value in seconds for the field PA_SecondsWorked (I format this to hours in the script and treat it as an interval type)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second field PL_Nr_Of_Cases contains integer values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the productivity but it's giving 0 back as result:&lt;/P&gt;&lt;P&gt;[PL_Nr_Of_Cases] / [PA_SecondsWorked] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somewhere I'm doing something wrong but I don't see it, can any of you help please?&lt;/P&gt;&lt;P&gt;I'm attaching the qvw to see what I've been doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&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/Calculation-integer-divided-by-time/m-p/1191279#M882263</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation integer divided by time</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191280#M882264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need an aggregation function like Sum() because there are two possible values for the one warehouse code so e.g.&lt;/P&gt;&lt;P&gt;Sum([PL_Nr_Of_Cases]) / Sum([PA_SecondsWorked])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 14:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191280#M882264</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2016-09-28T14:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation integer divided by time</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191281#M882265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet Hein,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does the trick, thanks a lot for the great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 15:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-integer-divided-by-time/m-p/1191281#M882265</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-09-28T15:50:08Z</dc:date>
    </item>
  </channel>
</rss>

