<?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: Aggregate ceiled rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449238#M1157952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to put the ceil inside the sum:&lt;/P&gt;&lt;P&gt;sum(ceil(pcs/[pcs per pallet]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 14:58:52 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-02-21T14:58:52Z</dc:date>
    <item>
      <title>Aggregate ceiled rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449236#M1157950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with the following dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Article&lt;/P&gt;&lt;P&gt;* Receipt date&lt;/P&gt;&lt;P&gt;* # pcs&lt;/P&gt;&lt;P&gt;* # pcs per pallet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the following calculated expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* (ceil(sum(# pcs/ # pcs per pallet) to calculate the rounded # pallets to be received. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine, but in another table I want to calculate the same, but summed per date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Receipt date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the same following calculated expression, but then aggregated as in the first table. Otherwise the total # pallets is calculated over the (total #pcs/total #pcs per pallet) - here you will get a lower number of pallets. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use the agg and the ceil?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 12:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449236#M1157950</guid>
      <dc:creator />
      <dc:date>2013-02-19T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate ceiled rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449237#M1157951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449237#M1157951</guid>
      <dc:creator />
      <dc:date>2013-02-21T14:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate ceiled rows</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449238#M1157952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to put the ceil inside the sum:&lt;/P&gt;&lt;P&gt;sum(ceil(pcs/[pcs per pallet]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-ceiled-rows/m-p/449238#M1157952</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-21T14:58:52Z</dc:date>
    </item>
  </channel>
</rss>

