<?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 how to create this average by year, but monthly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106193#M7210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to create a char like the image where I bring the year average but aggregated monthly&lt;/P&gt;&lt;P&gt;The below expression works but for a fixed year. If I put this expression in a bar chart it does not work cause brings to me the average for just the initial year, not showing year by year and I cannot find why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(aggr(sum({1&amp;lt;FAT_LNPROD={'DOB'},FAT_MONTH=&amp;gt;} FAT_QUANT), FAT_MONTH))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de Tela 2018-11-05 às 11.41.53.png" class="jive-image image-1" src="/legacyfs/online/217532_Captura de Tela 2018-11-05 às 11.41.53.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 13:43:48 GMT</pubDate>
    <dc:creator>rcandeo</dc:creator>
    <dc:date>2018-11-05T13:43:48Z</dc:date>
    <item>
      <title>how to create this average by year, but monthly</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106193#M7210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to create a char like the image where I bring the year average but aggregated monthly&lt;/P&gt;&lt;P&gt;The below expression works but for a fixed year. If I put this expression in a bar chart it does not work cause brings to me the average for just the initial year, not showing year by year and I cannot find why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(aggr(sum({1&amp;lt;FAT_LNPROD={'DOB'},FAT_MONTH=&amp;gt;} FAT_QUANT), FAT_MONTH))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de Tela 2018-11-05 às 11.41.53.png" class="jive-image image-1" src="/legacyfs/online/217532_Captura de Tela 2018-11-05 às 11.41.53.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106193#M7210</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2018-11-05T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to create this average by year, but monthly</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106194#M7211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;your expression seems ok &lt;/P&gt;&lt;P&gt;if don't make any selections in your app does it works ?&lt;/P&gt;&lt;P&gt;you can try to add the set expression both to the aggr function and the external avg function &lt;/P&gt;&lt;P&gt;like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;avg(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{1&amp;lt;FAT_LNPROD={'DOB'},FAT_MONTH=&amp;gt;} &lt;/SPAN&gt;aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{1&amp;lt;FAT_LNPROD={'DOB'},FAT_MONTH=&amp;gt;} &lt;/SPAN&gt;sum({1&amp;lt;FAT_LNPROD={'DOB'},FAT_MONTH=&amp;gt;} FAT_QUANT), FAT_MONTH))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106194#M7211</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2018-11-05T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to create this average by year, but monthly</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106195#M7212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; Aggr(Sum({1&amp;lt;FAT_LNPROD = {'DOB'}, FAT_MONTH&amp;gt;} FAT_QUANT), FAT_MONTH, &lt;SPAN style="color: #ff0000;"&gt;FAT_YEAR&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106195#M7212</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-05T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create this average by year, but monthly</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106196#M7213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect, thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 14:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106196#M7213</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2018-11-05T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to create this average by year, but monthly</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106197#M7214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunatelly it did no work, but thank you for your try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 14:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-create-this-average-by-year-but-monthly/m-p/106197#M7214</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2018-11-05T14:08:58Z</dc:date>
    </item>
  </channel>
</rss>

