<?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 Aggr monthly data by year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606775#M44975</link>
    <description>&lt;P&gt;I have monthly data on our product&lt;/P&gt;&lt;P&gt;I would like to find the average per year for each product. But only if i have a full years data.&lt;/P&gt;&lt;P&gt;I need this as both a KPI and in a Scatter.&lt;/P&gt;&lt;P&gt;Here is what i have so far.&amp;nbsp; I am not getting the expected results.&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;productID={=Age &amp;gt;1}&amp;gt;}aggr(sum(Value),reportingYear,ProductID))&lt;/P&gt;&lt;P&gt;Im happy to do this in the load script as a new yearly values table, although it would be great to be able to drill down.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:08:52 GMT</pubDate>
    <dc:creator>Tee_dubs</dc:creator>
    <dc:date>2024-11-16T05:08:52Z</dc:date>
    <item>
      <title>Aggr monthly data by year</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606775#M44975</link>
      <description>&lt;P&gt;I have monthly data on our product&lt;/P&gt;&lt;P&gt;I would like to find the average per year for each product. But only if i have a full years data.&lt;/P&gt;&lt;P&gt;I need this as both a KPI and in a Scatter.&lt;/P&gt;&lt;P&gt;Here is what i have so far.&amp;nbsp; I am not getting the expected results.&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;productID={=Age &amp;gt;1}&amp;gt;}aggr(sum(Value),reportingYear,ProductID))&lt;/P&gt;&lt;P&gt;Im happy to do this in the load script as a new yearly values table, although it would be great to be able to drill down.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606775#M44975</guid>
      <dc:creator>Tee_dubs</dc:creator>
      <dc:date>2024-11-16T05:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr monthly data by year</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606821#M44983</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(TOTAL &amp;lt;reportingYear&amp;gt; Aggr(Sum(Value), ProductID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Since, there is a restriction factor. We need to think like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;productID={"=Age&amp;gt;1"}&amp;gt;} TOTAL &amp;lt;reportingYear&amp;gt; Aggr(Sum(Value), ProductID))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 06:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606821#M44983</guid>
      <dc:creator>saminea_ANZ</dc:creator>
      <dc:date>2019-07-29T06:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr monthly data by year</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606892#M44990</link>
      <description>&lt;P&gt;That's not valid syntax&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 09:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606892#M44990</guid>
      <dc:creator>Tee_dubs</dc:creator>
      <dc:date>2019-07-29T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr monthly data by year</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606899#M44991</link>
      <description>&lt;P&gt;Sorry. It is actually valid. Ive not used the &amp;lt;&amp;gt; I'd anything other than set Analysis. What exactly are these brackets used for.&lt;/P&gt;&lt;P&gt;Ps. I am still not getting the expected value in the KPI box and it does not work at all in the Skatter with ProductID as the dimension&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 09:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606899#M44991</guid>
      <dc:creator>Tee_dubs</dc:creator>
      <dc:date>2019-07-29T09:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr monthly data by year</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606902#M44992</link>
      <description>&lt;P&gt;When you say data is not valid. We can't promise since I don't have your data handy. Now, Time to share sample and expected result we will get it for you?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TOTAL &amp;lt;Fieldname&amp;gt;&lt;/STRONG&gt; will do based on Aggregate field per Year since your sentence like that&amp;nbsp;&lt;STRONG&gt;"I would like to find the average per year for each product. But only if i have a full years data."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you try this?&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-21 lia-quilt-column-right lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;productID={"=Age&amp;gt;1"}&amp;gt;} TOTAL &amp;lt;reportingYear&amp;gt; Aggr(Sum({&amp;lt;productID={"=Age&amp;gt;1"}&amp;gt;} Value), ProductID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-footer"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-21 lia-quilt-column-right lia-quilt-column-Footer-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jul 2019 09:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-monthly-data-by-year/m-p/1606902#M44992</guid>
      <dc:creator>saminea_ANZ</dc:creator>
      <dc:date>2019-07-29T09:41:35Z</dc:date>
    </item>
  </channel>
</rss>

