<?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: Multiple aggregations in straight charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1701719#M506203</link>
    <description>&lt;P&gt;I'm not sure what your limitations are, but this looks like it would be achieved using:&lt;/P&gt;&lt;P&gt;Aggr(Sum([Actual Hours])/Sum(Available Hours),Facility,Year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're trying to put this in the same columns of the original table, though, you'd have to somehow generate the extra rows first (let's call them RowType = Summary), and then presumably use something like:&lt;/P&gt;&lt;P&gt;If(RowType = 'Summary',Aggr(Sum([Actual Hours])/Sum(Available Hours),Facility,Year),Sum([Actual Hours])/Sum(Available Hours))&lt;/P&gt;&lt;P&gt;Not sure if there's any good way to achieve these extra rows at the chart level - if I had to do this, I'd put them in the script.&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 18:27:52 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2020-05-13T18:27:52Z</dc:date>
    <item>
      <title>Multiple aggregations in straight charts</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1701714#M506202</link>
      <description>&lt;P&gt;I'm wondering if it is possible to do multiple levels of aggregations in a straight chart.&amp;nbsp;&amp;nbsp; I can probably achieve this via script but am looking for confirmation if that is my only option.&amp;nbsp; See below.&amp;nbsp; The gray chart is the first level of aggregation, and the yellow chart is what I ultimately need to show.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2 layers of roll up.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33562i44C0C7C6C7794FFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2 layers of roll up.PNG" alt="2 layers of roll up.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1701714#M506202</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2024-11-16T00:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple aggregations in straight charts</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1701719#M506203</link>
      <description>&lt;P&gt;I'm not sure what your limitations are, but this looks like it would be achieved using:&lt;/P&gt;&lt;P&gt;Aggr(Sum([Actual Hours])/Sum(Available Hours),Facility,Year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're trying to put this in the same columns of the original table, though, you'd have to somehow generate the extra rows first (let's call them RowType = Summary), and then presumably use something like:&lt;/P&gt;&lt;P&gt;If(RowType = 'Summary',Aggr(Sum([Actual Hours])/Sum(Available Hours),Facility,Year),Sum([Actual Hours])/Sum(Available Hours))&lt;/P&gt;&lt;P&gt;Not sure if there's any good way to achieve these extra rows at the chart level - if I had to do this, I'd put them in the script.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 18:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1701719#M506203</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2020-05-13T18:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple aggregations in straight charts</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1703157#M506204</link>
      <description>&lt;P&gt;Thank you for your feedback, I appreciate it.&amp;nbsp; For now I did build what I needed in the script, but might try your suggestion out of curiosity.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 17:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-aggregations-in-straight-charts/m-p/1703157#M506204</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2020-05-18T17:03:27Z</dc:date>
    </item>
  </channel>
</rss>

