<?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: Using AGGR() in Line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773519#M506317</link>
    <description>&lt;P&gt;That didn't work. I want the chart to display the average of Sales for all departments from Jan-Dec with Month as Dimension. In a table, it works well but not in line chart.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 20:29:29 GMT</pubDate>
    <dc:creator>analyticsuser</dc:creator>
    <dc:date>2021-01-11T20:29:29Z</dc:date>
    <item>
      <title>Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773506#M506315</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm trying to display 12 months of data in a line chart by using AGGR() in set expression. however, it works well in a table but in line chart it doesn't display as needed.&lt;/P&gt;&lt;P&gt;For instance, my expr - avg(aggr(sum({&amp;lt;year={'Curr Year'}&amp;gt;} Sales),DeptName) gives the right value in a straight table with Month as Dimension&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get it to work in a line chart for all 12 months?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773506#M506315</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-01-11T20:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773509#M506316</link>
      <description>&lt;P&gt;Perhaps this, If you have Date Field, Get Month field and use like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;avg(aggr(sum({&amp;lt;Month={"&amp;gt;$(=AddYears(Max(Month), -1))&amp;lt;=$(=Max(Month))"}&amp;gt;} Sales),DeptName))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773509#M506316</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-11T20:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773519#M506317</link>
      <description>&lt;P&gt;That didn't work. I want the chart to display the average of Sales for all departments from Jan-Dec with Month as Dimension. In a table, it works well but not in line chart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773519#M506317</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-01-11T20:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773521#M506318</link>
      <description>&lt;P&gt;It should work for line chart as well until unless you have some other conditions enabled.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773521#M506318</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-11T20:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773560#M506319</link>
      <description>&lt;P&gt;I just have Month as Dimension and using the above expression to display in the graph for each month. When there's no month selection, I would like the graph to show sales by department by each month.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 02:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773560#M506319</guid>
      <dc:creator>analyticsuser</dc:creator>
      <dc:date>2021-01-12T02:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using AGGR() in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773822#M506320</link>
      <description>&lt;P&gt;If you required by department add dimension as department and then expression should be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;avg(&lt;FONT color="#FF0000"&gt;TOTAL &amp;lt;Month&amp;gt;&lt;/FONT&gt; aggr(sum({&amp;lt;Month={"&amp;gt;$(=AddYears(Max(Month), -1))&amp;lt;=$(=Max(Month))"}&amp;gt;} Sales),DeptName))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 18:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AGGR-in-Line-chart/m-p/1773822#M506320</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-12T18:25:21Z</dc:date>
    </item>
  </channel>
</rss>

