<?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 aggregate data over year and week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregate-data-over-year-and-week/m-p/1789914#M1210500</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavofred_0-1615362253635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50816i76B2E55283E01F27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavofred_0-1615362253635.png" alt="gustavofred_0-1615362253635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to aggregate data for value a and b over the year-week (or week AND year) and divide.&lt;/P&gt;&lt;P&gt;somehow my approach is not working, what am i doing wrong? im getting "-" as result.&lt;/P&gt;&lt;P&gt;Aggr({1}sum([value a]),year, week )/Aggr({1}sum([value b]),year, week)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my dimensions are year, week, location, year-week currently. Im using a diagram object as a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 07:52:33 GMT</pubDate>
    <dc:creator>gustavofred</dc:creator>
    <dc:date>2021-03-10T07:52:33Z</dc:date>
    <item>
      <title>aggregate data over year and week</title>
      <link>https://community.qlik.com/t5/QlikView/aggregate-data-over-year-and-week/m-p/1789914#M1210500</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavofred_0-1615362253635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50816i76B2E55283E01F27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavofred_0-1615362253635.png" alt="gustavofred_0-1615362253635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to aggregate data for value a and b over the year-week (or week AND year) and divide.&lt;/P&gt;&lt;P&gt;somehow my approach is not working, what am i doing wrong? im getting "-" as result.&lt;/P&gt;&lt;P&gt;Aggr({1}sum([value a]),year, week )/Aggr({1}sum([value b]),year, week)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my dimensions are year, week, location, year-week currently. Im using a diagram object as a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 07:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregate-data-over-year-and-week/m-p/1789914#M1210500</guid>
      <dc:creator>gustavofred</dc:creator>
      <dc:date>2021-03-10T07:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate data over year and week</title>
      <link>https://community.qlik.com/t5/QlikView/aggregate-data-over-year-and-week/m-p/1790199#M1210539</link>
      <description>&lt;P&gt;try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=sum(value_a)/sum(total &amp;lt;year&amp;gt; value_a)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 10 Mar 2021 18:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregate-data-over-year-and-week/m-p/1790199#M1210539</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-10T18:01:55Z</dc:date>
    </item>
  </channel>
</rss>

